Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL and the 404


deepfreeze

Recommended Posts

My cart runs on a shared http://www.abc.com

 

SSL is on same shared server with different URL https://www.secure.com

 

I have configured both Configure.php's correctly but still get 404.

 

I looks like the request is looking for the required page ON the secure server.

 

Should i be uploading files from the shopping cart to the secure server?

 

I'm sure this has been answered before but I have scouted for hours and not found a definitive answer.

Link to comment
Share on other sites

you will need to find out from your host how you are to access your ssl site, as each site is different. pointing us to abc.com doesnt allow us to help you, if you pointed us to your actual site, some may be able to help figure it out.

Link to comment
Share on other sites

See your point :o

 

Main site is http://www.datnat.com/bernies/catalog

 

SSL is https://www.secure-online-payment.com/datnat

 

Catalog configure.php is as follows;

 

define('HTTP_SERVER', 'http://www.datnat.com');

define('HTTPS_SERVER', 'https://www.secure-online-payment.com/datnat'); define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.datnat.com/');

define('HTTPS_COOKIE_DOMAIN', 'www.secure-online-payment.com');

define('HTTP_COOKIE_PATH', '/bernies/catalog/');

define('HTTPS_COOKIE_PATH', '/bernies/catalog/');

 

Admin configure.php is as follows;

 

define('HTTP_SERVER', 'http://www.datnat.com');

define('HTTP_CATALOG_SERVER', 'http://www.datnat.com');

define('HTTPS_CATALOG_SERVER', 'https://www.secure-online-payment.com/datnat');

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

 

Hope this is of help

Link to comment
Share on other sites

I'm having a similiar problem. I'm upgrading my store from 2.1 to 2.2m2, everything work fine as far 2.1 store. But when testing purchasing process in my 2.2m2 store(which in seperate directory) the following happens:

 

I start out at a www.mystore.com/ver2.2m2/index.php...

 

then I go to purchase a product

 

switch to secure mode to log in into test account

I use a shared SSL domain

 

which is https://sharedssl.site.com/mystore/ver2.2m2/...

 

then go through the process confirming everything and get email stating I purchased the product.

 

However...after https://sharedssl.site.com/

mystore/ver2.2m2/checkout_successful.php...

I get redirected to page https://sharedssl.site.com/ver2.2m2/index.php causing an 404

What should happen is redirect should send the browser to the following address https://sharedssl.site.com/mystore/ver2.2m2/index.php. This as far as got I'm still researching the problem, hope this help and I'll let you know if I find a solution.

 

cheers,

elect

Link to comment
Share on other sites

I guess you are saying there is a crossover between cookie domain and https server (i think) but I seem to be blind on this one......sorry - missing it :(

No, what I'm saying is that you should be able to access your entire site via the ssl url and it should look just like the non ssl link but most likely a little slower.

 

Just think.

 

A site with an https://mysite.com ssl route looks just like http://mysite.com

 

If you can't see your site through the link you think is your secure link you've got something wrong.

 

Don't blame it on osC settings.

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

Alan,

 

I guess you are trying to help in a cryptic lets get them thinking manner, however, if it's broke it won't work answer is only telling me what I already know!

 

What bit is broke i'm not sure of - however, it seems it's just go f*$k it up and keep doing so until it works, as has been the case with the os system in general.

 

As far as you last comment "Don't blame it on osC settings" goes, who's blamed the osc settings, the URL exists ( I assume you clicked on the link ) - I blame ME but do not seem to be getting much CONSTRUCTIVE advice.

 

Some users are saying no files need to exist in the SSL and some are saying they do need to exist, so you see, it is getting a little confusing.

 

No where is there a nearly definitive guide (yes I know the servers vary) but the only guide is alter SSL to True (hmmmmm).

 

If i knew what i was doing wrong then it would work, and looking at the amount of topics with the same problems it clearly is a problem. Hell, i would even write a topic in Wikki for setting this SSL up - but alas I have not cracked it yet.

 

If you consider this response harsh or offensive i apologise for venting my total frustration on this matter!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...