Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

/admin folder not protected by SSL


Guest

Recommended Posts

Posted

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.

Posted
There is another config file in /admin/includes/

 

 

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

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...