httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Octavian Rasnita" <>
Subject Re: Where to put <directory>
Date Sun, 19 May 2002 01:10:35 GMT
Thank you.
Then why I don't get that configuration even though I use that virtual host?
I can't use the .htaccess files.
What other problem could I have?


----- Original Message -----
From: "Joshua Slive" <>
To: <>
Sent: Saturday, May 18, 2002 5:06 PM
Subject: Re: Where to put <directory>

On Fri, 17 May 2002, RuneImp wrote:

> <Directory> is it's own "thing" which works independently
> of any <VirtualHost *>, to my knowledge. So yes it should
> be outside.

This is not strictly true.  Check the "context" in the documentation and
you will see that <directory> sections can indeed go in <virtualhost>
sections.  It is just a question of scope.  If you put the <directory>
inside the <virtualhost>, then that configuration will apply to that
directory only if you access it through that specific virtual host.  If
you put the <directory> outside the <virtualhost>, then if more than one
virtual host has access to the directory, they will all get the same


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message