[wp-trac] Re: [WordPress Trac] #2142: Class WP and WP_Rewrite should support more than Apache

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 8 00:05:46 GMT 2007


#2142: Class WP and WP_Rewrite should support more than Apache
-----------------------------------------------------+----------------------
 Reporter:  masquerade                               |        Owner:  anonymous
     Type:  defect                                   |       Status:  closed   
 Priority:  normal                                   |    Milestone:           
Component:  Administration                           |      Version:  2.0      
 Severity:  normal                                   |   Resolution:  wontfix  
 Keywords:  rewrite permalinks lighttpd needs-patch  |  
-----------------------------------------------------+----------------------
Comment (by JeremyVisser):

 lighttpd has the full equivalent of {{{RewriteRule}}} support, but
 absolutely no equivalent to {{{RewriteCond}}} support, so you can't stop
 it from rewriting URLs that link to real files.

 One hack might be to make your {{{WP_HOME}}} directory a sibling of
 {{{WP_SITEURL}}}, rather than the same directory, or a parent. Another
 hack people have used is setting {{{/index.php}}} as the 404 handler,
 which works quite well, provided you're only intending on running one copy
 of WordPress on your web server. (And you don't care about what your 404s
 look like.)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2142#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list