• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Password Protected Directory with IP Exception

bradz

Regular Pleskian
On Plesk 11.5 / Centos 6.5 / Linux

I normally protect a given directory in the Plesk Contral Panel with a Username / Password.
I would like to bypass the username and password for visitors from one IP.
Is this possible? How can I do this?
Thanks,
Brad
 
bradz,

- you can limit authenticated (user/pass) access to a site's directory: "Website -> Password Protected Directories"
- you can deny access to the site using IP restriction: "Website -> Webserver settings -> Deny access to the site"

these features are independent, so you cannot add IP exception for a protected directory
 
Would htaccess do it?

Thanks Alexey,

Could I do it with an htaccess file in the directory I wish to protect via password but would like an IP exception?
If yes, does anyone have example code? Brad
 
Back
Top