[wp-trac] [WordPress Trac] #12670: Non-standard htaccess filename breaks mod-rewrite setup

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 13 23:00:56 UTC 2010


#12670: Non-standard htaccess filename breaks mod-rewrite setup
----------------------------+-----------------------------------------------
 Reporter:  thedotproduct   |       Owner:  ryan          
     Type:  enhancement     |      Status:  assigned      
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  2.9.2         
 Severity:  normal          |    Keywords:  needs-patch   
----------------------------+-----------------------------------------------

Comment(by aaroncampbell):

 Here are my thoughts:

  1. Apache doesn't supply "AccessFileName" to PHP, so there's no way to
 detect it.
  1. While .htaccess occurs 21 times, most of those are in comments or
 strings.
  1. I agree with dd32 that I would prefer a filter.  I propose using
 'access_file_name' and I'm attaching a patch that will take care of this.
  1. Since I think think this will only affect a very small group of
 people, I don't really think we need to change the strings.  However,
 since this is a filename, we could just drop a `%s` into those strings
 (probably the right way to do this anyway) and pass the filtered filename.
 There are currently 5 translated string that would need to be adjusted.

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


More information about the wp-trac mailing list