Extension talk:Enforce Correct Virtual Host

Just a note to anyone wishing to use this extension. It works great, but has one side effect! For some reason whenever this extension is enabled, I cannot run any maintenance scripts. So I still recommend you use it, just comment it out in LocalSettings.php before you try to run any scripts. :-) --64.22.206.248 19:28, 17 November 2006 (UTC)

Bug
In my server, SERVER_NAME returns only the domain. Then when I run it, makes a infinite loop redirecting www.domain.com to www.domain.com.ar because SERVER_NAME always returns. I replace it with HTTP_HOST and works fine.--Eloy 20:57, 5 June 2008 (UTC)