osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

SSL - Links to https pages not including /catalog/ in URL

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-23-2004, 11:24 AM
New Member
 
Join Date: Feb 2004
Location: Texas
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
secretagentwoman
Default SSL - Links to https pages not including /catalog/ in URL

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/');
I just can't get it to use the proper URL - why is it dropping /catalog/ ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-24-2004, 01:19 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,684
Thanks: 2
Thanked 94 Times in 80 Posts
Rep Power: 12
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-24-2004, 01:56 PM
New Member
 
Join Date: Feb 2004
Location: Texas
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
secretagentwoman
Default

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/');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-27-2004, 06:20 AM
New Member
 
Join Date: Feb 2004
Location: Texas
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
secretagentwoman
Default

Ok, so I take it this forum isn't very active?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-27-2004, 07:51 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,488
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-27-2004, 01:28 PM
New Member
 
Join Date: Feb 2004
Location: Texas
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
secretagentwoman
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-27-2004, 02:03 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,488
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 03-31-2004, 12:15 PM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 03-31-2004, 12:18 PM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 08:04 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax