Re: How limit directives at htaccess file

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

 



On Tue, Aug 6, 2013 at 11:54 AM, Pol Hallen <apacheml@xxxxxxxxxxxxxx> wrote:
> Hi all, I'm study apache and I don't understand some things about htaccess.
>
> Reading, the advice is: never permit htaccess to users.
>
> So, can I enable htaccess but only for personalize something like this?
>
> ErrorDocument 400 /errors/badrequest.html
> ErrorDocument 401 /errors/authreqd.html
> ErrorDocument 403 /errors/forbid.html
> ErrorDocument 404 /errors/notfound.html
> ErrorDocument 500 /errors/serverr.html
>
> and obviously deny all other directives?
>
> so an user with own htaccess file, can only personalize that directives.

See AllowOverride:
http://httpd.apache.org/docs/current/mod/core.html#allowoverride

---------------------------------------------------------------------
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