[wp-trac] Re: [WordPress Trac] #9246: Wordpress cannot update '.htaccess' even though it is writable

WordPress Trac wp-trac at lists.automattic.com
Mon May 4 22:51:11 GMT 2009


#9246: Wordpress cannot update '.htaccess' even though it is writable
--------------------------+-------------------------------------------------
 Reporter:  akd907        |       Owner:  westi                                   
     Type:  defect (bug)  |      Status:  assigned                                
 Priority:  normal        |   Milestone:  2.8                                     
Component:  General       |     Version:  2.7.1                                   
 Severity:  normal        |    Keywords:  has-patch tested commit needs-unit-tests
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch needs-testing needs-unit-tests => has-patch tested
               commit needs-unit-tests


Comment:

 patch still works against today's trunk.

 confirming the bug. I'm personally getting this, with a similar setup
 (index.php in ~/denis/, wp-config.php in ~/denis/wp.php):

 {{{
 <IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /~denis/
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /~denis/index.php [L]
 </IfModule>
 }}}

 patch allows the files to be written as needed. and it continues to work
 with both the index.php file and the wp-config.php file in ~/denis/wp/.

 haven't tested the following setup, but I'm pretty certain neither of the
 current and the patch codes will work using it:

  - index.php in ~/denis/test/
  - WP/config.php in ~/denis/wp/

 still, the suggested patch is an improvement as compared to the current
 code base.

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


More information about the wp-trac mailing list