Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

httpS Login pages, account and checkout not working with SSL


potatocake

Recommended Posts

Hi,

 

Sorry I need some help with my SSL. Somehow my account, login, checkout pages aren't directing to https. Ive followed instructions on another thread:

How to install SSL on OSC: A Simple 1-2-3 Instruction, Simple, straighforward instructions.

 

and the admin page is working fine with https but not those 3 pages. I tried loading https by typing in the URL but I get a padlock that has a red slash going diagonal, and when you hover over it, it states:

 

"warning: contains unauthenticated content"

 

 

I have a dedicated ip address and the SSL was installed on www.d3bakery.com. I have also used the STS templates contribution before my SSL was installed.

 

Here is the code in my .htaccess files:

catalog/.htaccess

 

# $Id: .htaccess 1739 2007-12-20 00:52:16Z hpdl $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
 <IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
		 nokeepalive ssl-unclean-shutdown \
		 downgrade-1.0 force-response-1.0
 </IfDefine>
</IfModule>

# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter

# AcceptPathInfo On

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)

# php_value session.use_trans_sid 0
php_value register_globals 1

RewriteEngine on
RewriteCond %{HTTP_HOST} ^d3bakery.com$
RewriteRule ^(.*)$ http://www.d3bakery.com/$1 [R=301,L]

 

 

catalog/admin/.htaccess

 

# $Id: .htaccess 1739 2007-12-20 00:52:16Z hpdl $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
 <IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
		 nokeepalive ssl-unclean-shutdown \
		 downgrade-1.0 force-response-1.0
 </IfDefine>
</IfModule>

# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter

# AcceptPathInfo On

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)

# php_value session.use_trans_sid 0
php_value register_globals 1

 

 

Here are my config files

catalog/includes/configure.php

 

  define('HTTP_SERVER', 'http://www.d3bakery.com');
 define('HTTPS_SERVER', 'https://www.d3bakery.com');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', '.d3bakery.com');
 define('HTTPS_COOKIE_DOMAIN', '.d3bakery.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');

 

 

catalog/admin/includes/configure.php

   define('HTTP_SERVER', 'https://www.d3bakery.com');
 define('HTTP_CATALOG_SERVER', 'https://www.d3bakery.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.d3bakery.com');
 define('ENABLE_SSL_CATALOG', true);

 

 

If anyone could get back to me soon it would be much appreciated. I really need help to get this working and have been searching hours for a solution. Please help.

 

Thanks alot

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...