[thelist] apache conf virtual host question
Pete Freitag
pf at cfdev.com
Tue Sep 28 13:05:10 CDT 2004
Theodore Serbinski wrote:
> Phil Turmel wrote:
>
>> Go ahead and set "Options Indexes" in the <Directory > section for
>> the localhost, but also create <Directory > sections for each virtual
>> host, with an explicit "Options -Indexes".
>
>
> Ah, so I do have to setup each directory that way, no easier way
> around that?
>
> Is there a way to maybe nest the directory options within the
> <VirtualHost> or do I have to a have a bunch of <Directory>s as well?
>
> Thanks!
>
> ted
>
Hi Ted,
You can do something like this provided you directory structure allows it:
<Directory /webroot>
Options -Indexes
</Directory>
<Directory /webroot/localhost>
Options Indexes
</Directory>
______________________________________
Pete Freitag
http://www.cfdev.com/
Author of the CFMX Developers Cookbook
http://www.petefreitag.com/bookshelf/
More information about the thelist
mailing list