PDA

View Full Version : OsCommerce setup and Powweb SSL


PhilCA
11-21-05, 06:15 PM
Hi all,

I'm trying to set-up OsCommerce with an SSL from Powweb. My URL is like this one for my shopping cart:
http://shopping.mydomainname.com
(with a subdomain)

I know that I need to setup this file:
include/configure.php

define('HTTP_SERVER', 'http://shopping.mydomainname.com/'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://mydomainnamecom.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?

What is the correct URL for this value 'HTTPS_SERVER' with a subdomain using Powweb SSL? Any IDEA?
Thanks
PhilCA

stevel
11-21-05, 09:55 PM
Can't do it with a subdomain whose files reside outside the main package's htdocs area. That's a PowWeb SSL implementation restriction.

If you want to move your store to a subfolder under htdocs and use .htaccess to rewrite the requests, you can enable SSL.

PhilCA
11-22-05, 06:47 PM
Hi all,

First of all, thanks Stevel for all your posts in the forum. I found lots of help within the forum for my pb with OsCommerce. (But It's still really long to find answers... hope Powweb can make our life easier...).

I just find this patch to avoid setting "register_globals=On" on OsCommerce web site while using the SSL from powweb. First, I moved all my OsCommerce files in my htdocs directory to be able to use the SSL from Powweb and applied the following patch. It seems to work fine on my site.
http://www.oscommerce.com/community/contributions,2097/category,3/search,Register+Globals
I applied v1.3a.
Hope it can help other.
PhilCA.

stevel
11-22-05, 10:26 PM
Yes, I've used the Register Globals patch and it does work.

GrizzlyGems
12-19-05, 06:11 PM
great this thread helped me out a lot! thanks :)