[pLog-svn] r6276 - in plog/branches/lifetype-1.2/class: data/validator misc template test/tests/misc
Mark Wu
markplace at gmail.com
Sat Mar 29 14:42:52 EDT 2008
According to apache document.
Add type is case-sensitive.
If we really want more strict protection, maybe we can change the <files>
section to the following regular expression:
<Files ~ "/\.(php|html|html|pl|py)$/i">
Mark
> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> Sent: Sunday, March 30, 2008 1:18 AM
> To: LifeType Developer List
> Subject: Re: [pLog-svn] r6276 - in
> plog/branches/lifetype-1.2/class: data/validator misc
> template test/tests/misc
>
> Can someone else check if test.PHP works on their
> system? And then check if it works inside the gallery directory?
> I don't know why apache is matching *.PHP in:
> "AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml"
> but not matching *.PHP in "<Files *.php>" in the gallery .htaccess.
>
> Maybe it only affects people running suphp, that'd be
> really nice.
>
> I wonder if the hosts that disallow .htaccess modifications
> are in this case, less secure, because the <Files *.php>Deny
> all</Files> in the gallery would have blocked it.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
More information about the pLog-svn
mailing list