Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing to https folder


sand_danser

Recommended Posts

I'm setting up oc 2.2 on a new host & the layouts different from my last host/server. It tells me to upload the catalog folder to the https folder but I can't seem to find the install ?

Can someone tell me how I do this or point me the guide I can't seem to find. I found the knowledge base a little vague.

Thanx in advance,

 

Andy

Link to comment
Share on other sites

You might want to contact your hosting company. The reason it is not in the knowledge base is that it really has nothing to do with osC. It is a hosting setup issue.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Are you trying to run the whole site behind https? If so - don't. https pages are encrypted and take longer to load - so you will slow your page delivery times right down - and there's no need for it. Let osCommerce decide which files need to be http and which need to be https. The only exception to this would be the osCommerce 'admin' folder, all of which should be behind https.

 

You seem to have one of those terrible setups where you have both an httpdocs and an httpsdocs folder. In this instance run the install in httpdocs. Once you've done that, copy over all of the files and folders into httpsdocs, and then delete the 'admin' folder from the httpdocs folder. You only need the one database of course.

 

Vger

Link to comment
Share on other sites

ok thanks for the quick reply Richard, I've just set up a DB in my hosting account so I'll chase it up with them, sorry to bother the forums with this.

 

I recently installed osCommerce in my server and when i saw i didn't chose to install with SSL connections i installed it over again with the SSL option selected. The problem is thet when i did the checkout test it lead me to an unexistent file in HTTPS. I came here looking for solutions and i found yours. I just did what you said - downloaded all the HTTP folder and uploaded it to HTTPS - so now i have both in HTTP and HTTPS. The only thing i haven't yet done is to delete the admin folder.

 

Problem: it still can't find the files i put in the HTTPS folder. I tried to access https://www.woda-se.com/store/admin and it doesn't exist. Same happens to checkout.

 

What am i missing?

 

Thanks for your help

Link to comment
Share on other sites

I recently installed osCommerce in my server and when i saw i didn't chose to install with SSL connections i installed it over again with the SSL option selected. The problem is thet when i did the checkout test it lead me to an unexistent file in HTTPS. I came here looking for solutions and i found yours. I just did what you said - downloaded all the HTTP folder and uploaded it to HTTPS - so now i have both in HTTP and HTTPS. The only thing i haven't yet done is to delete the admin folder.

 

Problem: it still can't find the files i put in the HTTPS folder. I tried to access https://www.woda-se.com/store/admin and it doesn't exist. Same happens to checkout.

 

What am i missing?

 

Thanks for your help

 

nevermind, i forgot to activate SSL on my server :)

 

its working now.

 

Thank you

Link to comment
Share on other sites

I'm sorry, i have a new problem. I can't delete Admin from the HTTP because even tho i access the admin through https://www.woda-se.com/store/admin the admin panel then links to the admin in the HTTP instead of the HTTPS. Do you know what i mean? The first admin panel is located in the HTTPS but when i go and change something it takes me to the admin in the HTTP.

Link to comment
Share on other sites

I'm glad you sorted yourself out miguel :thumbsup:

 

I've done as told and I've managed to get my site back up B) now all I have is the default index.php page showing along with all the other stuff.

What would really help me out here is if I uploaded an old back up from months ago. If it works I'll be bang on track to getting sorted on a new host after a nightmare two weeks :D

I'll dig around for instructions as to how to restore/upload a back up file but if anyone can tell me in laymans terms I'd made up ;)

Thanx for the expert advice & speedy replies B)

 

ps:as I don't have SSL permissions on my server, is it worth copying the files owa to the HTTPSDOCS folder ?

Link to comment
Share on other sites

I'm sorry, i have  a new problem. I can't delete Admin from the HTTP because even tho i access the admin through https://www.woda-se.com/store/admin the admin panel then links to the admin in the HTTP instead of the HTTPS. Do you know what i mean? The first admin panel is located in the HTTPS but when i go and change something it takes me to the admin in the HTTP.

 

In the first line of your admin/includes/configure.php file you need make the http define your secure path.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

In the first line of your admin/includes/configure.php file you need make the http define your secure path.

 

the only line i saw i could relate to my problem was this:

 

define('DIR_FS_ADMIN', '/home/httpd/vhosts/woda-se.com/httpdocs/store/admin/'); // absolute pate required

 

i changed it to

 

define('DIR_FS_ADMIN', '/home/httpd/vhosts/woda-se.com/httpsdocs/store/admin/'); // absolute pate required

 

but nothing changed.

 

PS: i did this to the admin/includes/configuration.php located in the HTTPS since the idea is to use the admin in the HTTPS and delete it from the HTTP.

Link to comment
Share on other sites

the only line i saw i could relate to my problem was this:

 

define('DIR_FS_ADMIN', '/home/httpd/vhosts/woda-se.com/httpdocs/store/admin/'); // absolute pate required

 

i changed it to

 

define('DIR_FS_ADMIN', '/home/httpd/vhosts/woda-se.com/httpsdocs/store/admin/'); // absolute pate required

 

but nothing changed.

 

PS: i did this to the admin/includes/configuration.php located in the HTTPS since the idea is to use the admin in the HTTPS and delete it from the HTTP.

 

 

The top define http

 

define('HTTP_SERVER', ' Put your secure url here ');

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...