Browse to the index.php file in the htdocs folder and rename it redirect.php, then place your own index.php or index.htm page into that folder and viola you now dont see the xampp index page. (This way, if you want to get to the xampp folder, type in localhost/redirect.php and it will load the xampp page)
Delete the files in the htdocs/xampp directory and start placing your own files into there. (you will no longer have access to the xampp page files or security files) but the rest of the server will function fine
Change the httpd.conf (located in the apache\conf folder) file to set the root folder for the server, change the line
DocumentRoot "D:/program files/xampp/htdocs/"
(obviously, the path/to/webfiles would need to reflect the location of the folder, something like C:\Documents and Settings\youraccount
is your username and sitefolder
is the folder you have the website files in)
Then in the httpd.conf file, change
- Code: Select all
<Directory "D:/program files/xampp/htdocs/">
to the same location of the new folder you set above.
restart the apache server.