[wp-trac] Re: [WordPress Trac] #3820: Squid in accelerator mode; Permalink "mod_rewrite" problem.

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 24 17:03:37 GMT 2007


#3820: Squid in accelerator mode; Permalink "mod_rewrite" problem.
-------------------------------+--------------------------------------------
 Reporter:  shanefroebel       |        Owner:  anonymous
     Type:  defect             |       Status:  new      
 Priority:  normal             |    Milestone:  2.3      
Component:  General            |      Version:  2.2      
 Severity:  normal             |   Resolution:           
 Keywords:  squid mod_rewrite  |  
-------------------------------+--------------------------------------------
Comment (by shanefroebel):

 Ok.. I've done some digging into the WordPress code itself. When I
 installed a new version of WordPress on the server, the "URL" for the
 administration settings "WordPress Address (URL)" and "Blog Address (URL)"
 came out to be:

 http://blog.battlestarwiki.orghttp://blog.battlestarwiki.org/index.php

 So this tells me, as Squid reads the installation from Apache, the
 location paths are not correct when trying to run a rewrite URL. Now squid
 "acts" as the "processing" point (external IP address) and talks with
 Apache which is now on 127.0.0.1. So when everything goes through it it
 changes it's makeup.

 Now I looked through the rewrite class, and I can not make heads or tails
 on how to see how it works. Somewhere in their is where something has to
 be defined to say "oh, we have squid installed. Goto the right "url/file"
 location.

 I hope that is clear enough.

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


More information about the wp-trac mailing list