Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL - 404?


Guest

Recommended Posts

Hello, I just installed OSC and I am modding it. I went to create a test user and when i do it with the ssl i get a 404. what files do i need to move to my https directory?

 

thanks for the help,

 

Will

Link to comment
Share on other sites

Have your host's support department create a link from your https folder to your standard web folder so that you do not need to copy any files and maintain two separate installations.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

i am on my own server. in the apache directory for that file i have httpdocs and httpsdocs. so i dont know where i should be putting stuff. thanks,

 

Will

Link to comment
Share on other sites

Okay then.

 

The httpdocs folder is where everything should be for your non-secure site and httpsdocs is for the secure files.

 

The easiest way is to find out how to do the link that will reference the httpdocs folder when the httpsdocs folder is requested (i.e. in secure mode). Unfortunately, I do not know *nix that well and cannot help you out. Hopefully someone more knowledgeable will pop in and provide the information or perhaps you can find the information on the web.

 

The easy way out is to copy everything in httpdocs to httpsdocs and modify the configure.php files (in both folders) appropriately for the http and https paths.

 

The hard way is to only copy the actual files that need to be in the secure area. These would be anything dealing with login/logout, account information (creating and editing), checking out, and the images folder.

 

I hope that some of the above is of some use to you. Let me know if you have any questions or run into any troubles.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

The commands in *n?x would be something like the following (paths need adjusted for your situation):

mv httpsdocs httpsdocs.old

ln -s /var/www/httpdocs /var/www/httpsdocs

This assumes that httpdocs and httpsdocs are meant to exactly mirror each other. Note: the mv command is needed to get the previous directory out of the way for the link. You might be able to skip the -s. In fact, you might want to try it without first.

 

Hth,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...