• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

How do i protect an ssl directory

P

ProggerPete

Guest
How do I protect a directory in the httpsdocs folder?

It shows up in the shared ssl for my host.
 
You shouldn`t place any custom files or folders in the httpsdocs folder. It is designed for technical reasons for Shared SSL implementation.

You should place all the folders in your regular httpdocs folder. To force https usage for accessing this folder, you should go to Plesk -> Domains -> <domain> -> Web Directories. There you should create a web directory for the folder you wish to protect. After the web directory has been created, you should click the cog wheel icon to the right of the web directory. On the next screen check the "Require SSL" checkbox and click OK.

Provided that you have protection enabled for this dircetory, you`ll have it accessible via SSL only and it`ll be password protected too.

Please, check this link for details:

http://download1.swsoft.com/Plesk/Plesk7.6/Windows/Docs/plesk-7.6-win-admins-guide/21459.htm
 
Hi, thanks for the reply.

I'm having trouble creating the web directory.

The folder I want to protect is /admin/

For name I put in 'test'
For path I put int '/admin'

When I try and create it tells me the path is an improper value.
 
Looks like Protection doesn`t work for shared SSL.

I will forward this to our developers, please, watch the updates for this feature.

Ok, looks like there`s a workaround:

you should go to Plesk -> Domains -> shardedssldomain.com (the master ssl domain) -> Web directories -> mydomain_com (the domain with the protected folder) -> admin -> Protection, and add protection here
 
I don't have access to the sharedssldomain (I've just got a reseller account) so I guess I'm stuck.

Oh well.
 
Back
Top