[wp-trac] [WordPress Trac] #11845: mod_rewrite Should Not Be Used to Check Existence of index.php

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 9 18:50:17 UTC 2010


#11845: mod_rewrite Should Not Be Used to Check Existence of index.php
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:     
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Optimization  |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 While we're at it, how about:

 {{{
 RewriteCond %{QUERY_STRING} =https?:// [NC]
 RewriteRule ^ - [F,L]

 RewriteRule \.(gif|png|jpe?g|css|js|ico)$ - [L]
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11845#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list