httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Thompson" <>
Subject Re: [users@httpd] confused with directory permissions
Date Sun, 01 Dec 2002 20:02:11 GMT

----- Original Message -----
From: "Chris Meadors" <>
To: <>
Sent: Sunday, December 01, 2002 3:04 PM
Subject: Re: [users@httpd] confused with directory permissions

> Jordan Thompson wrote:
> > Hi All,
> > I am a little (a lot) confused on how to set up my .access files and how
> > use them.
> > What I would like to be able to do is let anyone go to a directory
> > I have a .access file in it.  in which case, I'd like to apply the
> > restrictions in that file.
> >

> No, change that back to:
> <Directory />
>      Options FollowSymLinks
>      AllowOverride None
> </Directory>
> What you are looking for is the Directory setting for your DocumentRoot,
> usually <Directory "/usr/local/apache2/htdocs">.

I don't have anything like this.  I assume it would be in the
commonhttpd.conf file?

> That you want to look something like:
> <Directory "/usr/local/apache2/htdocs">
>      Options +Indexes
>      AllowOverride Options
> </Directory>
> Then you can put "Options -Indexes", in your .htaccess file.

Would this work even if I want to allow access to indexes without the
.htaccess file?  Remember I only want o mess with the .access file in those
(rare) cases that I want to restrict access.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message