Disable directory browsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been reading on
http://httpd.apache.org/docs/2.2/mod/core.html#options and in a couple
of tutorials on the net, but I cannot seem to get this to work as I
want.

What I want is to disable _all_ directory browsing on my server. What
I have tested is to att an "Options -Indexes" within the <Directory
/>-clause (and restarted Apache), but with no luck. Adding it in a
<Directory /images> still doesnt disable it for the /images-directory.
Only when I added a <Directory "/full/path/to/images"> I got it to
work, but only for that particulary directory.

How do you add a -Indexes that affects the *whole* site?


-- 
- Rikard - http://bos.hack.org/cv/

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux