Guest Posted December 6, 2004 Posted December 6, 2004 Hi All, This version of OsCommerce was installed directly from a web-based hosting admin panel. For some weird reason, it has installed the /admin folder outside of /catalog. Therefore, this setting from configure.php doesnt affect my /admin folder: define('DIR_WS_HTTPS_CATALOG', '/catalog/'); I ask you, what would be the best solution here... Is there a way to change this line, or even create a new entry for the admin folder? I dont think so... Also, would it be OK to move the entire Admin folder to become /catalog/admin ? I dont remember if this would break any config files... Any help is much appreciated. Thanx in advance, Bruno.
TomThumb Posted December 7, 2004 Posted December 7, 2004 There is another config file in /admin/includes/ while (!succeed) {try()}; GMT -6:00
Guest Posted December 7, 2004 Posted December 7, 2004 There is another config file in /admin/includes/ <{POST_SNAPBACK}> I know but I cant see how to secure the /admin folder from that configure.php. I tried and copied /admin inside of /catalog. changed the path on /admin/includes/configure.php to match the change, but all the links in the Admin home page still point to the original /admin folder outside of /catalog... any ideas? thanx Bruno
TomThumb Posted December 8, 2004 Posted December 8, 2004 Try setting the admin config like this define('HTTP_SERVER', 'https://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://localhost'); define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module while (!succeed) {try()}; GMT -6:00
Recommended Posts
Archived
This topic is now archived and is closed to further replies.