posword Posted March 8, 2009 Share Posted March 8, 2009 When I click on Checkout in OSCommerce 2.2 I get this error message... "Not found: The requested URL /~user/site.com/resources/login.php was not found on this server. Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at server.hosting.com Port 443", So I can see the problem there with /site.com instead of /server.hosting.com/... but don't know which config is responsible (catalog or admin) or which definition is wrong. The link to the checkout seems correct... https://server.hosting.com/~user/resources/ checkout_shipping.php. This has been happening since my hosting company migrated all users to a new server. Here's part of the /resources/includes/configure.php ... the normal catalog one. ~~~~~~~~~~~ // LIVE SERVER if (in_array($HTTP_SERVER_VARS['SERVER_NAME'],array('site.com','www.site.com','localhost'))) { define('HTTP_SERVER', 'http://site.com '); define('HTTPS_SERVER', ' https://server.hosting.com/~user'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'site.com'); define('HTTPS_COOKIE_DOMAIN', 'server.hosting.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/~user/'); define('DIR_WS_HTTP_CATALOG', '/resources/'); define('DIR_WS_HTTPS_CATALOG', '/resources/'); Here's part of the /resource/peter/includes.configure.php... the admin one. ~~~~~~~~ //LIVE SERVER if (in_array($HTTP_SERVER_VARS['SERVER_NAME'],array('site.com','localhost'))) { define('HTTP_SERVER', 'http://site.com '); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://site.com '); define('HTTPS_CATALOG_SERVER', ' https://server.hosting.com/~user'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // )where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/resources/peter/'); // absolute path required define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/resources/'); // absolute path required define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); Can someone please tell me what to change so I don't get the error on Checkout: "Not found: The requested URL /~user/site.com/resources/login.php was not found on this server." Thanks, Peter ------------------------------------------------------------------- Online since 1995! -- the home of inspiration and motivation for generic New Testament Christians. New books by Peter Wade now available from Amazon and others -- Our new book, Bunches of Blessings: Poems by Vivien Wade. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.