loak
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: weird 404 instead of 200 problem*bump again*
Forum: Fixing WordPress
In reply to: weird 404 instead of 200 problem*bump*
Forum: Fixing WordPress
In reply to: weird 404 instead of 200 problemupdate: it does work when i disable permalinks in WordPress and leave .htaccess untouched (with the rewrites).
So the problem seems to be in the way wordpress handles a request ending with a / when permalinks are enabled. any idea how i could fix this?
Forum: Fixing WordPress
In reply to: weird 404 instead of 200 problemUsing curl to get the headers the problem is different. It works fine inside the wordpress directory.
But the problem still occurs when trying to get the parent directory without specifying index.php. Weird…
My parent index is:
require(‘./wordpress/wp-blog-header.php’);
–blah blah blah–
get_sidebar();
get_footer();[root@agepoly agepoly2]# curl -I http://agepoly.epfl.ch/agepoly2/
HTTP/1.1 404 Not Found
Date: Thu, 12 Oct 2006 07:32:48 GMT
Server: Apache
X-Powered-By: PHP/4.3.11
X-Pingback: http://agepoly.epfl.ch/agepoly2/wordpress/xmlrpc.php
Status: 404 Not Found
Content-Type: text/html; charset=UTF-8[root@agepoly agepoly2]# curl -I http://agepoly.epfl.ch/agepoly2/index.php
HTTP/1.1 200 OK
Date: Thu, 12 Oct 2006 07:32:56 GMT
Server: Apache
X-Powered-By: PHP/4.3.11
X-Pingback: http://agepoly.epfl.ch/agepoly2/wordpress/xmlrpc.php
Status: 200 OK
Content-Type: text/html; charset=UTF-8