Quantcast
Channel: Changelog
Viewing all articles
Browse latest Browse all 19

Apache Redirect Loop

$
0
0

I was trying to use mod_alias to redirect the root of my website to a subfolder. However, the Redirect directive was just giving an redirect loop.

Finally found the solution at this stackoverflow thread.

Instead of using Redirect, it is necessary to use RedirectMatch with a regular expression for the /

RedirectMatch 301 ^/$ http://example.com/stuff



Viewing all articles
Browse latest Browse all 19

Trending Articles