On Thu, 12 May 2005, Grant wrote:

> > Directory is related to the file-system directory, so you are setting it
> > for your system's root, not your webpage's root.
> >
> > You need to have a
> > <Directory /path/to/your/webpage/>
> >  ....
> > </Directory>
> >
> > Regards,
> > Martin
>
> Ok, it looks like the new apache2 httpd.conf has these:
>
> <Directory "/var/www/localhost/htdocs">
>     Options Indexes FollowSymLinks
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
>
> <Directory />
>     Options FollowSymLinks
>     AllowOverride None
> </Directory>
>
> Is that sufficient considering I serve everything from:
>
> /var/www/localhost/htdocs
>
> and:
>
> /var/www/localhost/htdocs/admin
>
> or should I make some changes?  I would think the Gentoo devs set
> these up to be pretty safe.  I did add this to the end of the file:
>
> Options -Indexes

This switches off Directory Indexes which is probabl not what you want...


-- 

-- 
gentoo-user@gentoo.org mailing list

Reply via email to