• 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

Default to https connection?

I don't think you can make SSL required for a specific folder directly with a Plesk setting.

I would do it using a script, so anybody trying to load the page as http would be redirected automatically.

It would look something like this in ColdFusion, but in PHP or whatever is your scripting language of choice you should be able to do the same thing:

<cfif left("#CGI.server_protocol#",5) NOT IS "https">
<cflocation url="https://www.myserver.com#CGI.path_name#" />
</cfif>

Basically, check what protocol is used. If it's not https, then redirect to the same page but loading through SSL.

Regs,
Andor
 
Back
Top