FlyingMonkey Posted May 20, 2004 Posted May 20, 2004 I can't seem to figure out what is wrong with the way i setup our shared SSL. When I try to checkout it goes to the cookie error page. We are using 1and1 shared hosting. I setup our configure.php as follows: define('HTTP_SERVER', 'http://www.vegaschickclothing.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.perfora.net/vegaschickclothing.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.vegaschickclothing.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/vegaschickclothing.com/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_IMAGES_LRG', 'images/lrg/'); 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/'); Most likely your question has been answered, please do a search first.
winkphoto Posted May 20, 2004 Posted May 20, 2004 'https://ssl.perfora.net/vegaschickclothing.com' You should remove the .com from this line, and anywhere else where you already have the HTTPS addresss ( ssl.perfora.net) do that and see where you are after that.
FlyingMonkey Posted May 20, 2004 Author Posted May 20, 2004 'https://ssl.perfora.net/vegaschickclothing.com' You should remove the .com from this line, and anywhere else where you already have the HTTPS addresss ( ssl.perfora.net) do that and see where you are after that. Thanks for the reply. Removing the .com causes an "Error: SSL proxy not configured! The SSL proxy service is not availabe for the requested domain. If you are the domain owner, you can enable it through your control panel." Any other ideas? Most likely your question has been answered, please do a search first.
♥Vger Posted May 20, 2004 Posted May 20, 2004 I have just spent days sorting this out. Here is your problem define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net'); change it to this define('HTTPS_COOKIE_DOMAIN', ''); and your HTTPS_COOKIE_PATH should be the same as for HTTP. Hope this helps - Vger
FlyingMonkey Posted May 21, 2004 Author Posted May 21, 2004 I have just spent days sorting this out. Here is your problem define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net'); change it to this define('HTTPS_COOKIE_DOMAIN', ''); and your HTTPS_COOKIE_PATH should be the same as for HTTP. Hope this helps - Vger Thank you, I just changed it to: define('HTTP_SERVER', 'http://www.vegaschickclothing.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.perfora.net/vegaschickclothing.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.vegaschickclothing.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); But, there's still no luck. =( Most likely your question has been answered, please do a search first.
AlanR Posted May 21, 2004 Posted May 21, 2004 I have a 1&1 set up using shared ssl working flawlessly with settings like this. define('HTTP_SERVER', 'http://www.vegaschickclothing.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.perfora.net/vegaschickclothing.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.vegaschickclothing.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net/vegaschickclothing.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); 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)
FlyingMonkey Posted May 21, 2004 Author Posted May 21, 2004 I have a 1&1 set up using shared ssl working flawlessly with settings like this. define('HTTP_SERVER', 'http://www.vegaschickclothing.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.perfora.net/vegaschickclothing.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.vegaschickclothing.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net/vegaschickclothing.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); no luck. =( http://www.vegaschickclothing.com Most likely your question has been answered, please do a search first.
FlyingMonkey Posted May 23, 2004 Author Posted May 23, 2004 =( Most likely your question has been answered, please do a search first.
EricK Posted May 24, 2004 Posted May 24, 2004 Did you define('DIR_FS_CATALOG', ? I installed in /shop/, here are my configure.php settings: define('HTTP_SERVER', 'http://mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.perfora.net/mydomain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net/mydomain.com'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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', '/homepages/7/d*******9/htdocs/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); HTH, EricK
AlanR Posted May 24, 2004 Posted May 24, 2004 no luck. =( http://www.vegaschickclothing.com Get rid of the re-direct. If you want to be in root move the files to root. 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)
FlyingMonkey Posted May 24, 2004 Author Posted May 24, 2004 no luck. =( http://www.vegaschickclothing.com Get rid of the re-direct. If you want to be in root move the files to root. The redirect was designed, so that an opening page could be added. But do you think it's causing the problem? Most likely your question has been answered, please do a search first.
AlanR Posted May 24, 2004 Posted May 24, 2004 Post the exact, current, catalog/includes/configure.php file 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)
FlyingMonkey Posted May 24, 2004 Author Posted May 24, 2004 Did you define('DIR_FS_CATALOG', ? I installed in /shop/, here are my configure.php settings: define('HTTP_SERVER', 'http://mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.perfora.net/mydomain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net/mydomain.com'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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', '/homepages/7/d*******9/htdocs/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); HTH, EricK I have no idea what is wrong still... It seems to use the ssl certificate correctly for everything else except for anything that actually needs to be secure. here's what i have in my file (and yes, i did upload it to the right directory): // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://vegaschickclothing.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.perfora.net/vegaschickclothing.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'vegaschickclothing.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net/vegaschickclothing.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_IMAGES_LRG', 'images/lrg/'); 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', '/homepages/3*/d1********6/htdocs/public_http/vegas_chick_clothing/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Most likely your question has been answered, please do a search first.
AlanR Posted May 24, 2004 Posted May 24, 2004 This line is wrong. define('DIR_FS_CATALOG', '/homepages/3*/d1********6/htdocs/public_http/vegas_chick_clothing/catalog/'); It should be: define('DIR_FS_CATALOG', '/homepages/3*/d1********6/htdocs/vegaschickclothing/catalog/'); and put a return after define('DIR_WS_HTTPS_CATALOG', '/catalog/'); so you've got one define per line. It shouldn't matter but it's sloppy. 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)
AlanR Posted May 24, 2004 Posted May 24, 2004 There's two other tweaks you'll probably need to make but I want to see the site working right before I'll post them. 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)
FlyingMonkey Posted May 24, 2004 Author Posted May 24, 2004 This line is wrong. define('DIR_FS_CATALOG', '/homepages/3*/d1********6/htdocs/public_http/vegas_chick_clothing/catalog/'); It should be: define('DIR_FS_CATALOG', '/homepages/3*/d1********6/htdocs/vegaschickclothing/catalog/'); and put a return after define('DIR_WS_HTTPS_CATALOG', '/catalog/'); so you've got one define per line. It shouldn't matter but it's sloppy. I've completed the changes, but please note the site is stored in '/homepages/3*/d1********6/htdocs/public_http/vegaschickclothing/catalog/ where public_http is a self made directory. The site still gives a cookie usage error. =( Here's a copy of the latest configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://vegaschickclothing.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.perfora.net/vegaschickclothing.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'vegaschickclothing.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net/vegaschickclothing.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_IMAGES_LRG', 'images/lrg/'); 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', '/homepages/3*/d*****6/htdocs/vegas_chick_clothing/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Most likely your question has been answered, please do a search first.
AlanR Posted May 24, 2004 Posted May 24, 2004 This can not be right. /homepages/3*/d*****6/htdocs/vegas_chick_clothing I have 1&1 accounts and I know how they work. Keep on playing with it but until you do it right it ain't gonna work. where public_http is a self made directory This is fun. If you've got your site in a folder you created you'd need to specify that full path. ie: www.vegaschickclothing/http_docs/ Why would/do you do that? Just to be creative? 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)
FlyingMonkey Posted May 24, 2004 Author Posted May 24, 2004 This can not be right. /homepages/3*/d*****6/htdocs/vegas_chick_clothing I have 1&1 accounts and I know how they work. Keep on playing with it but until you do it right it ain't gonna work. I just double checked it, and copy and pasted it from the SSH terminal. =( from /homepages down to catalog/ Most likely your question has been answered, please do a search first.
FlyingMonkey Posted May 24, 2004 Author Posted May 24, 2004 This is fun. If you've got your site in a folder you created you'd need to specify that full path. ie: www.vegaschickclothing/http_docs/ Why would/do you do that? Just to be creative? I just thought, it would keep the file structure neater. 1and1 points to /homepages/3*/d*****6/htdocs/public_http/vegas_chick_clothing/ when it opens vegaschickclothing.com then it redirects to the catalog. Most likely your question has been answered, please do a search first.
FlyingMonkey Posted May 24, 2004 Author Posted May 24, 2004 This is fun. If you've got your site in a folder you created you'd need to specify that full path. ie: www.vegaschickclothing/http_docs/ Why would/do you do that? Just to be creative? I just thought, it would keep the file structure neater. 1and1 points to /homepages/3*/d*****6/htdocs/public_http/vegas_chick_clothing/ when it opens vegaschickclothing.com then it redirects to the catalog. i'm not sure what you mean by, needing: www.vegaschickclothing/http_docs/ Most likely your question has been answered, please do a search first.
AlanR Posted May 24, 2004 Posted May 24, 2004 Drop these three lines into a file named phpinfo.php and put it into your vegaschickclothing directory. <? phpinfo(); ?> lemmee know after you've done it. Bump the thread. 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)
AlanR Posted May 24, 2004 Posted May 24, 2004 I just thought, it would keep the file structure neater. Cool, you're inventing a file structure. Too bad the server doesn't know that. Or understand it. Any folder you put below the server root is going to be part of a path you must specify. 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)
FlyingMonkey Posted May 24, 2004 Author Posted May 24, 2004 http://www.vegaschickclothing.com/phpinfo.php Thank you! Most likely your question has been answered, please do a search first.
AlanR Posted May 24, 2004 Posted May 24, 2004 Scroll down to Environment. How do you have dns set up for vegaschickclothing? Did the 1&1 system set it up or is a forward? How did you specify the shared ssl? vegas_chick_clothing is not your domain name. You'd have lots fewer problems if you followed standards. 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)
AlanR Posted May 24, 2004 Posted May 24, 2004 If I were you I'd scrap your "special" public_http folder and put the primary folder right under htdocs where most people do. Or get used to looking at the cookie usage page. It's like someone on a server that has public_http as their normal server root adding another under it. like: public_http/public_http/mydomain.com 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)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.