Home » Proворки » plesk-stat authority problem ( Win+Plesk)






plesk-stat authority problem ( Win+Plesk)

urlprotect error = plesk-stat authority problem ( Win+Plesk)

Проблема при обращении к директории с плесковской статистикой вылетало

You are not authorized to view this page
You might not have permission to view this directory or page using the credentials that you supplied. The Web server has a filter installed to verify users connecting to the server and it failed to authenticate your credentials.

HTTP Error 401.4 - Unauthorized: Authorization failed by filter installed on the Web server.
Internet Information Services (IIS)

при том что Login Password были корректны.

Саппорт http://www.parallels.com/ru/ сначала отбрыкивался, потом взял тикет в обработку, вернул:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
От:       *, Parallels <*@support.parallels.com>
Кому:     ******
Написано: 28 августа 2010 г., 8:34:40
Тема:     [Parallels #976977] urlprotect error
Файлы:    Part.txt
--====----====----====----====----====----====----====----====----====----===--
Hello,

Thank you for contacting Parallel Technical Support.

As we understand you are facing an issue with urlprotect error.

We are sorry for the inconvenience caused.

Please follow below mentioned steps:

Symptoms

A folder configured as protected on a domain can be accessed without any authorization.
Cause

1. Plesk ISAPI filter for protected directories is not configured on the web site.

2. The web site server ID is not equal to server id stored in the Plesk database.

3. Misconfiguration in Plesk database.
Resolution
1. Check whether urlprotect.dll ISAPI filter is enabled on a web site in IIS.
IIS, Web sites, domain.com, Right Click, Properties, ISAPI Filters, urlprotect.dll

2. Check web site id in IIS.

IIS, Web sites, Find problem web site in list , Identifier is on the right from site name. Or use command line utility

"%plesk_bin%\websrvmng" --get-server-id --vhost-name=domain.com
Then you need to check server id in Plesk DB.

select server_id from hosting h, domains d where h.dom_id=d.id and d.name='domain.com';
If received values are not equal you need to synchronize them

"%plesk_bin%\websrvmng" --update-all-server-id


 Then restart Plesk Management Service.

3. If two previous steps did not help check table `protected_dirs` in Plesk DB. There should be no records with empty value in field path.

select * from protected_dirs where path='';
If any rows were returned they should be removed.

delete from protected_dirs where path='';

Please take a back up of your psa database.


Thanks,
--
*
Technical Support Engineer
Parallels

Knowledge Base http://kb.parallels.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

не помогло, Саппорт http://www.parallels.com/ru/  потом вернул:
I am glad to inform you that issue was fixed, I reconfigured domain with the following command:

Код:
C:\Program Files\SWsoft\Plesk\admin\bin>websrvmng.exe --reconfigure-vhost --vhost-name=ВашБлинДомен.org

Now you are able to login to statistics page usign the following credentials without any issue:

http://вашблиндомен.org/plesk-stat/webstat/
Login
Password

Also if you would like do not use protection of statistics, you can disable it in Plesk->domains->вашблиндомен.org->setup (under hosting)-.Web statistics. Please uncheck it, if it is necessary.

© 2010 Анатолий Панченко a.k. MADRAT
ВашБлинДомен.org
Аттрактор Лоренца (от англ. to attract — притягивать) ― компактное инвариантное множество L в трехмерном фазовом пространстве гладкого потока, которое имеет определённую сложную топологическую структуру и является асимптотически устойчивым.