• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Basic SSL Questions

S

subtype

Guest
I bought an SSL certificate and installed it, all seems good there. My question is if I have a .php page that I want to be secured, and I put it in the https directory (Plesk 8.1) and then link to https://domain.com/file.php - will it still work with my relative links to css and image files that are located back in the http directory? Or do I have to duplicate them to the https folder?
 
If you link to images in the non-ssl directory or site from a page in the SSL directory or site, Internet Explorer will say something like "this page contains secure and non-secure items - do you want to view them?" wyhen you view it. So that will cause you problems.

It is best to copy them into the SSL site. Or you can tick the box in the hosting setup that allows you to have ssl and non-ssl in the same directory. I'm not sure how that tick box would work in a situation where you already have files in both.

Faris.
 
alright so I can just check that box and then put everything in http but then link to https://... for the pages that I need to be secured, and it will work?
 
I think so. I'm afraid I don't remember exactly but as I understand it that's how it works, yes.

Have a go and see :)

Faris.
 
My problem is I have a live site working right now with ssl and need to switch servers, but I don't wan to switch if it isn't going to work, and I can't test ssl w/o going live, long story...
 
It will work.

Plesk btw. only changes the Apache setup when enabling the "Use a single directory for housing SSL and non-SSL content" option - no files will be moved or deleted from the httpsdocs directory.
 
Back
Top