Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shared SSL Install Not Working


JustPhish

Recommended Posts

I have read the ssl guide for the innocent and I have tried things many different ways but I just can't seem to figure out what I am doing wrong. I have a shared SSL cert with my host. When I install it into my config files and then upload I go to my site and proceed to checkout. When I checkout I don't see the padlock nor do I get the httpS in the address bar.

 

Can anyone see where I am going wrong?

/includes/config

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.justphish.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.justphish.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://secure1.hostave.com/ssl/justphis/');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', 'justphish.com');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/nfs/cust/8/44/55/55448/web/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'mysql.justphish.com'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'Hippity');
 define('DB_SERVER_PASSWORD', 'Dippity');
 define('DB_DATABASE', 'justphis');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

and /admin/includes/config

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.justphish.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.justphish.com');
 define('HTTPS_CATALOG_SERVER', 'https://secure1.hostave.com/justphis/');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/nfs/cust/8/44/55/55448/web/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/nfs/cust/8/44/55/55448/web/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/nfs/cust/8/44/55/55448/web/catalog/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', 'mysql.justphish.com'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'Hippity');
 define('DB_SERVER_PASSWORD', 'Dippity');
 define('DB_DATABASE', 'justphis');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

Thanks

Link to comment
Share on other sites

sorry, i was running out the door when i did that. it isn't defined. you need to put the secure server domain in there. looks like you have it in your admin's configure file ok.

Link to comment
Share on other sites

Yes thank you, I had inadvertently left out /ssl/ before the /justphis. I corrected that and uploaded everything but it doesn't seem to have made a difference.

 

I don't know if I am supposed to put anything after the /justphis as my host tells me that I am supposed to use this url..

 

https://secure1.hostsave.com/ssl/your_usern...securepage.html

 

Be sure to replace ?your_username? with your account's main username (no spaces please) and ?securepage.html? with the name of the page to be encrypted.

 

Since I don't know if I am supposed to encrypt one certain page with OSC I left it at justphis. I don't know if I should add /catalog after that or what.

Link to comment
Share on other sites

I can't seem to get that to work either.

 

Just play around until you can get your site to appear at that secure1 address then post back. It's not really an osC issue.

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

There's some kind of redirect going on there.

 

Drop a simple index.html file in your root folder and see if this finds it.

 

https://secure1.hostsave.com/ssl/justphis/index.html

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

There's some kind of redirect going on there.

 

Drop a simple index.html file in your root folder and see if this finds it.

 

https://secure1.hostsave.com/ssl/justphis/index.html

 

 

Yes it does find it. My regular store is in my root an my index file is index.htm

 

When I type in https://secure1.hostsave.com/ssl/justphis/index.htm it brings up my regular homepage except all the pictures are red X's.

Link to comment
Share on other sites

Yes it does find it. My regular store is in my root an my index file is index.htm

 

When I type in https://secure1.hostsave.com/ssl/justphis/index.htm it brings up my regular homepage except all the pictures are red X's.

 

:(

 

Too bad, this probably means that you're on one of those systems that has a second directory for secure (https) pages. You can copy everything into that directory or try setting up a symbolic link. If the server is running Plesk then the symlinks may not work. Your hosting company can fix this for you in the httpd.conf file which you can't touch.

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

Try this:

https://secure1.hostave.com/~justphis/

 

to see if you luck or not.

 

Alanos

 

I tried that and I get the same redirect to the INetU page.

 

Since my host says the url must point to a specific page, can't I just make it point to /checkout_payment.php and have that protected? Would that work?

 

Alan, which directory would that be? In my root I see only the following directories...

 

.config

.sessions

cgi-bin

logs

web

 

My catalog and other site resides in the "web" directory.

Link to comment
Share on other sites

Why don't you ask your hosting company why you're getting this behavior? Looking at the webpage I'm redirected to I suspect you're with some company which is merely reselling space.

 

To be honest with you I'd dump that host, why bother with difficulties like this when there are inexpensive hosts that run osC with zero hassles?

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

Why don't you ask your hosting company why you're getting this behavior? Looking at the webpage I'm redirected to I suspect you're with some company which is merely reselling space.

 

To be honest with you I'd dump that host, why bother with difficulties like this when there are inexpensive hosts that run osC with zero hassles?

 

 

As much as I don't want to have any down time on my regular store, I certainly will switch hosts if it would be in my best interests. However I really don't know which to go to. Can you recommend any?

 

I started with onestop.net. They guaranteed 99% up time but I kept a log of how often and for how long the servers were down and it was much less than that so I swtiched.

 

I then moved to ipowerweb, but then they wanted to charge me something like $70 a month for a basic hosting plan that would allow me to use OS Commerce.

 

So I ended up with hostsave.com. I paid for a years time and I got what looked like a good deal as far as storage goes which is important for me because my store is heavily dependant on photos. It was not until just the past few weeks that I became aware of them not allowing me to buy an employ my own individual certificate on their host.

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...
As much as I don't want to have any down time on my regular store, I certainly will switch hosts if it would be in my best interests. However I really don't know which to go to. Can you recommend any?

 

I started with onestop.net. They guaranteed 99% up time but I kept a log of how often and for how long the servers were down and it was much less than that so I swtiched.

 

I then moved to ipowerweb, but then they wanted to charge me something like $70 a month for a basic hosting plan that would allow me to use OS Commerce.

 

So I ended up with hostsave.com. I paid for a years time and I got what looked like a good deal as far as storage goes which is important for me because my store is heavily dependant on photos. It was not until just the past few weeks that I became aware of them not allowing me to buy an employ my own individual certificate on their host.

 

Thanks.

 

 

 

Just a thought,

 

but have you copied over the oscommerce dir to your secure folder?

 

Sorry if this has already been said just quickly reading through these to fix my own prob.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...