isa_c Posted June 18, 2007 Share Posted June 18, 2007 I'm having problems getting the ssl part of my catalog to work. I get a 404 error when trying to acess checkout pages. I have my ssl set up & functioning My catalog site: www.corsetmaker.com/cat code: / Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.corsetmaker.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.corsetmaker.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.corsetmaker.com'); define('HTTPS_COOKIE_DOMAIN', 'secure.corsetmaker.com'); define('HTTP_COOKIE_PATH', '/cat'); define('HTTPS_COOKIE_PATH', '/cat'); define('DIR_WS_HTTP_CATALOG', '/cat/'); define('DIR_WS_HTTPS_CATALOG', '/cat/'); Everything works fine when I don't enable ssl, but when I do I get the 404 error...any suggestions?? Link to comment Share on other sites More sharing options...
Avec Posted June 18, 2007 Share Posted June 18, 2007 Are there files other than index(htm or html) in secure.corsetmaker.com? By the looks of it, no. If not using a virtual directory, the store needs to be in the secure directory as well. You need to have an identical copy of your entire store, with admin in the secure directory, which in your case is a sub-domain. Copy everything over to there and see what happens. Link to comment Share on other sites More sharing options...
isa_c Posted June 19, 2007 Author Share Posted June 19, 2007 I was afraid of that....thanks. I do have a few other files in that directory, will they present a problem? Also, every time I make an update to the items in the catalog do I also have to copy that over as well? Are there files other than index(htm or html) in secure.corsetmaker.com? By the looks of it, no. If not using a virtual directory, the store needs to be in the secure directory as well. You need to have an identical copy of your entire store, with admin in the secure directory, which in your case is a sub-domain. Copy everything over to there and see what happens. Link to comment Share on other sites More sharing options...
Avec Posted June 19, 2007 Share Posted June 19, 2007 I was afraid of thatMakes it an easy fix, though. I do have a few other files in that directory, will they present a problem?If they have the same name as ones you will need, then they need to be removed. The main one to watch for is index.htm or html. If one of those is present it will be the default before index.php. Also, every time I make an update to the items in the catalog do I also have to copy that over as well?No, only if you make changes to the .php files themselves, like contributions or format changes. When you are adding products and doing other things through the admin console you are dealing with the database, so that should be fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.