Jezthomp Posted November 19, 2004 Posted November 19, 2004 Hello After all the problems with fasthosts i changed to flump and have now got a private ssl. They have setup a dedicated IP and i have installed the cert. I have a folder on my site called ssl, with two folders in it certs and keys. Do i need to upload my catalog to that or can i leave alone. Here is my configure.php's as i have changed to but they are not working. define('HTTP_SERVER', 'http://uvproducts.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://uvproducts.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'uvproducts.co.uk'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_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', '/home/uvjez/public_html/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', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'uvjez_interarc'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', 'uvjez_uvProducts'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> define('HTTP_SERVER', 'http://uvproducts.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://uvproducts.co.uk/catalog'); define('HTTPS_CATALOG_SERVER', 'https://uvproducts.co.uk/catalog'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/uvjez/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/uvjez/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/uvjez/public_html/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', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'uvjez_interarc'); define('DB_SERVER_PASSWORD', '*********'); define('DB_DATABASE', 'uvjez_uvProducts'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Thankyou for looking and any help :)
jmal786 Posted November 19, 2004 Posted November 19, 2004 Hello After all the problems with fasthosts i changed to flump and have now got a private ssl. They have setup a dedicated IP and i have installed the cert. I have a folder on my site called ssl, with two folders in it certs and keys. Do i need to upload my catalog to that or can i leave alone. Here is my configure.php's as i have changed to but they are not working. Thankyou for looking and any help :) <{POST_SNAPBACK}> Hi guys, im having the same trouble and this was the only post i found relative to my situation. So i bought a SSL certificate and installed it using Cpanel. I tried configuring the config file in the includes folder such as: define('HTTP_SERVER', 'http://domainname.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://domainname.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.domainname.com'); When i go to the website it works fine but when i try to log in or use any secure pages it just goes blank "cannot be displayed" My certificate is not shared. Now when i use a ftp or cpanel to view my files i dont see a http: folder or https: folder i do have a folder called "ssl" and two folders in it called "certs" and "keys". Now have i not properly installed the ssl or whats going on? help a fellow out guys (or gals). Thanks.
♥Vger Posted November 19, 2004 Posted November 19, 2004 When these ssl certs were installed did you get your hosting company to reboot the httpd conf files? That has to be done for the ssl to complete its installation properly. For your https_cookie_domain settings it's www.yourdomain.com, and the same for https_cookie_domain settings (with a full ssl installed) Jezthmp - why have you put your site in a 'catalog' folder? Best to run it at the root e.g. http://www.yourdomain.com This [define('DIR_FS_CATALOG', '/home/uvjez/public_html/catalog/');] looks like the file pathway for a subdomain. Check this is the correct path with your hosting company. Vger
Jezthomp Posted November 19, 2004 Author Posted November 19, 2004 I e-mailed my cert to flump myself and they said it was installed. I just thought it was to change the http:// and the enable to true. I must have done about 20 different variations of the configure.php still with no luck. Dont know what to do :( Thankyou for you help vger
♥Vger Posted November 19, 2004 Posted November 19, 2004 It doesn't sound like you're having much luck with your hosting does it? Without knowing the setup your new hosting company uses it's difficult to advise as to what may be wrong. I have no experience of cPanel. Lately I have been using Ensim Pro Control Panel - which is very satisfactory. Vger
Jezthomp Posted November 19, 2004 Author Posted November 19, 2004 No it doesnt, i e-mailed the hosting company who have been very good. And they said what you have suggested was wrong. So i assume my configure.php must be wrong. Do they look ok to you? Cheers:)
♥Vger Posted November 19, 2004 Posted November 19, 2004 I took a quick look at them. Their accounts are overdue at companies house, and they've been going for two years, and changed their name last year from Net Extense Ltd to Flump.Net Ltd. They have their own servers from ukdedicated.com - but how many they have I don't know. They are using RedHat 8, which is now quite old and outdated. RedHat 9 isn't even being fully supported any more. Vger Mmmm sorry, just realised you meant the config files! Will have another lookat them when I get a mo'
♥Vger Posted November 19, 2004 Posted November 19, 2004 catalog/includes/configure.php <?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.uvproducts.co.uk'); // eg, http://localhost - should not be empty for productive servers ?define('HTTPS_SERVER', 'https://www.uvproducts.co.uk'); // eg, https://localhost - should not be empty for productive servers ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', 'www.uvproducts.co.uk); ?define('HTTPS_COOKIE_DOMAIN', 'www.uvproducts.co.uk'); ?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', 'your pathway here'); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection ?define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers ?define('DB_SERVER_USERNAME', '*******'); ?define('DB_SERVER_PASSWORD', '*************'); ?define('DB_DATABASE', '*******************'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> You should then be able to work out what's wrong with admin/includes/configure.php from viewing the file above. Vger
Jezthomp Posted November 19, 2004 Author Posted November 19, 2004 Thankyou so much Vger it works fine now even get the little padlock which i was worrid about not appearing. Now you me worrid about flump, they were recommend to me and with this set up have been ten times better than fasthosts ever were. Thanks again
Recommended Posts
Archived
This topic is now archived and is closed to further replies.