Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL problems


KingCold

Recommended Posts

Here's my setup:

 

I'm running the OSC I got from Webmasters.com. I also have a SSL folder (secured.com/~fxxxx, wher xxxx is my unique folder number). What do I need to do next to encrypt my store so I can finally get this all setup?

 

Also I'm reading about configuration files that need to be changed, could someone please tell me where they are, and what needs to be changed so I can get this cart on the road....

 

Thank you,

Jason

www.King-Cold.com

Link to comment
Share on other sites

Agh, sounds like you have a stupid two-folder system, one for http files and another for https.

 

Basically you need to duplicate your entire website in the secure folder, but you can leave your 'admin' folder out of the http folder.

 

You need to edit the two configure.php files:

incudes/configure.php

admin/includes/configure.php

 

Vger

Link to comment
Share on other sites

From reading the posts above I'm not sure you have the two folder system.

 

This: secured.com/~fxxxx just indicates the use of an ssl proxy.

 

With your ftp program look at the directory structure. Do you see a folders named something like private_html or secure_html?

 

Is the site up yet?

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Well, I meant for you to look around on the server via the http address not the ssl one. The servers which use the two folder system clearly show both folders whatever their names.

 

If you have the two folder system the https proxy address would take you directly into the secure folder. So have another look, but this time via the normal url.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

neither of the servers that I am using have either of those two folders...

Well then, that's good. Two folder systems suck.

 

I think a lot of people misunderstand how ssl proxy servers work.

 

When you see an address like this:

 

https://secured.com/~fxxxx/blahblah it just means that the ssl traffic is passing through an intermediate server, a proxy server. Why?

 

It's because the facility only needs ssl certification on one or maybe a few servers. The ssl proxy server handles traffic to the outside world and passes the requests back and forth to your server in house.

 

So all you need to do is set this line:

 

define('HTTPS_SERVER', '');

 

to

 

define('HTTPS_SERVER', 'https://secured.com/~fxxxx/httpdocs'); or wherever your root is.

 

and set:

 

define('ENABLE_SSL', true);

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...