This is a discussion on SSL - Links to https pages not including /catalog/ in URL within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Ok, I can't figure this out. http://www.hometanningbed.biz/catalog/ When you click on "My Account" or "Checkout" it should take you to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Ok, I can't figure this out. http://www.hometanningbed.biz/catalog/ When you click on "My Account" or "Checkout" it should take you to my secure directory on my server...and it does, minus the /catalog/ directory (https://protected.xeran.com/hometan/account.php), so obviously the page isn't there... Here's my config file: Code: define('HTTP_SERVER', 'http://www.hometanningbed.biz'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://protected.xeran.com/hometan'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.hometanningbed.biz');
define('HTTPS_COOKIE_DOMAIN', 'https://protected.xeran.com/hometan/');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/hometan/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/users/web/b2551/xe.hometan/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
|
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Cause 'https://protected.xeran.com/hometan/hometan/catalog/' is invalid....?? try: define('HTTP_SERVER', 'http://www.hometanningbed.biz'); define('HTTPS_SERVER', 'https://protected.xeran.com/hometan'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.hometanningbed.biz'); define('HTTPS_COOKIE_DOMAIN', 'https://protected.xeran.com/hometan'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/');
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| I've already tried that, and nothing changed. btw: https://www.protected.xeran.com/home...alog/index.php is most certainly valid. this is the current, where I already tried the changes you suggested: Code: define('HTTP_SERVER', 'http://www.hometanningbed.biz'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://protected.xeran.com/hometan'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.hometanningbed.biz');
define('HTTPS_COOKIE_DOMAIN', 'protected.xeran.com/hometan');
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', '/home/users/web/b2551/xe.hometan/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
|
|
#4
| |||
| |||
| Ok, so I take it this forum isn't very active? |
|
#5
| ||||
| ||||
| secretagentwoman, No, this forum is very active. Problems like this have been discussed a million times and you should do a search. You are not unique. It is just a path mistake on your part. Since it is not a software problem, rather than a user error, there is not much help we can give. You simply do not understand paths. Read up on them and you will figure it out. It is very hard to diagnose path problems without actually seeing the root path of your server. What I can tell you is that if it is missing part of the path, you are leaving it out in a key area. First, your https cookie domain is wrong. It should be : 'protected.xeran.com' Next, if catalog is missing from the URL, I would start by adding it to the HTTP and HTTPS Server define, and removing it from the 'HTTP COOKIE PATH' and 'HTTPS_COOKIE_PATH' You have the file right in front of you, how hard is it to do trial and error? You could do 100 combinations in 5 minutes. Eventually you will get it, and you may actually learn about how paths are defined on your server.
__________________ Michael Sasek osCMax Developer
|
|
#6
| |||
| |||
| I think you've been here way too long. Might I suggest if answering questions gets you irritated, that you move on to another hobby? FYI, I did search after search in this forum, and I found no thread with this problem or anything simular. Second, I tried variable after variable. Probably spent hours on it. Third, I moved my entire catalog to the root just today and solved all problems. I'm no newbie to forums or the user to user help proccess. I actually have moderated and participate in other help forums of note. I just refrain on being nasty to those who ask for help. |
|
#7
| ||||
| ||||
| secretagentwoman, I am not being nasty, nor irritated. Nowhere in my post do I say anything nasty. All I suggest is that you do a search for path problems. I just did a search and found a dozen posts that discuss path issues. I then go on to offer 2 suggestions in additon to suggesting you learn what paths are and how to correctly set them. I am direct in my answers, so get used to it. If I think you need to take some time to learn something, I am going to tell you. If you do not like that, I am sorry, but that is how I am. Take it or leave it. If you take it as me being nasty, trying to help you, then so be it. You prove the point that it is a path problem by moving your site to the doc root. That shows without a doubt that you have the path incorrect when trying to install to another dir. You may not be a newbie to forums, but you most definitely are a newbie to osCommerce. If it took you hours to set your path right, you really do need to learn what it is all about. I stand by my original post.
__________________ Michael Sasek osCMax Developer
|
|
#8
| |||
| |||
| msasek, in all directness, you're intenstly irritated to the point of being quite noticable angry. The point of user forums is for people (like me) to ask naive questions exactly because they don't have the technical knowledge to figure them out themselves. In most all user forums I use (quite a lot), everyone understand this. You're obviously very experienced -- hence these issues aren't hard for you. If it irritates you to answer these questions, I'd suggest letting someone else answer. It's certainly not your responsibility. Go for a walk or a beer instead. No need to get upset about helping people. |
|
#9
| |||
| |||
| Also, having spent hours searching various forums for answers on many issues, I'll vouch for the fact that it's often not at all easy to find an exact thread that answers the exact questions. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTTPS SSL images missing also weird links? | doug | osCommerce 2.2 Installation Help | 7 | 05-12-2005 10:06 AM |
| 404 error on non https pages | Anonymous | osCMax v1.7 Discussion | 3 | 07-11-2004 03:39 AM |
| Links & About pages? | titaniumtommy | osCMax v1.7 Discussion | 3 | 05-29-2004 05:45 PM |
| MS2MAX - HTTP and hTTPS output differ on same pages. | glk | osCMax v1.7 Discussion | 1 | 03-04-2004 08:05 PM |
| https when accessing Admin pages | NickW | osCommerce 2.2 Installation Help | 1 | 02-09-2004 05:32 AM |