Forum archive
PHPBB3 Appliance redirects to HTTPS on requests without the trailing slash (SOLVED)
Hi, I'm new to the forums so please forgive me if I've posted this in the wrong area. We have recently brought up a PHPBB3 appliance in our enterprise. We have hit a bit of a snag and are hoping to resolve an issue. If an http request is made without a trailing slash, the server issues a 301 and sends relocate headers appending the trailing slash. This is expected behavior and works great as long as you use the actual host name or IP address of the server. The problem lies in that we have an alias host name pointing to the host. Referencing the same resource without the trailing slash, causes the server to relocate on HTTPS.
Everything else works fine, so long as you use fully qualified URLs'. Is anyone familiar with the Turnkey Linux appliances, especially the PHPBB3 appliance and default Apache configs that might shed some light on why we are seeing this issue? Ideas on how to resolve? I can provide more detail if there is interest in helping me resolve this and thanks in advance for your time. By the way, the PHPBB3 appliance is fantastic and much appreciated.
What do you mean by "we have an alias host name pointing to the host"? Can you elaborate on that as it is most probably the cause of the problem, and what you are trying to accomplish.
The more details and code snippets you can provide will help find the cause and possibly provide a workaround (or a better solution)