Does the userid under which you run apache (See the User directive) or the group (See the Group directive) have both "r" and "x" authority on /usr  and  /usr/share and /usr/share/doc and "r" authority on the files you want to see in the list.
These authorities typically come from the "Other" access, but can be via the userid or group that runs your apache.

On 13/10/06, Tremal Naik <[EMAIL PROTECTED]> wrote:
Hello everybody,
this is the first time I write to this ML.

I'm not able to list files in the directory /usr/share/doc/
I only get a page with the link "Parent Directory"

I have installed Apache 2 on a Debian System:

# apache2 -v
Server version: Apache/2.0.54
Server built:   Jul 28 2006 08:55:39

I didn't touch the default configuration stored in /etc/apache2/apache2.conf
I created the file:

/etc/apache2/conf.d/docs

whit the contents:

Alias /docs/ "/usr/share/doc/"
<Directory "/usr/share/doc">
        Order Allow,Deny
        Allow from all
</Directory>

at this point I had a forbidden error, trying to access the url

http://myserver/docs/

so I added to the above file the following directive:

<Location /docs>
       Order Allow,Deny
       Allow from all
</Location>

Now I can access the directory, but I only have the "Parent Directory" link.

I tried to add the options

Options Indexes MultiViews
AllowOverride None

to both <Directory/> and <Location/> directives, but nothing changed.

I CAN list the contents of the icons directory

http://myserver/icons/

Can you help me?

--
TREMALNAIK

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Steve Swift
http://www.swiftys.org.uk

Reply via email to