davidspeare Posted December 12, 2006 Share Posted December 12, 2006 Hello, I recently installed the XAMPP package on my computer and am confused on the set up of the config file. The installation went fine. All components are working. However, I now want to redirect the document root to a new folder and the httpd file in the apache-conf path does not control what page is loading. I can completely delete this file and it still loads as if I did nothing.Would someone be able to point me in the direction of where the index page should be? If I can at least find that I should be able to start figuring a little of this out.Thanks for the assistance.David Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted December 12, 2006 Share Posted December 12, 2006 What do you mean by index page? Do you want add a file to the DirectoryIndex ? example you have a file called homepage.html in the document root and when you go to http://mysite.com/ you want this file to load automatically?To do this you'll need to open up the http.conf file and find the following:[code]<IfModule dir_module> DirectoryIndex index.html index.php</IfModule>[/code]Yours may not look that, but similar, now add a space after the last entry and then homepage.htmlSave the httpd.conf and restart XAMPP. Now when you go to http://localhost/ it should load up homepage.html (if that file currently exists in the document root).Is that what you mean? If not could you explain what you mean? Quote Link to comment 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.