On Thu, Mar 21, 2013 at 09:28:32AM -0700, Bradley Giesbrecht wrote:
> RewriteCond %{SCRIPT_FILENAME} .+\.php[^\.]+$ [NC,OR]
> RewriteCond %{SCRIPT_FILENAME} .+\.ph[^\.]+p$ [NC,OR]
> RewriteCond %{SCRIPT_FILENAME} .+\.p[^\.]+hp$ [NC,OR]
> RewriteCond %{SCRIPT_FILENAME} .+\.[^\.]+php$ [NC]
> RewriteRule ^(.*)$ http://%{HTTP_HOST} [L,QSA]

This might work for .php scripts, but will fail for .rb or any other
script language extension. Really, filtering is not a workaround to
fixing this issue properly.

-- 
Clemens Lang

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to