This video shows you how to make Apache look for an index.php file instead of an index.html file. A lot of sites do use an HTML file for their index, but in my case I’m using Drupal which uses PHP. Every time I would go to the address without index.php on the end, it would show a directory listing. And the way Drupal works, when you try to do something, it just adds the string to the end of the UR…
Related Product:
Hands-On Guide to Flash Video: Web Video and Flash Media ServerThe Hands-On Guide to Flash Video is a professional reference book written by industry experts that are currently helping professionals produce Web vi... Read More >




8 Comments | Add your own
Wrong. It’d be a lot more convenient to use both, in case you have other directories that use HTML as their index page language. I’d also recommend supporting index.htm, and index.shtml.
All the best,
Sam
@gnutelliums
just saying idiot its completely relative to this video to inform people who are using apache that comes with xampp
Nice Video
i use XAMPP and it already has all the index.**** on that line
Yup..
@ubercharger9000 Well, good for you!
Thanks, it was helpfull.
Btw, reading other articles I’ve just found out that you can also just add index.php before the index.html instead of deleting it.
Uhm. False.
I’d recommend using index.php, and index.html — just in case you have a directory that uses HTML files instead of PHP files for their index. Also, I’d recommend adding index.htm and index.shtml also.
All the best,
Sam
Post a Comment