Apache

From miki
Revision as of 16:30, 22 December 2010 by Mip (talk | contribs)
Jump to navigation Jump to search

Enabling .htaccess files

Check that you don't have an overall 'AllowOverride None in Apache's configuration file (/etc/apache2/httpd.conf)

Tags

DirectoryIndex

  • Use DirectoryIndex to change list of default name of index file while browsing directory
DirectoryIndex index.php index.html         # Will serve php version first
DirectoryIndex mycustomindex.html           # To point to specific file when browsing directory (no directory listing)