Rikard:

Since the default setting is Options ALL - meaning it would include directory browsing by default - I would guess that you've inadvertently done something to remove that default. Is it possible there might be index files in those directories, which would thwart the process? What about this warning, might it apply?

Warning

Mixing Options with a + or - with those without is not valid syntax, and is likely to cause unexpected results.

I would suggest commenting out all the Options directives in httpd.conf temporarily, AND also make sure that there are no .htaccess files lurking about that might confound the process, and then test it again. With no Options directives at all, directory browsing should be enabled for every directory (without a directory index file, that is).

Mark


-------- Original Message  --------
Subject: [EMAIL PROTECTED] Disable directory browsing
From: Rikard Bosnjakovic <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Date: Wednesday, September 26, 2007 09:27:44 AM

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?



---------------------------------------------------------------------
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]

Reply via email to