apache doesnt show what it should
Hello. I have Apache/1.3.31 (Unix) running. I made a VirtualHost directive in httpd.conf i wrote inside it my document root directive and when i want to test everything is browseable in the directoryroot but i when i want to browse a directory in my directoryroot directory i cant, how is it fixed?
By the way here is log with ownerships and permissions, it is from my documentroot directory: drwxr-xr-x 4 root root 4096 2005-02-20 19:45 ./ drwxr-xr-x 9 root root 4096 2005-02-15 00:12 ../ -rw-r--r-- 1 root users 4194 2005-02-19 23:04 about.htm drwxr-xr-x 2 root root 4096 2005-02-08 14:34 eng/ -rw-r--r-- 1 root users 775490 2005-02-07 15:47 hos.jpg -rw-r--r-- 1 root users 1550 2005-02-19 22:47 index.html drwxr-xr-x 6 root users 4096 2005-02-20 21:43 pictures/ and i want to browse pictures and i get :"You are not authorized to view this page". |
You have to allow indexes (Options +Indexes) for that to work, otherwise you get the 403 Forbidden.
In other words, apache is doing exactly what it should, you haven't configured it correctly ;) |
All times are GMT -5. The time now is 11:49 PM. |