Anyone know why this is happening?
In my code I have the following line this I think is causing problems:
header('Location: /var/www/index.php');
but it keeps giving me the following error:
[Thu Jul 28 22:15:18 2011] [error] [client 127.0.0.1] script '/var/www/account/index.php' not found or unable to stat, referer: http://localhost
The possible problem line:
header('Location: /var/www/index.php');
is in a file located at:
/var/www/account/oauth/openid/check.php
You are directing the browser to an absolute path. This is wrong, you need to use a path relative to the document root. The browser can’t see anything outside of the document root.
In your case
Should probably be:
Since
/var/www/is your document root.