MMah Posted July 1, 2004 Posted July 1, 2004 Hi all. I am new to the community and would first of all like to say this project is wonderful and the community is great. I have searched hi and low trough this forum for an answer, but alas i have resorted to this post. I hope that this has not been covered in great detail and i'm just an idiot! Anyway heres my problem. In Configuration.php define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/mysite/catalog/'); I have these two variables defined. When logging in over SSL (not sure why this is SSL anyway) I am immediately directed to the https:// site with the wrong default directory...,i.e i got to https://mywebsite.com/catalog instead of https://mywebsite.com/mywebsite/catalog OR httP://mywebsite.com/catalog/ I looked in the login.php file and noticed this part... if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); tep_redirect($origin_href); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } I'm guessing this is where my problem occurs...I'm not sure which redirect is hozing me. Any thoughts? Thanks ahead of time! :D
MMah Posted July 1, 2004 Author Posted July 1, 2004 OK I fixed it! turns out that this was my problem: previously this was what was in config.php define('HTTPS_SERVER', 'https://www.securewebserver.com); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/mywebsite/catalog/'); and i fixed it by changing two of the lines to this: define('HTTPS_SERVER', 'https://www.securewebserver.com/mywebsite'); //changed define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); //changed Oh well, hope this helps someone down the road!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.