Using 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 https://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: https://agepoly.epfl.ch/agepoly2/wordpress/xmlrpc.php
Status: 404 Not Found
Content-Type: text/html; charset=UTF-8
[root@agepoly agepoly2]# curl -I https://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: https://agepoly.epfl.ch/agepoly2/wordpress/xmlrpc.php
Status: 200 OK
Content-Type: text/html; charset=UTF-8