[wp-hackers] Help needed with two issues on established WP install

Jamie Holly hovercrafter at earthlink.net
Thu Aug 24 19:43:08 GMT 2006


Everything looks good in the logs. They are both passing to /index.php and
nothing is stopping in the way.

************************
BROKEN
************************
(2) init rewrite engine with requested uri /2006/05/01/quicklinks/
(3) applying pattern '.*' to uri '/2006/05/01/quicklinks/'
(4) RewriteCond: input='GET' pattern='^TRACE' => not-matched
(1) pass through /2006/05/01/quicklinks/
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2006 ->
/var/www/html/2006/05/01/quicklinks/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2006/05/01/quicklinks/ -> 2006/05/01/quicklinks/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2006/05/01/quicklinks/'
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2006'
pattern='-f' => not-matched
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2006'
pattern='-d' => not-matched
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2006'
pattern='gallery\_remote2\.php' => not-matched
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2006 ->
/var/www/html/2006/05/01/quicklinks/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2006/05/01/quicklinks/ -> 2006/05/01/quicklinks/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2006/05/01/quicklinks/'
(4) [perdir /var/www/html/] RewriteCond: input='GET /2006/05/01/quicklinks/
HTTP/1.1' pattern='\ /d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\ .)' =>
not-matched
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2006 ->
/var/www/html/2006/05/01/quicklinks/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2006/05/01/quicklinks/ -> 2006/05/01/quicklinks/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2006/05/01/quicklinks/'
(4) [perdir /var/www/html/] RewriteCond: input='GET /2006/05/01/quicklinks/
HTTP/1.1' pattern='\ /f/([^?]+)(\?.|\ .)' => not-matched
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2006 ->
/var/www/html/2006/05/01/quicklinks/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2006/05/01/quicklinks/ -> 2006/05/01/quicklinks/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2006/05/01/quicklinks/'
(4) [perdir /var/www/html/] RewriteCond: input='GET /2006/05/01/quicklinks/
HTTP/1.1' pattern='\ /v/([^?]+)(\?.|\ .)' => not-matched
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2006 ->
/var/www/html/2006/05/01/quicklinks/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2006/05/01/quicklinks/ -> 2006/05/01/quicklinks/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2006/05/01/quicklinks/'
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2006'
pattern='!-f' => matched
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2006'
pattern='!-d' => matched
(2) [perdir /var/www/html/] rewrite '2006/05/01/quicklinks/' -> '/index.php'
(2) [perdir /var/www/html/] trying to replace prefix /var/www/html/ with /
(1) [perdir /var/www/html/] internal redirect with /index.php [INTERNAL
REDIRECT]





*******************
working
******************
(2) init rewrite engine with requested uri
/2005/06/02/funny-sign-in-new-york/
(3) applying pattern '.*' to uri '/2005/06/02/funny-sign-in-new-york/'
(4) RewriteCond: input='GET' pattern='^TRACE' => not-matched
(1) pass through /2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2005 ->
/var/www/html/2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2005/06/02/funny-sign-in-new-york/ ->
2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2005/06/02/funny-sign-in-new-york/'
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2005'
pattern='-f' => not-matched
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2005'
pattern='-d' => not-matched
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2005'
pattern='gallery\_remote2\.php' => not-matched
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2005 ->
/var/www/html/2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2005/06/02/funny-sign-in-new-york/ ->
2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2005/06/02/funny-sign-in-new-york/'
(4) [perdir /var/www/html/] RewriteCond: input='GET
/index.php/2005/06/02/funny-sign-in-new-york/ HTTP/1.1' pattern='\
/d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\ .)' => not-matched
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2005 ->
/var/www/html/2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2005/06/02/funny-sign-in-new-york/ ->
2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2005/06/02/funny-sign-in-new-york/'
(4) [perdir /var/www/html/] RewriteCond: input='GET
/index.php/2005/06/02/funny-sign-in-new-york/ HTTP/1.1' pattern='\
/f/([^?]+)(\?.|\ .)' => not-matched
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2005 ->
/var/www/html/2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2005/06/02/funny-sign-in-new-york/ ->
2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2005/06/02/funny-sign-in-new-york/'
(4) [perdir /var/www/html/] RewriteCond: input='GET
/index.php/2005/06/02/funny-sign-in-new-york/ HTTP/1.1' pattern='\
/v/([^?]+)(\?.|\ .)' => not-matched
(3) [perdir /var/www/html/] add path info postfix: /var/www/html/2005 ->
/var/www/html/2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] strip per-dir prefix:
/var/www/html/2005/06/02/funny-sign-in-new-york/ ->
2005/06/02/funny-sign-in-new-york/
(3) [perdir /var/www/html/] applying pattern '.' to uri
'2005/06/02/funny-sign-in-new-york/'
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2005'
pattern='!-f' => matched
(4) [perdir /var/www/html/] RewriteCond: input='/var/www/html/2005'
pattern='!-d' => matched
(2) [perdir /var/www/html/] rewrite '2005/06/02/funny-sign-in-new-york/' ->
'/index.php'
(2) [perdir /var/www/html/] trying to replace prefix /var/www/html/ with /
(1) [perdir /var/www/html/] internal redirect with /index.php [INTERNAL
REDIRECT]


Just out of curiosity - do you have some sort of query cache running on your
site? Perhaps that is causing the problem.

Also do you have any directories within your root directory that could be
causing a problem (ie. /2006/ or /2005/). Since you sometimes get a standard
404 and other times get a wp-404, it is almost acting like it is finding a
directory and looking inside of there. 

I would start by disabling any caching you might have (query, apc, wp-cache,
etc.) and see if the problem persists. This is about all I can think of at
this point. 

Jamie Holly
http://www.intoxination.net

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Vogel, Andrew
(vogelap)
Sent: Thursday, August 24, 2006 3:18 PM
To: wp-hackers at lists.automattic.com
Subject: RE: [wp-hackers] Help needed with two issues on established WP
install

It should be noted, however, that simply visiting the Options->Permalink
page still breaks the site.

-andrew vogel
Manager of Professional Programs
University of Cincinnati
College of Pharmacy 
 

> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com 
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of 
> Vogel, Andrew (vogelap)
> Sent: Thursday, August 24, 2006 2:25 PM
> To: wp-hackers at lists.automattic.com
> Subject: RE: [wp-hackers] Help needed with two issues on 
> established WP install
> 
> Thanks for helping out so far, Jamie. I really do appreciate 
> your assistance!
> 
> I apologize for my ignorance, but I'm not sure what I'm 
> looking for in the rewrite log file, so I've posted the whole 
> thing from both the working site (56K) and non-working (84K) 
> configurations.
> 
> Here's what I did...
> 
> * I enabled the rewrite log on my functioning site and 
> visited the main page and one article. The results of that 
> test are here:
> http://www.drewvogel.com/apache_rewrite_working.txt
> 
> Then, I...
> * Went to http://www.drewvogel.com/wp-admin/options.php and 
> removed the "/index.php" from the permalink_structure line 
> and click the "Update Settings" button.
> 
> * "service httpd restart" to restart Apache.
> 
> * I visited the main page and one article. The results of 
> that test are
> here: http://www.drewvogel.com/apache_rewrite_broken.txt. I 
> received a non-WP 404 when attempting to view the article.
> 
> On (an exciting) side note, I went back to 
> http://www.drewvogel.com/wp-admin/options.php, re-added the 
> "/index.php"
> to the permalink_structure field, clicked "Update Settings", 
> and did "service httpd restart" and my site worked again -- I 
> didn't need to roll it back from the database backup! That's 
> progress, I suppose!
> 
> Please let me know how to proceed from here.
> 
> -andrew vogel
> Manager of Professional Programs
> University of Cincinnati
> College of Pharmacy 
>  
> 
> > -----Original Message-----
> > From: wp-hackers-bounces at lists.automattic.com
> > [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Jamie 
> > Holly
> > Sent: Wednesday, August 23, 2006 4:35 PM
> > To: wp-hackers at lists.automattic.com
> > Subject: RE: [wp-hackers] Help needed with two issues on 
> established 
> > WP install
> > 
> > At this point, I would suggest enabling the mod_rewrite log to make 
> > certain that mod_rewrite is fully firing. For some reason 
> it needs the 
> > index.php instead of mod_rewrite automatically appending the 
> > index.php.
> > 
> > Jamie Holly
> > http://www.intoxination.net
> > 
> > 
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list