I'm trying to use my .htaccess file to do two things.
I want to add style to my default apache-generated directories. I was able to accomplish this on a different server, adding a header.htm and footer.htm. But when i transfered my .htaccess over to a new Apache 2.2 server, it does not work.
The code for the server that it worked on is:
# -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName www.foothillsbaptist.org AuthUserFile /home/footh4/public_html/_vti_pvt/service.pwd AuthGroupFile /home/footh4/public_html/_vti_pvt/service.grp Options +Indexes IndexOptions FancyIndexing SuppressDescription SuppressHTMLPreamble HeaderName header.htm ReadmeName footer.htm IndexIgnore header.htm footer.htm .htaccess direclogo.gif suPHP_ConfigPath /home/footh4/public_html
And the code for the new .htaccess is:
Options +Indexes IndexOptions FancyIndexing SuppressDescription SuppressHTMLPreamble HeaderName header.htm ReadmeName footer.htm IndexIgnore header.htm footer.htm .htaccess direclogo.gif
I noticed one difference between the two servers.. as the first (the one that worked) had this as default before i modified it:
The new default is:
Does anyone have any ideas for this one?
The second question,
I imagine this one is much simpler... but i want to change the settings so that the directory searches for index.htm and index.php as well as index.html when you enter an address like: http://localhost/forums/
Any help is appreciated. Thanks.