On 2/18/08, System Administrator <[EMAIL PROTECTED]> wrote:
> I need to secure a few distinct directories on this server, and to
> simplify config file maintenance decided to put the common directives
> into a file to be 'Include'd - reproduced further below. Here is an
> example of such an 'Include' in the main httpd.conf:
>         <Directory "/var/www/cgi-bin">
>             AllowOverride None
>             Options None
>             Include conf/admins.conf
>         </Directory>
[...]
> My dilemma is that actually including the directives instead of using
> the 'Include' above works perfectly as expected. I even tried
> transferring only some of the directives from the include file into the
> main httpd.conf, and invariably configtest complains about the very
> first active directive in the include file.

Try either putting the whole <Directory> directive into the conf/admins.conf,
thus moving the include statement outside the <Directory>

--knitti

Reply via email to