Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL question


vjwebb

Recommended Posts

I am currently running totally under SSL (private certificate) so my catalog is on https. I'm going to change to only run the required pages under SSL. Should the physical file be on http and the link on https or the other way around? Or, does it make any difference?

-- A ship in a harbor is safe, but that is not a ships ultimate purpose.

Link to comment
Share on other sites

you should only have to follow what the configure.php is asking for.

i.e. http server, https server etc...

 

Regards

Nic

 

I'm afraid I don't understand your answer. My configure.php file is set so that both the http and https server point to https. If I change it so that http points to http, there isn't a copy of the catalog in the httpdocs directory. I understand that I need to create a catalog directory and link the 2 sides together. However, which one should contain the physical copy of the catalog and which should contain the link?

 

I can't find anywhere in the documentation that addresses this question.

-- A ship in a harbor is safe, but that is not a ships ultimate purpose.

Link to comment
Share on other sites

I'm afraid I don't understand your answer. My configure.php file is set so that both the http and https server point to https. If I change it so that http points to http, there isn't a copy of the catalog in the httpdocs directory. I understand that I need to create a catalog directory and link the 2 sides together. However, which one should contain the physical copy of the catalog and which should contain the link?

 

I can't find anywhere in the documentation that addresses this question.

 

Sorry,

 

The site should be in public_html (linux) or htdocs (Windows) then the configure file should point to

http: the name of your web site, where the store is (ex http://www.yourstore.com/index.php)

https: the location of your ssl cert, if shared https://serverxxx.com/~username or Private https://www.yoursite.com

 

Hope this helps you

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

define http server with http val and https server with https val.

 

The code then knows which goes in ssl page and which is to be treated as non ssl page.

 

A must as spiders do not crawl ssl pages.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Sorry,

 

The site should be in public_html (linux) or htdocs (Windows) then the configure file should point to

http: the name of your web site, where the store is (ex http://www.yourstore.com/index.php)

https: the location of your ssl cert, if shared https://serverxxx.com/~username or Private https://www.yoursite.com

 

Hope this helps you

Nic

 

Okay, just to recap. I'm running on linux. The public directory is httpdocs and the secure directory is httpsdocs

 

I need to move my catalog from the https directory to the http directory.

Then I need to create an empty catalog in the https directory

Then I need to use the linux link command to link the empty catalog directory to the real catalog in the http directory.

And finally I need to change the configuration.php files in the catalog and in the admin directories.

 

Do I have it right? The shop has been live for almost 2 years and I don't want to mess anything up.

 

Thank you,

V J

-- A ship in a harbor is safe, but that is not a ships ultimate purpose.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...