Nginx Frontend with Apache2 and Drupal6
francis at daoine.org
Sun Sep 9 09:18:08 UTC 2012
On Sun, Sep 09, 2012 at 02:34:43AM +0200, Larry P. wrote:
> However, when I go to mywebsite.com//, thats with 2 trailing slashes, I
> get redirected to mywebsite.com/drupal6/, strange but it works! I'm at a
> loss as to why. Can you think of how to remedy this?
"Two slashes" works because (probably) nginx merges them into one.
"One slash" probably doesn't seem to work because of browser caching,
What is the output of
curl -i http://mywebsite.com
(which I presume is the request you want to have work)?
If it is a http redirect to Location: http://mywebsite.com/drupal6/
then things are working. Clear your browser cache and try again.
Francis Daly francis at daoine.org
More information about the nginx