[wp-trac] [WordPress Trac] #10609: WP writes htaccess file in account root when changing the URL in the admin area

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 16 21:28:41 UTC 2009


#10609: WP writes htaccess file in account root when changing the URL in the admin
area
----------------------------+-----------------------------------------------
 Reporter:  pyxis630        |       Owner:            
     Type:  defect (bug)    |      Status:  new       
 Priority:  high            |   Milestone:  Unassigned
Component:  Administration  |     Version:  2.8.4     
 Severity:  normal          |    Keywords:            
----------------------------+-----------------------------------------------

Comment(by pyxis630):

 Here is a var_dump from a similar system (Red Hat, PHP in CGI mode, same
 setup as client site). I don't have access to the other 2 right now. Same
 thing here, WP writes the htaccess file in the account root when the .

 array(33) {
   ["HTTP_HOST"]=>
   string(26) "www.domain.com"
   ["HTTP_USER_AGENT"]=>
   string(95) "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2)
 Gecko/20090730 SUSE/3.5.2-1.1 Firefox/3.5.2"
   ["HTTP_ACCEPT"]=>
   string(63)
 "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
   ["HTTP_ACCEPT_LANGUAGE"]=>
   string(14) "en-us,en;q=0.5"
   ["HTTP_ACCEPT_ENCODING"]=>
   string(12) "gzip,deflate"
   ["HTTP_ACCEPT_CHARSET"]=>
   string(7) "UTF-8,*"
   ["HTTP_KEEP_ALIVE"]=>
   string(3) "300"
   ["HTTP_CONNECTION"]=>
   string(10) "keep-alive"
   ["HTTP_REFERER"]=>
   string(62) "http://www.domain.com/wp-admin/options-general.php"
   ["HTTP_COOKIE"]=>
   string(383) "wordpress_xxxxxxx"
   ["CONTENT_TYPE"]=>
   string(33) "application/x-www-form-urlencoded"
   ["CONTENT_LENGTH"]=>
   string(3) "499"
   ["PATH"]=>
   string(44) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
   ["SERVER_SIGNATURE"]=>
   string(88) "
 Apache/2.0.52 (Red Hat) Server at www.domain.com Port 80

 "
   ["SERVER_SOFTWARE"]=>
   string(23) "Apache/2.0.52 (Red Hat)"
   ["SERVER_NAME"]=>
   string(26) "www.domain.com"
   ["SERVER_ADDR"]=>
   string(13) "xx.xx.xx.xx"
   ["SERVER_PORT"]=>
   string(2) "80"
   ["REMOTE_ADDR"]=>
   string(14) "yy.yy.yy.yy"
   ["DOCUMENT_ROOT"]=>
   string(27) "/var/www/domain"
   ["SERVER_ADMIN"]=>
   string(29) "email at domain.com"
   ["SCRIPT_FILENAME"]=>
   string(48) "/var/www/domain/wp-admin/options.php"
   ["REMOTE_PORT"]=>
   string(5) "34157"
   ["GATEWAY_INTERFACE"]=>
   string(7) "CGI/1.1"
   ["SERVER_PROTOCOL"]=>
   string(8) "HTTP/1.1"
   ["REQUEST_METHOD"]=>
   string(4) "POST"
   ["QUERY_STRING"]=>
   string(0) ""
   ["REQUEST_URI"]=>
   string(21) "/wp-admin/options.php"
   ["SCRIPT_NAME"]=>
   string(21) "/wp-admin/options.php"
   ["PHP_SELF"]=>
   string(21) "/wp-admin/options.php"
   ["REQUEST_TIME"]=>
   int(1250457172)
   ["argv"]=>
   array(0) {
   }
   ["argc"]=>
   int(0)
 }

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


More information about the wp-trac mailing list