Afficher un message
Vieux 25/03/2005, 21h52   #1
Tom Cat
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Apache Directory listing problem

I added the following to the default httpd.conf file on FC3.

Alias /FOOBAR/ "/tmp/junk/"
<Directory "/tmp/junk/">
AuthUserFile /etc/httpd/htpasswords
AuthType Basic
AuthName "FOOBAR"
require valid-user
</Directory>

and I restarted apache

I then did htpasswd -c /etc/httpd/htpasswords strycat
and typed in the password like it asked

Now when I go to my site it gives me a directory listing (as there
isn't an index.html file). However the only thing the directory
listing shows is subdirectories. It will not show any of the files.

I've tired chmod -R a+rwx /tmp/junk
I then tried removing from httpd.conf the IndexIgnore directive in the
root directory.
I tired adding an optioins all directive to the /tmp/junk directory.
I've tired /tmp/junk with and without the trailing /

But none of that has worked.

Can anyone me?

Thanks

  Réponse avec citation
 
Page generated in 1,86158 seconds with 9 queries