• 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.

Resolved How to protect domain.cc/ftpstat on plesk web admin

Hi WSNHosting,

the standart protection is already configured in your configuration files:
Code:
...

        Alias "/plesk-stat" "/var/www/vhosts/system/YOUR-DOMAIN.COM/statistics"
        <Location  /plesk-stat/>
            Options +Indexes
        </Location>
        <Location  /plesk-stat/logs/>
            Require valid-user
        </Location>
        Alias /webstat /var/www/vhosts/system/YOUR-DOMAIN.COM/statistics/webstat
        Alias /webstat-ssl /var/www/vhosts/system/YOUR-DOMAIN.COM/statistics/webstat-ssl
        Alias /ftpstat /var/www/vhosts/system/YOUR-DOMAIN.COM/statistics/ftpstat
        Alias /anon_ftpstat /var/www/vhosts/system/YOUR-DOMAIN.COM/statistics/anon_ftpstat
        Alias /awstats-icon /usr/share/awstats/icon

...

        <Directory "/var/www/vhosts/system/YOUR-DOMAIN.COM/statistics">
            AuthType Basic
            AuthName "Domainstatistiken"
            AuthUserFile "/var/www/vhosts/system/YOUR-DOMAIN.COM/pd/d..httpdocs@plesk-stat"
            require valid-user
        </Directory>

... with login credentials for your "domain-system-user" and the corresponding password, which you setup when you created the subscription. ;)
 
AuthUserFile "/var/www/vhosts/system/YOUR-DOMAIN.COM/pd/d..httpdocs@plesk-stat"

d..httpdocs@plesk-stat ??

i see folder /pd/ not have file ?


Hi WSNHosting,

the standart protection is already configured in your configuration files:
Code:
...

        Alias "/plesk-stat" "/var/www/vhosts/system/YOUR-DOMAIN.COM/statistics"
        <Location  /plesk-stat/>
            Options +Indexes
        </Location>
        <Location  /plesk-stat/logs/>
            Require valid-user
        </Location>
        Alias /webstat /var/www/vhosts/system/YOUR-DOMAIN.COM/statistics/webstat
        Alias /webstat-ssl /var/www/vhosts/system/YOUR-DOMAIN.COM/statistics/webstat-ssl
        Alias /ftpstat /var/www/vhosts/system/YOUR-DOMAIN.COM/statistics/ftpstat
        Alias /anon_ftpstat /var/www/vhosts/system/YOUR-DOMAIN.COM/statistics/anon_ftpstat
        Alias /awstats-icon /usr/share/awstats/icon

...

        <Directory "/var/www/vhosts/system/YOUR-DOMAIN.COM/statistics">
            AuthType Basic
            AuthName "Domainstatistiken"
            AuthUserFile "/var/www/vhosts/system/YOUR-DOMAIN.COM/pd/d..httpdocs@plesk-stat"
            require valid-user
        </Directory>

... with login credentials for your "domain-system-user" and the corresponding password, which you setup when you created the subscription. ;)
 
Hi WSNHosting,

FIRST, pls. CHECK, that your configuration files includes the protection ( pls. check it for apache AND nginx configuration files! ).

If it does and you still don't have the "htaccess" - equivalent, which Plesk uses to secure statistics, pls. consider to head over to:

=> HOME > Domains > YOUR-DOMAIN.COM > Password-Protected Directories​

... and check if the setting for "/plesk-stat" is available.


It it doesn't exist, pls. consider to add the desired folder to protect it as setup within standard creations over the Plesk Control Panel. ;)
 
hello

i add it

sshot-62.jpg

sshot-63.jpg

but not work

if i add file .htaccess is work but can't login

sshot-64.jpg

AuthType Basic
AuthName "Domainstatistiken"
AuthUserFile "/var/www/vhosts/system/domain.com/pd/d..httpdocs@plesk-stat"
require valid-user




Hi WSNHosting,

FIRST, pls. CHECK, that your configuration files includes the protection ( pls. check it for apache AND nginx configuration files! ).

If it does and you still don't have the "htaccess" - equivalent, which Plesk uses to secure statistics, pls. consider to head over to:

=> HOME > Domains > YOUR-DOMAIN.COM > Password-Protected Directories​

... and check if the setting for "/plesk-stat" is available.


It it doesn't exist, pls. consider to add the desired folder to protect it as setup within standard creations over the Plesk Control Panel. ;)
 
Hi WSNHosting,

you seem to like screenshots, so I try to explain it with screenshots:

Plesk-Onyx_Protected-folders_01.png

Plesk-Onyx_Protected-folders_02.png

Plesk-Onyx_Protected-folders_03.png

Or pls. go to:

=> HOME > Subscriptions > YOUR-DOMAIN.COM > Hosting Settings​

and scroll to the setting: Web statistics (Protect access to your web statistics with your FTP username and password )
 
Back
Top