I've a Suffix Proxy installed and I'm using the following rewrite with wildcard subdomain DNS on:
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php last;
break;
}
}
My suffix proxy has the following URL format:
(subdomain and/or domain + domain extension to proxy).proxy.org/(request-uri)
But when requested a page with a .php extension I'll get a 404 not found error. Example:
http://www.php.net.proxy.org/docs.php - HTTP/1.1 404 Not Found
http://www.utexas.edu.proxy.org/learn/php/ex3.php - HTTP/1.1 404 Not Found
But everything else is working (also index.php is working):
http://php.net.proxy.org/index.php - HTTP/1.1 200 OK
http://www.php-scripts.com.proxy.org/php_diary/example2.php3 - HTTP/1.1 200 OK
http://www.utexas.edu.proxy.org/learn/php/ex3.phps - HTTP/1.1 200 OK
http://www.w3schools.com.proxy.org/html/default.asp - HTTP/1.1 200 OK
Somebody has an answer? I don't why it's not working on apache it's working fine.
Thanks in advance.