Click to See Complete Forum and Search --> : Xampp- changing default index


pmrphs2002
09-10-2008, 09:52 PM
Hey all-

Im knee deep in a massive linux project, and somewhere between when I Beta'd this and now (the release) I seem to have blanked on installing Xampp.

No, its a touch more complicated than that :-p

Install Xampp without a hitch. Start it. See that it works (sends that default Xampp page). Stop it. Wipe out htdocs folder, and copied the website I want it to host. It now has both an index.html, and an index.php.

But- when I restart Xampp - I get the xampp default page.

Am I missing something?

FWIW, its my first time playing in Puppy linux.

deathadder
09-11-2008, 06:05 AM
I'm going to guess that its the order that Apache has been told to look at files. If you have a look at XAMPP_BASE_DIR/etc/httpd.conf (/opt/lampp/etc/httpd.conf for example) and find the section below:

<IfModule dir_module>
#DirectoryIndex index.html
# XAMPP
DirectoryIndex index.html index.html.var index.php index.php3 index.php4
</IfModule>
You see that index.html is before index.php, try changing them around. Or just remove the index.html that's used by xampp. All that is does is a meta-refresh to /xampp/...