Varius Posted September 25, 2008 Share Posted September 25, 2008 Hi, I am trying to achieve the following, but after googling am not sure it's possible. Perhaps with mod rewrite? Currently, if I load a URL say http://www.mydomain.com in my browser, what I see in the location bar is http://www.mydomain.com/ and it displays the contents of index.html which is fine. What I am wondering is if I type in http://www.mydomain.com can I somehow see http://www.mydomain.com/index.html ? Basically, I want to redirect / to /index.html, but trying with redirect results in an endless loop. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/125742-can-this-be-done-in-apache/ Share on other sites More sharing options...
Zane Posted September 25, 2008 Share Posted September 25, 2008 you could put a redirection in your index.html file to redirect to itself Quote Link to comment https://forums.phpfreaks.com/topic/125742-can-this-be-done-in-apache/#findComment-650254 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.