Guest Posted September 1, 2005 Share Posted September 1, 2005 I am having a problem on my osCommerce website, below if the configure.php code in regards to server settings. The website live address is www.injectacarb.com.au and the shared SSL address is www.qldserver.net/~injec define('HTTP_SERVER', 'http://www.injectacarb.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.qldserver.net'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.injectacarb.com.au'); define('HTTPS_COOKIE_DOMAIN', 'www.qldserver.net'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/~injec/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/~injec/'); define('DIR_WS_IMAGES', 'images/'); When a user logs in they get a 404 error (URL is incorrect in top bar, it reads www.qldserver.net/index.php) but then when you press the back button it shows as being logged in and all of the SSL addresses work fine? Im guessing something is incorrect when it comes to re-directing to the index page after login, but am uncertain where to fix as once you go 'back' everything works fine? I have seen the following thread -http://www.oscommerce.com/forums/index.php?showtopic=116700 but couldnt use it to fix my problem. Link to comment Share on other sites More sharing options...
julianpuje Posted September 1, 2005 Share Posted September 1, 2005 This is pretty much a guess as i don't use a shared ssl: Try removing the / before the /~injec/ define('HTTPS_COOKIE_PATH', '/~injec/'); define('DIR_WS_HTTPS_CATALOG', '/~injec/'); So it has: define('HTTPS_COOKIE_PATH', '~injec/'); define('DIR_WS_HTTPS_CATALOG', '~injec/'); HTH Julian A little knowledge is dangerous, I SHOULD KNOW. If Life Begins At 40, What ends???? Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2005 Share Posted September 1, 2005 Thanks for the advice but no luck with the changes, just made the address www.qldserver.net~injec (no /) :( Anyone else with any ideas? Link to comment Share on other sites More sharing options...
Guest Posted September 9, 2005 Share Posted September 9, 2005 Sorry to bump the post but am still trying to work out what the problem is an has been a week already :( Any ideas from anyone? Link to comment Share on other sites More sharing options...
AlanR Posted September 9, 2005 Share Posted September 9, 2005 Sorry to bump the post but am still trying to work out what the problem is an has been a week already :( Any ideas from anyone? <{POST_SNAPBACK}> Set it like this and let us know what happens define('HTTP_SERVER', 'http://www.injectacarb.com.au'); define('HTTPS_SERVER', 'https://www.qldserver.net/~injec'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.injectacarb.com.au'); define('HTTPS_COOKIE_DOMAIN', 'www.qldserver.net/~injec'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Guest Posted September 9, 2005 Share Posted September 9, 2005 Worked a charm :) Thanks heaps for that AlanR, greatly appreciated! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.