Re: AllowOverride

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2.4 has this: http://httpd.apache.org/docs/current/mod/core.html#allowoverridelist

On Sun, Oct 13, 2013 at 1:55 AM, Toomas Aas <toomas.aas@xxxxxxxxxxxxx> wrote:
> Hello Pol!
>
>
>> <Directory /var/www/>
>>         Options Indexes FollowSymLinks MultiViews
>>         AllowOverride None
>>         Order allow,deny
>>         allow from all
>> </Directory>
>>
>> With AllowOverride setted to none, .htaccess has ignored.
>>
>> For instance, if I'll want permit the use of .htaccess only about
>> mod_rewrite or only about ErrorDocument
>>
>> What should I do?
>>
>> Allowoverride options=ErrorDocument Rewritebase
>
>
> AFAIK there is no way to allow *only* the specific configuration directives.
> Each directive has some Override category which you will need to allow, but
> it will also allow other directives in the same category. For example if you
> look at the manual page of RewriteCond
> (http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond) you'll
> see that it has the Override setting of FileInfo, meaning that to enable
> usage of this setting in .htaccess you'll need to specify AllowOverride
> FileInfo, but then you also allow all other directives that have Override
> setting of FileInfo.
>
> HTH,
> --
> Toomas Aas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>



-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux