On Wed, 4 Aug 2004 04:26 pm, Voytek wrote:
> Sebastian Welsh said:
> > On Wed, 4 Aug 2004 09:24 am, Voytek wrote:
> >> <Directory />
> >> Options FollowSymLinks
> >> AllowOverride AuthConfig
> >> </Directory>
> >
> > Gulp. Don't forget that in your Directory statements, you are providing
> > the
> > full, rather than the relative path for the directory. You probably want
> > to
> > leave your root directory as
> > AllowOverride None
> >
> >
> > <Directory />
> > Options FollowSymLinks
> > AllowOverride None
> > Order deny,allow
> > Deny from all
> > </Directory>
>
> Seb,
>
> OOOPS, above changes made my typo3 site return 403/forbidden
>
> I guess, I need to set as above for '/', and, undo for vhost ..?
If I get what you are asking, yes, but as Jamie mentioned, it's often
worthwhile not wandering too far from your distros defaults :)
If you have
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
then each virtual host will need to have
AllowOverride AuthConfig
Order allow,deny
Allow from all
in the relevant directory sections for the virtual host. Without these
parameters, the config from the / directory will apply.
Does that make sense? If I'm not explaining it well, there is a pretty good
explanation of how Directory works at
http://httpd.apache.org/docs-2.0/mod/core.html.en#directory
Seb
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html