MrCat Posted December 11, 2011 Share Posted December 11, 2011 I have multiple domain names pointing to the same site. This works fine in the root folder: mysite.com and myothersite.com begin at mysite.com/index.php and I can change display settings depending on HTTP_HOST (which is either set to mysite.com or myothersite.com). It doesn't work when I go one folder deeper: mysite.com/start and myothersite.com/start are always seen as mysite.com/start/index.php - destroying the HTTP_HOST variable. What can I do? I'm on a shared host so can't do much in the way of config. Any help appreciated Quote Link to comment https://forums.phpfreaks.com/topic/252958-auto-redirect-to-index-file-destroys-http_host/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.