• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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