Jump to content

SSL - two seperate folders


Guest magicpaul

Recommended Posts

Guest magicpaul

I'm sure this must have been discussed previously, but couldn't find anything on the search feature.

I'm working on a site and the way their server is setup, there are two folders - one for secure and one for non-secure files (httpdocs and httpsdocs).

I've managed to get SSL working by copying the whole site to httpsdocs and ammending the config file with the new root. Everything works great...

Except...

When the client uploads an image for a product, that image will be placed in the httpsdocs/store/images/uploads I would imagine (since the admin is accessed via SSL mode). So when the customer browses the site in non-secure mode (as only the checkout pages are secure) they will get a broken image as the image resides in the httpsdocs folder and not httpdocs.

Is there a way around this without manually copying the image folder every time you add a product?

Cheers.

Paul

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...