Portal Home > Knowledgebase > Articles Database > Customer has problem --- index file wont show
Customer has problem --- index file wont show
Posted by HW-David, 06-13-2007, 04:35 PM |
One of my customers has been having a problem with his index files not showing up. It'll display the parent directory, and you can clearly see the index.html file in there, but it won't show it as the index.
It happened in one directory, and I went into .htaccess and did DirectoryIndex index.php.... but now i'm wondering if its part of a bigger problem, because its happening to other folders now.
|
Posted by mwatkins, 06-13-2007, 04:47 PM |
Is Apache configured to recognize the .htaccess? Perhaps you've turned off AllowOverride, or modified the "AccessFilename" parameter, or disabled mod_access (doing this from memory, I don't run Apache these days).
|
Posted by SparkSupport, 06-13-2007, 06:00 PM |
Check your conf for the following entry and see its not commented
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php
|
Posted by HW-David, 06-14-2007, 02:56 PM |
IfModule mod_dir.c>
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
Thats in there. I might also want to point out, it works for other customers... just not him.
|
Posted by Kousei, 06-14-2007, 03:24 PM |
Delete his .htaccess file, in case anything happens to be conflicting in there. Also check his and flags for anything unusual, within httpd.conf!
|
Posted by Techbrace, 06-14-2007, 04:17 PM |
Could you paste the contents in their .htaccess file here so that we can be in a better situation to help you. You don't even need to do it if their .htaccess file contains the DirectoryIndex directive, just remove that line right away.
|
Posted by HW-David, 06-15-2007, 05:30 PM |
Found the problem, thanks for your help anyways guys.
The problem was in .htaccess, there was a line I didnt see before.
|
Add to Favourites Print this Article
Also Read
DNS newbie (Views: 703)