• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Site Preview -> You are not authorized to view this page

H

HendrikM

Guest
When clicking on "Site Preview" under a Domain the following appears in my browser:

With Internet Explorer as browser:
1. An login popup window appears.
2. I fill in the FTP/Frontpage Credentials
3. I Receive an Error:
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials that you supplied.
------------------------------------------------------------------------

Please try the following:

* Contact the Web site administrator if you believe you should be able to view this directory or page.
* Click the Refresh button to try again with different credentials.


HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)
------------------------------------------------------------------------

Technical Information (for support personnel)

* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 401.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Authentication, Access Control, and About Custom Error Messages.

With a Mozilla type browser no popup appears and I receive the following immediately:
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.


Please try the following:

Contact the Web site administrator if you believe you should be able to view this directory or page.

Click the Refresh button to try again with different credentials.



HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.
Internet Information Services (IIS)



Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 401.

Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled About Security, Authentication, and About Custom Error Messages.

Please help!
 
You can usually correct this by changing your password to something else. You can then change it back to your original password if you want. It will reset the permissions.

-r
 
Nope... I changed the FTP/Frontpage password, but to no avail...

Could it be Windows 2003 SP1 which might be causing this?
 
Such problems usually appears if permissions on files in httpdocs folders missed or password for IUSR_mydomain user in IIS security doesn't match password for that user in system.
 
Solution found... In IIS change IUser for problemsites to IUSR_SERVERNAME. So if servername is myserver change user for anon access to IUSR_MYSERVER.
This works for me.

Greetings

Marco
 
Beauty.. Works a treat for me.. :)

I did this by..

Logging into IIS, Right Clicking on the site in IIS, click properties.

Left click Direcotry Security, click EDIT under Authentication and access control.

ENABLE ANONYMOUS ACCESS should be ticked.

INTEGRATED WINDOWS AUTHENTICTION should be ticked.


Update the password to be the same as the FTP password for this account in plesk.

Username should look like this

IUSR_ftpusername

Click OK

Click APPLY

Refresh the site.

and it should work.
 
I encounter this same problem using Plesk 7 combined with Windows 2003 SE.

Wish this would be fixed in Plesk cause it;s pretty annoying.
 
Actually, they have.

This seems to only affect Plesk 7.5.4, BUT, There has been a hotfix released for Plesk 7.5.4 for windows which fixes two major issues, as well as many other minor issues.

#1 The plesk key keeps rolling back to default,

#2 When changing FTP passwords, the website will require the anonymous web user to provide a password.

Both of these issues havebeen fixed inthe following hotfix:

<A href="http://download1.sw-soft.com/Plesk/Autoupdate/plesk7.5.4_update051003.15.msp">http://download1.sw-soft.com/Plesk/Autoupdate/plesk7.5.4_update051003.15.msp</A>


<A href="http://download1.sw-soft.com/Plesk/Autoupdate/plesk7.5.4_update051003.15.txt"> http://download1.sw-soft.com/Plesk/Autoupdate/plesk7.5.4_update051003.15.txt</A>

Best regards,
Sean.
 
Hot Fix? Hot Nothing!

I used to be able to fix this problem by resetting the IUSR_domain password in IIS.

I ran the hot fixes above and not only did it NOT fix the problem, I can no longer manually fix it by resetting the password.
 
Hrrm, many sites or only one?

Gotta make sure that the username is

IUSR_ftpusername


and make sure the ftpusername hasnt been changed within plesk.

A reboot might also be needed. On all the servers ive worked with this specific problem, the hotfix sorted it out on all of them.

The other option is to DISABLE anonymous user access in IIS

then reset the password within plesk, and plesk will automagically re-enable the anonymous user and write in both the correct username and password.

Best regards,
Sean
 
I'm dealing with just one site at the moment but this occurs for about half of the new sites that my clients create.

I tried disabling anonymous user access in IIS, and then resetting the FTP password (and the domain user password just to be sure) in Plesk, but it didn't automagically re-enable the anonymous user or write in the correct username and password.

I've manually re-enabled anonymous user access in IIS and
now I'm prompted for a username and password even when I use the domain name. (as well as when I use Site Preview).

A reboot may help, (that's the cure-all for windows isn't it?) I'll try it after business hours and see if it helps.
 
Well, I did the reboot and nothing has changed. The domain is now completely inaccessable. My only option is to ask my client to delete it and recreate it. (Although, last time I did this Plesk didn't delete the domain properly and I spent hours manually configuring the psa database to fix it.)
 
Originally posted by shortcut
Plesk 7.5.5 and 7.5.6 are out now too.

Hey shortcut,

where can we find these? I don;t see them anywhere on the SWSoft site. As well, you know if it fixes the permissions issue?

Thanks,
G
 
Hi!

I'm having this problem too..

I'v already changed the user to the ftpuser and pass to the new pass and it's not working..

This problem is affecting all my domains!

Could you tell me what configurations you have at the Default Web Site and DefaultAppTool?

How can I get the password for the SERVERNAME\IUSR_SERVERNAME ?

Coul you help me pleaassseeee ;)

Best Regards,

Eugenio
 
Back
Top