Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Admin non secure


NewBudda

Recommended Posts

Hi,

before you tell me that this has already been answered: This post http://www.oscommerce.com/forums/index.php?showtopic=32224&hl=SSL is very confusing...

 

I have just installed SSL and teh catalog side works fine (v2.2 RC2a) however after logging into the admin account all links point back to http.

 

My includes/configure.php:

define('HTTP_SERVER', 'http://domain.de');
 define('HTTPS_SERVER', 'https://www.domain.de');
 define('ENABLE_SSL', 'true');
 define('HTTP_COOKIE_DOMAIN', 'www.domain.de');
 define('HTTPS_COOKIE_DOMAIN', 'www.domain.de');
 define('HTTP_COOKIE_PATH', '/shop/');
 define('HTTPS_COOKIE_PATH', '/shop/');
 define('DIR_WS_HTTP_CATALOG', '/shop/');
 define('DIR_WS_HTTPS_CATALOG', '/shop/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

My admin/includes/configure:

define('HTTP_SERVER', 'https://www.domain.de');
 define('HTTP_CATALOG_SERVER', 'http://www.domain.de');
 define('HTTPS_CATALOG_SERVER', 'https://domain.de');
 define('ENABLE_SSL_CATALOG', 'true');
 define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/domain.de/httpdocs/shop/');
 define('DIR_WS_ADMIN', '/shop/admin/');
 define('DIR_FS_ADMIN', '/var/www/vhosts/domain.de/httpdocs/shop/admin/');
 define('DIR_WS_CATALOG', '/shop/');
 define('DIR_FS_CATALOG', '/var/www/vhosts/domain.de/httpdocs/shop/');

 

What I am missing here? Thank you so much for your help!

Open Source Newsletter: PhPList

Open Source Questionnaire: Lime Survey

Link to comment
Share on other sites

In the includes FOLDER (catalog and admin) where the normal configure.php files are there is a FOLDER named local

 

On some installs there may be a configure.php inside the local FOLDER (catalog and admin)

 

If there is, anything in it overrides anything in the normal configure.php files.

 

Check for the other config file in the /admin/includes/local folder.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

 define('HTTP_SERVER', 'http://domain.de');
 define('HTTPS_SERVER', 'https://www.domain.de');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', 'http://www.domain.de');
 define('HTTPS_COOKIE_DOMAIN', 'https://www.domain.de');

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Link to comment
Share on other sites

I like that better.

:thumbsup:

 

I never noticed before that the vanilla RC2a admin html_output references HTTPS_SERVER, but in the vanilla config file it's never defined...

:blink:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...