Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL at admin level


Guest

Recommended Posts

Posted

I have set up my admin/includes/configure file so that all my admin pages are secure (using SSL from 1&1).

 

If I go to www.site.co.uk/admin it asks me for a password (protected dir), this lets me see the front Admin page. If I then click any of the contents, ie Catalog, it asks for the password again (same protected dir) and at this point makes the site go secure. Note, I dont have a catalog folder.

 

How can I do this so it goes secure immidiately?

 

My config file contains:

 

define('HTTP_SERVER', 'https://www.site.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'https://www.site.co.uk');

define('HTTPS_CATALOG_SERVER', 'https://www.site.co.uk');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

which I thought would do it.

 

Thanks

 

W

Posted

Change to this.and connect with the https address to your admin.

 

define('HTTP_SERVER', 'https://www.site.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.site.co.uk');//this should not be https

define('HTTPS_CATALOG_SERVER', 'https://www.site.co.uk');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

Posted
I have set up my admin/includes/configure file so that all my admin pages are secure (using SSL from 1&1).

 

If I go to www.site.co.uk/admin it asks me for a password (protected dir), this lets me see the front Admin page. If I then click any of the contents, ie Catalog, it asks for the password again (same protected dir) and at this point makes the site go secure. Note, I dont have a catalog folder.

 

How can I do this so it goes secure immidiately?

 

My config file contains:

 

define('HTTP_SERVER', 'https://www.site.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'https://www.site.co.uk');

define('HTTPS_CATALOG_SERVER', 'https://www.site.co.uk');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

which I thought would do it.

 

Thanks

 

W

 

there is two possibilities for this:

 

either (if on Linux) edit your htaccess file to have this - with your admin path

SSLRequireSSL

ErrorDocument 403 https://www.yourdomain.com/admin/

 

or use the redirecting wrapper tool in your cPanel

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

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

×
×
  • Create New...