| GO BACK TO LAST PAGE | HOME PAGE |
| GO BACK TO LAST PAGE | HOME PAGE |
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... More
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 URL, like http://localhost/?q=node instead of http://localhost/index.php?q=node. Every time that happened I got a 404 not found error. In this video I will show you how to correct it and make Apache look for index.php instead of index.html. Less
Added Jan 1, 2009
Channel Howto
Duration 2:49 | Views
Local Comments 0
Youtube Comments 8
Tags apache web server drupal index php html 404 directory
Permalink:(copy the link below to share)

Post a comment
Local Comments (0)
Youtube Comments (8)
ubercharger9000 Says:
Apr 16, 2010 - @gnutelliums just saying idiot its completely relative to this video to inform people who are using apache that comes with xampp
gnutelliums Says:
Apr 16, 2010 - @ubercharger9000 Well, good for you!
ubercharger9000 Says:
Apr 10, 2010 - i use XAMPP and it already has all the index.**** on that line
SBZX8 Says:
Jun 26, 2009 - 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
SBZX8 Says:
Jun 26, 2009 - 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
McIntec Says:
Mar 10, 2009 - Nice Video :)
galigali82 Says:
Feb 22, 2009 - 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.
Ev4nsLife Says:
Jan 1, 2009 - Yup..