httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Reser <...@reser.org>
Subject Re: [users@httpd] How limit directives at htaccess file
Date Tue, 06 Aug 2013 19:57:37 GMT
On Tue, Aug 6, 2013 at 11:54 AM, Pol Hallen <apacheml@fuckaround.org> 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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message