OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: SSL on Admin Section
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Installation and Configuration
b2blogic
Hi,

I have an SSL certificate installed on my site, and it is working fine to the catalog portion of the application. The problem comes when I go to the admin section of the site. It does not secure this section by default, and if i put the https:// in the url, each link points to http://.

Do i have to make a change to my .htaccess file? Or is there something in oscommerce to change?

Thanks!
theantiquestore
In your admin/includes/configure.php you could try the following:

define('HTTP_SERVER', 'https://www.????.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.????.com');
define('HTTPS_CATALOG_SERVER', 'https://www.????');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

For my sites I have had to make the first HTTP_SERVER https for the admin to be secure.

Worth a try? smile.gif
b2blogic
Thanks for the help! That worked!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.