

Do you have an .htaccess in your site root with some rewrite rules?
)Can you get into the manager of the site OK?

NOTE: Running PHP as a CGI program will change the value of $_SERVER[’SCRIPT_NAME’]. When running via the (normal) mod_PHP mechanism, it will be set to the name of (actually, path to) the PHP script that’s running. When running via CGI, it will instead point to the path of the CGI binary.The config.inc.php file uses this value to set the base path and base url which MODx uses when generating URLs...
if (!strstr($_SERVER['PHP_SELF'], $_SERVER['SCRIPT_NAME']) && ($sapi= @ php_sapi_name()) == 'cgi') {
$script_name= $_SERVER['PHP_SELF'];
} else {
$script_name= $_SERVER['SCRIPT_NAME'];
}
/manager/index.phpYours, however, is doing this:
/cgi-bin/phpYour script_name is being reported the same.
if (!strstr($_SERVER['PHP_SELF'], $_SERVER['SCRIPT_NAME']) && ($sapi= @ php_sapi_name()) == 'cgi') {
$script_name= $PHP_SELF;
} else {
$script_name= $PHP_SELF ;
}
This discussion is closed to further replies. Keep calm and carry on.