Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ssl admin not secure


triversedesigns

Recommended Posts

Posted

Hi all,

 

I have configured both the catalog and admin for ssl use using the https, it works for the catalog but in admin it wont stay in as https and comes up as not secured...this is the code for my admin configure.php file

 

  
define('HTTP_SERVER', 'http://bodyboardmart.com'); 
define('HTTP_CATALOG_SERVER', 'http://bodyboardmart.com/catalog/');
define('HTTPS_CATALOG_SERVER', 'https://bodyboardmart.com/catalog/');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); 
define('DIR_WS_ADMIN', '/admin/');

 

can anyone help?

 

 

thanks for your time

Posted
  
define('HTTP_SERVER', 'http://bodyboardmart.com'); 
define('HTTP_CATALOG_SERVER', 'http://bodyboardmart.com/catalog/');
define('HTTPS_CATALOG_SERVER', 'https://bodyboardmart.com/catalog/');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); 
define('DIR_WS_ADMIN', '/admin/');

 

can anyone help?

thanks for your time

 

I am having the same problem myself. I notice the line:

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

and it looked a bit odd to me. My /catalog/admin/includes/configure.php said:

 

define('DIR_FS_DOCUMENT_ROOT', '/home/moonl/public_html/catalog/');

 

but it still didn't work. I tried both ways to no avail.

 

Help us! :)

Posted
I am having the same problem myself. I notice the line:

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

and it looked a bit odd to me. My /catalog/admin/includes/configure.php said:

 

define('DIR_FS_DOCUMENT_ROOT', '/home/moonl/public_html/catalog/');

 

but it still didn't work. I tried both ways to no avail.

 

Help us! :)

 

 

I am having the same problem. I will try to play around with .htaccess file to see if it helps and hope some one will have a solution for us.

Posted

I found a contribution that I *thought* would be the answer to all our problems!

 

http://www.oscommerce.com/community/contributions,3479/

 

I followed the directions to the letter. It made quite a bit of sense to me, really.

 

After completing the instructions, I went into my Admin and attempted to view an old order just to see if it would come up under https as the "secured" icon in the main admin page still showed unsecured.

 

Upon clicking the "edit" button for the order.... I got the infamous 404!!! ARGH!

 

I also have the MVS 1.1 contrib installed, so perhaps this messed with it. It still seems to me that there should be an easier way to get the admin secured! It seems like such a basic requirement!

 

Perhaps one of you [without the MVS installed] will be able to make the contrib work. Do let me know, as I will look into it further if one of you finds success with it!!

  • 4 weeks later...
Posted

Here is my admin configure.php. The htaccess seems to give me problems.

 

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

define('HTTP_CATALOG_SERVER', 'https://www.shiplinux.com');

define('HTTPS_CATALOG_SERVER', 'https://www.shiplinux.com');

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

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted
Here is my admin configure.php. The htaccess seems to give me problems.

 

Nate: It looks like on the second line of your code you previously posted, it says:

 

define('HTTP_CATALOG_SERVER', 'https://www.shiplinux.com');

 

Try changing the "https" to "http". See if that helps.

 

 

 

Dutch1: Which .htaccess file needs that code, and where in the file should we insert it?

Archived

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

×
×
  • Create New...