Re: disable htaccess files

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

 



You might want to set AllowOveride to none for the root directory:
<Directory />
AllowOverride None
</Directory>
See docs http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride for more info.

Regards,
FINESEC

On Fri, Nov 2, 2012 at 11:22 PM, Marc Fromm <Marc.Fromm@xxxxxxx> wrote:

I switched from using htaccess files to <Directory> directives.

Other than deleting my old htaccess files what else can I do to sop/prevent htaccess files?

Should I add “ AllowOverride None” to each directory directive that I created in httpd.conf or is there a “global” setting in httpd.conf?

 

Thanks

 

Marc



[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