Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Question


Guest

Recommended Posts

Posted

I hope I put this in the right place.

I am using yahoo's business hosting which offers a shared ssl (I believe its shared it wasn't explicitly stated that way)

 

The way yahoo's stuff works is, any sub directories named exactly "ssl" lowercase and without the quotes will automatically redirect the site to the ssl server.

 

So far I have my configure.php file set like this:

--------------------------------- file excert begin ---------------------------------------

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

 

servers

define('HTTPS_SERVER', 'https://s.p6.hostingprod.com/@www.valleypoolstore.com'); // eg, https://localhost - should not

 

be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.valleypoolstore.com');

define('HTTPS_COOKIE_DOMAIN', 'www.valleypoolstore.com');

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

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

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/ssl/');

---------------------------------------------------------------------------- end file excert ------------------

currently, when I click on check out, it takes me to a page that says, file not found however the address appears to be correct in the top. I am as of this post in the middle of uploading a duplicate of my catalog directory into my catalog/ssl/ folder which I created.

 

I just need alittle help getting this set up correctly if anyone has the time to work with me on this.

Also I was wondering if anyone else uses Yahoo business hosting to set their oscommerce store?

 

Thank you very much this is one of the last things holding me back from opening my store!

Posted

Do a search of this forum for "Yahoo", and you'll get plenty of hits. Can't promise you'll like the results though.

 

Vger

Posted
Do a search of this forum for "Yahoo", and you'll get plenty of hits. Can't promise you'll like the results though.

 

Vger

 

 

Vger, thank you for the reply.

 

I've been doing that all morning however I did decide to take your advice and try one more time but this time with a more indepth but yet more generalized look into the searches (rather than just look for ssl issues). I see that alot of people are having problems with every step. I did have some initial problems but have solved them (using mysql as the host name was very weird indeed). The only thing left is this ssl problem.

I am going to try one more thing here I found in one of the other posts on the ssl topic. If it does not work I just need a standard solution to a shared server set up.

 

If I cannot find a solution to it, are there any alternate hosts you or anyone else can suggest? Preferably in the United States?

 

Thank You again.

Kris

Posted
Do a search of this forum for "Yahoo", and you'll get plenty of hits. Can't promise you'll like the results though.

 

Vger

 

For anyone who is reading this thread. I found a halfway solution to this problem.

 

So I keep my files in the www.DOMAIN.com/catalog directory. I created a folder in the domain root called, "ssl"

 

I had to place copies of all the files from the catalog root into the ssl folder and also copies of the include and template folders into the ssl folder. I am not sure that this was a good idea as now there are duplicates of many files including the configure.php which sits in the catalog/includes directory normally. My configure.php now looks like this:

 

---------------------------------FILE START-----------------------------

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

 

servers

define('HTTPS_SERVER', 'https://valleypoolstore.com'); // eg, https://localhost - should not be empty for productive

 

servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.valleypoolstore.com');

define('HTTPS_COOKIE_DOMAIN', 'valleypoolstore.com');

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

define('HTTPS_COOKIE_PATH', '/ssl/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/ssl/');

-----------------------------------------FILE CLIP END-----------------------

 

If anyone out there knows how having these duplicate files in the root/ssl folder can affect the store let me know please.

I hope this helps anyone else out there that is trying to use Yahoo to host there store.

 

Thanks

Kris

 

Everything appears to be working except the lock on the admin panel but that seems to be a superficial feature designed to ease minds as far as I can tell.

Posted

Hi valleypoolstore, thanks for sharing the info. in fact i was told by Yahoo staff saying their platform does not support osCommerce. anyways, i have install oscommerce last nite and there are tons of problem got to be fix. i have 3 questions, hope you can help.

 

1. when you copy the files to 'ssl', do you also have to go to both admin panel to update the settings and products?

2. how or where to change the write/execute permission of the configure.php file?

3. i'm using web hosting starter plan, it shouldn't make a difference, right?

 

Thank you so much in advance!

Posted
in fact i was told by Yahoo staff saying their platform does not support osCommerce

 

That's worth noting for future reference - a rare piece of honesty. As they have told you that themselves, my advice would be to move on.

 

Vger

Posted
Hi valleypoolstore, thanks for sharing the info. in fact i was told by Yahoo staff saying their platform does not support osCommerce. anyways, i have install oscommerce last nite and there are tons of problem got to be fix. i have 3 questions, hope you can help.

 

1. when you copy the files to 'ssl', do you also have to go to both admin panel to update the settings and products?

2. how or where to change the write/execute permission of the configure.php file?

3. i'm using web hosting starter plan, it shouldn't make a difference, right?

 

Thank you so much in advance!

 

I only copied some of the files. I copied the files (not the subfolders) from the catalog directory into the ssl, and only the "includes" subfolder into the ssl folder (so the files that are called will work). As I run into more problems and solve them I will post them here.

 

Also about the conifgure.php file, You need an ftp program. The program I use is called, FileZilla. You log in to your site by putting in ftp.YOURSITE.com as the address. Log on to your folders and browse to the place where your configure.php file is located. (/catalog/includes/configure.php Should be the location) Once in the correct folder, Right click on configure.php and the very last option should be: File Atributes.. Choose that one and change the numeric value as needed. If you are using CRE Loaded you have to copy the templates folder (if you are using a template) as well.

 

I'm not sure which plan the web hosting starter plan is. I believe that is the same plan I am on. Good luck I hope this helps and I am sorry about the delay.

 

As far as Vger's opinions on yahoo. I can understand the angst. I am just stubborn. I never accept defeat until that is the only thing left!

 

I feel alittle uneasy about having duplicate files on the server but if I can make it work and still keep it secure I'm going to go with it. Also, I haven't put in my inventory as of yet so I am unaware of future possible problems associated with these changes. If the stuff I am posting does not work there is one other little modification I had to make. I made the file locations alittle more generic (takes a small knowledge of php programming to do which i can post if needed). Post and let me know if it worked out or not for you fifiann.

 

Thanks

Archived

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

×
×
  • Create New...