In article <vCe6c.76641$O31.3509938@news4.tin.it>,
spintop <bastacoivirus.TakeThisOut@virgilio.it> wrote:
> patpro ha scritto:
>
> > if users have the ability to use .htaccess, they can add the AddType
> > directive them self on a per directory basis, so you'll fail preventing
> > them from using php in this case.
>
> how can i prevent this?
disallow the use of .htaccess files (put AllowOverride None in
httpd.conf) or forbid FileInfo by limiting the AllowOverride scope to
this (or to a part of this):
AllowOverride AuthConfig Indexes Limit Options
Only "AllowOverride FileInfo" or "AllowOverride All" will allow the use
of AddType directive in .htaccess file.
patpro
--
je cherche un poste d'admin UNIX/Mac
<a style='text-decoration: underline;' href="http://patpro.net/cv.php" target="_blank">http://patpro.net/cv.php</a><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: security with Apache & PHP