PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 9-20-03, 11:36 PM   #1
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Unhappy Need help with my SSL

Ok. I am having the same problems as most people that are trying to use their SSL for their OsCommerce Site. Any site that uses the HTTPS does not work. Here is a copy of most of my Config.php
Quote:
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 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.gunloads.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.gunloads.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://www.gunloads.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.gunloads.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
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', '/www/l/lamur/htdocs/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
You can check out the catalog here:
www.gunloads.com/catalog
Just go to login and you can see the problem.
Any suggestions more then welcome.
Thanks
Gloads is offline  
Old 9-21-03, 12:03 AM   #2
tbonekkt
 
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
Your SSL page isn't correct. It should be in the form:

https://servername.powweb.com:xxxxx

replacing xxxxx with your correct port assigned in OPS.
tbonekkt is offline  
Old 9-21-03, 12:03 AM   #3
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
'https://www.gunloads.com' Is not the proper URL for your ssl.

Log into OPS under SSL for the proper URL to use.

=)
Jade
Jade Dragon is offline  
Old 9-21-03, 02:43 AM   #4
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Ok, I changed it to https://www09.powweb.com/~lamur.
I get a bit farther, I hit the login button and get:

Warning: session_start(): open(/tmp/sess_d54dff2c3526ffbe1d595936e1413878, O_RDWR) failed: Permission denied (13) in /www/l/lamur/htdocs/catalog/includes/functions/sessions.php on line 67

YOu can view it yourself if you hit the login button. Whats this mean?
Gloads is offline  
Old 9-21-03, 02:56 AM   #5
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Also at the bottom of the page i have this:

Quote:
Warning: session_write_close(): open(/tmp/sess_24eb15977f671c72040db34cc2a8d816, O_RDWR) failed: Permission denied (13) in /www/l/lamur/htdocs/catalog/includes/functions/sessions.php on line 106

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /www/l/lamur/htdocs/catalog/includes/functions/sessions.php on line 106
Gloads is offline  
Old 9-21-03, 06:43 AM   #6
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Make sure that you have this in your catalog/includes/configure.php:

define('STORE_SESSIONS', 'mysql');
__________________
Steve
stevel is offline  
Old 9-21-03, 02:37 PM   #7
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Well somebody is a genious!
Works like a charm!
Thanks so much!
Gloads is offline  
Old 9-21-03, 07:18 PM   #8
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
**NEW ERROR**

I have been testing about everything on my board. And I noticed that when I update an order (Processing, or Delivered) and it sends me an E-mail giving the Customer an update that it gives me the address:
https://gunloads.com/catalog/account...php?order_id=3

Where it should be giving me the address:
https://www09.powweb.com/~lamur/cata...php?order_id=3

with the proper SSL address. I am not sure where to check for the setting to change this.
But when you first make an order, the E-mail saying what I ordered gives me the Correct SSL link.
Any Ideas?
Gloads is offline  
Old 9-21-03, 08:38 PM   #9
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
In admin/includes/configure.php, you want:

define('HTTPS_CATALOG_SERVER', 'https://www09.powweb.com/~lamur');

I also suggest that HTTP_SERVER in this same file be set to the same value. Otherwise, your navigation through the admin panel won't be secured.
__________________
Steve
stevel is offline  
Old 9-21-03, 09:08 PM   #10
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Thanks, that worked out good.
I know when I finally release this shopping cart, I will be getting alot of people asking what:
'https://www09.powweb.com/~lamur'
means in there url to get to me. I especially hate my username being a part of it. Oh well.
Gloads is offline  
Old 9-21-03, 09:27 PM   #11
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Well, it's better than them seeing an error because their firewall blocks non-standard HTTP ports, which is what would have happened up to a few weeks ago. But I agree that exposing the username in this fashion would not be my first choice.
__________________
Steve
stevel is offline  
Old 9-21-03, 11:05 PM   #12
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
I heard powweb was trying to work on something better then this? Am I correct?
Gloads is offline  
Old 9-21-03, 11:06 PM   #13
tbonekkt
 
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
They are working on a system where users can bring their own SSL certificates and use them with PowWeb packages.

However, implementation timeline is not known. There have been a few admin posts concerning it, but nothing concrete.
tbonekkt is offline  
Old 9-22-03, 01:25 AM   #14
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Our own SSL Certs would cost extra $$ wouldnt they? I am pretty new to the whole SSL thing.
Gloads is offline  
Old 9-22-03, 09:38 AM   #15
tbonekkt
 
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
Yes they do cost extra, and they're not cheap by any means.
tbonekkt is offline  
Old 9-22-03, 11:28 AM   #16
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Maybe its not so bad
Gloads is offline  
Old 9-22-03, 11:54 AM   #17
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
The URL with the username IS the new system. Previously, you were assigned a unique and non-standard port number. I wish they had surveyed users who expressed an interest in SSL to see what solution would work best for the customers.
__________________
Steve
stevel is offline  
Old 9-22-03, 01:27 PM   #18
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
If they could just incorporate the name of the purchased Domain Name, thats all I would like.

www09.powweb.com/gunloads/ etc etc

People would see the username url and wonder where they are going...
Gloads is offline  
Old 9-22-03, 02:33 PM   #19
tbonekkt
 
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
Just like they do the temp URLs for new packages...

http://domaincom.powweb.com

Something along those lines would have definitely gotten my vote...
tbonekkt is offline  
Old 9-22-03, 02:53 PM   #20
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Never thought of that... That would be perfect.

I vote yes
Gloads is offline  
Old 9-22-03, 04:40 PM   #21
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Well, that would require them to keep, potentially, tens of thousand of additional entries in the DNS tables for powweb.com and in the virtual host tables, and I imagine that would have a performance impact. But I agree that something along that line would be nice.
__________________
Steve
stevel is offline  
Old 9-22-03, 04:44 PM   #22
tbonekkt
 
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
Very true Steve. There still has to be a better solution available.
tbonekkt is offline  
Old 9-22-03, 05:21 PM   #23
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
Quote:
Tom

Today's deep thought:

Windows 98:
A 32 bit extension of a 16 bit file system for an 8 bit operating system for a 4 bit processor made by a two-bit company that can't stand one-bit of competition.

I almost fell of my chair laughing at that.
Gloads is offline  
Old 9-22-03, 05:34 PM   #24
tbonekkt
 
Join Date: Dec 2002
Location: TX
Posts: 12,381
Reputation: 248
Quote:
Originally posted by gunloads.com
I almost fell of my chair laughing at that.




I'm an Apple man myself...
tbonekkt is offline  
Old 9-23-03, 12:53 AM   #25
Gloads
Registered
 
Join Date: Sep 2003
Location: Right Here
Posts: 18
Reputation: 5
the only G4 i want is a graphic card. I am not much of an apple man. I like good games
Gloads is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:39 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.