Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL not working in Admin Section


fishpaste

Recommended Posts

Posted

Hi -

Does anyone know why when I go into the admin section it doesn't go through my SSL?

the SSL works fine for the checkout.. but not at all under admin..?

 

thanks in advance

 

:D

Posted

It's working fine at checkout... just not when i go into the admin section..

 

any ideas what line of code I need to add to the config.php??

 

:'(

Posted
You don't need to add any code. Just fill in the https path like you did for the shop side and enable SSL.

 

Jack

Hi,

I have the same problem too. I have changed the configure.php in the admin/includes as you can see here:

define('HTTP_SERVER', 'http://bargaincollection.com');
 define('HTTP_CATALOG_SERVER', 'http://www.bargaincollection.com');
 define('HTTPS_CATALOG_SERVER', 'https://bargaincollection.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
 define('DIR_WS_ADMIN', '/shop/admin/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
 define('DIR_WS_CATALOG', '/shop/');
 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

But the admin are still not protected with a SSL. I can free type the URL in the browser like: http://bargaincollection.com ...... and in this way only the first page shows as ssl and when I click on a link the next page is not protected. I was wondering if there is other pages to edit for this purpose, like .htaccess or anything else?

Thank you.

Regards,

Posted
Hi,

I have the same problem too. I have changed the configure.php in the admin/includes as you can see here:

define('HTTP_SERVER', 'http://bargaincollection.com');
?define('HTTP_CATALOG_SERVER', 'http://www.bargaincollection.com');
?define('HTTPS_CATALOG_SERVER', 'https://bargaincollection.com');
?define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
?define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
?define('DIR_WS_ADMIN', '/shop/admin/');
?define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
?define('DIR_WS_CATALOG', '/shop/');
?define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

But the admin are still not protected with a SSL. I can free type the URL in the browser like: http://bargaincollection.com ......? and in this way only the first page shows as ssl and when I click on a link the next page is not protected. I was wondering if there is other pages to edit for this purpose, like .htaccess or anything else?

Thank you.

OK never mind. I found the answer.

Thanks

Regards,

Archived

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

×
×
  • Create New...