Apache displays directories but not files
Hi. Hoping someone can help.
I am running red hat 4 and apache 2. I have set up apache webserver to serve my redhat distribution. My problem is when i browse to the document root "var/www/html" I can see the Rhinstalltree folder and any folders below it. But I do not see any files. I am using a pretty much default install with auto_indexing module loaded but i think something might be wrong in my httpd.conf file in the options directive: DocumentRoot "/var/www/html/" <Directory /> Options Indexes FollowSymLinks AllowOverride None </Directory> <Directory "/var/www/html/"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> Any help will be greatly appreciated,,, Gungarlin... |
I suspect that it does not like the / at the end of your document path.
If that does not help, let me see more of the httpd.conf file and we can see if there is some other problem. |
Quote:
If you just mistyped something, and you are indeed trying to hit that server by a valid IP or domain name, make sure you have your default file listed in your DirectoryIndex option in your httpd.conf. It should read something like: Code:
DirectoryIndex index.php index.cgi index.shtml index.html index.htm index.html.var There's nothing wrong with a trailing slash |
Thanks to those who took time to respond to my question.
I was able to resolve the problem by creating a new folder and copying the contents of Rhinstalltree to the new folder. Then deleting the 'Rhinstalltree' folder and renaming the new folder to Rhinstalltree. Everything works fine now. Thanks once again..... |
All times are GMT -5. The time now is 07:16 AM. |