jar3300 Posted January 23, 2005 Posted January 23, 2005 I posted this elsewhere along with someone else having a similar problem. My customer is about ready to open for business and I have to get this resolved. A customer has no problem signing up, but when they return to login they get this error message. The requested URL /catalog/index.php was not found on this server Here is my configure.php Any help would be greatly appreciated. Thanks Jim <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.candleschtick.net'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure2.ia-dns.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.candleschtick.net'); define('HTTPS_COOKIE_DOMAIN', 'https://secure2.ia-dns.com/~candles/'); define('HTTP_COOKIE_PATH', '/~candles/catalog/'); define('HTTPS_COOKIE_PATH', '/~candles/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~candles/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/candles/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '***********l'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', 'candles_oscommerce'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
rce Posted January 23, 2005 Posted January 23, 2005 I posted this elsewhere along with someone else having a similar problem. My customer is about ready to open for business and I have to get this resolved. A customer has no problem signing up, but when they return to login they get this error message. The requested URL /catalog/index.php was not found on this server Here is my configure.php Any help would be greatly appreciated. Thanks Jim <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.candleschtick.net'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure2.ia-dns.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.candleschtick.net'); define('HTTPS_COOKIE_DOMAIN', 'https://secure2.ia-dns.com/~candles/'); define('HTTP_COOKIE_PATH', '/~candles/catalog/'); define('HTTPS_COOKIE_PATH', '/~candles/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~candles/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/candles/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '***********l'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', 'candles_oscommerce'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> <{POST_SNAPBACK}> Ok, remember I had the 404 error? What i did was: change: define('ENABLE_SSL', true); to: define('ENABLE_SSL', false); and try that, if still nothing then its not SSL, if it works. Then check the SSL cookie settings.. also: define('USE_PCONNECT', 'true'); // use persistent connections? You sure? and define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/candles/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); FS = Filesystem directories (local/physical). see you just wrote define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); it should be the whole dir. also define('HTTP_COOKIE_DOMAIN', 'www.candleschtick.net'); try define('HTTP_COOKIE_DOMAIN', 'http://candleschtick.net'); Thats all i can see. Make configure.php.bak before trying.... I may be wrong, im only 14
Guest Posted January 23, 2005 Posted January 23, 2005 Try this code: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.candleschtick.net'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure2.ia-dns.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.candleschtick.net'); define('HTTPS_COOKIE_DOMAIN', '.secure2.ia-dns.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~candles/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/candles/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '***********l'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', 'candles_oscommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> There are a few settings that needed to be changed. Bobby
jar3300 Posted January 27, 2005 Author Posted January 27, 2005 Try this code: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.candleschtick.net'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure2.ia-dns.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.candleschtick.net'); define('HTTPS_COOKIE_DOMAIN', '.secure2.ia-dns.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~candles/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/candles/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '***********l'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', 'candles_oscommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> There are a few settings that needed to be changed. Bobby <{POST_SNAPBACK}> What are the few settings that need to be changed. I tried the code as is and it didn't work (yes, I did put back in my username/password info. Thanks jim
Guest Posted January 27, 2005 Posted January 27, 2005 Cookie domain and path for both normal and secure SSL. Bobby
jar3300 Posted January 28, 2005 Author Posted January 28, 2005 Cookie domain and path for both normal and secure SSL. Bobby <{POST_SNAPBACK}> Thanks, this is what fixed it. Changing this line: define('HTTPS_SERVER', 'https://secure2.ia-dns.com'); // eg, https://localhost - should not to this: define('HTTPS_SERVER', 'https://secure2.ia-dns.com/~candles'); // eg, https://localhost - should not Works like a charm now. Jim
Recommended Posts
Archived
This topic is now archived and is closed to further replies.