Results 1 to 3 of 3
I'm using Apache 2 on a SuSE 10 box. I want to change the Apache config so that it doesn't look for an index.html, instead, I want it to default ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-09-2005 #1Linux Enthusiast
- Join Date
- Dec 2004
- Posts
- 637
Change Apache from HTML to HTM
I'm using Apache 2 on a SuSE 10 box. I want to change the Apache config so that it doesn't look for an index.html, instead, I want it to default to an index.htm. Where do I make this change?
I have removed all of the default setup files - replacing them with my Web site. However, I must change the index file from .htm to .html. I break a lot of links in doing this.
Any help would be appreciated.
- 12-09-2005 #2Linux Enthusiast
- Join Date
- Dec 2004
- Posts
- 637
I've Tried!
Okay, I've tried editing /etc/apache2/httpd.conf by adding the index.htm beside index.html and index.html.var; however, when I change my index file to reflect index.htm I receive an access denied error. When I change my index file back to index.html it works. How can I make this change work?
- 12-09-2005 #3Just Joined!
- Join Date
- Oct 2005
- Location
- North Carolina, USA
- Posts
- 45
I use an older version of Apache on Slackware, but it sounds like you didn't restart the server after you added index.htm to the DirectoryIndex directive, or that you updated the directive incorrectly.


Reply With Quote
