C
ClaudiusT
Guest
Hello,
I have the following problem:
If I try to access any folder behind a .htaccess password protection I get the "internal server error" message.
Since my webstat files are behind such a protection I recognized that the error appeared from one day to the next.
I did not update my Plesk in between so I really have no clue how this happened.
I'm using Plesk since nearly a year now and never experienced a problem browsing my Webstats or accessing any other protected content.
As I tried to browse protected content directly through Remote Desktop on my server itself I got the real error message instead of the general "internal error" message which was:
________
Absolute physical path c:\inetpub\vhosts\**domain.tld**\error_docs\unauthorized.html is not allowed in system.webServer/httpErrors section in web.config file. Use relative path instead.
________
So I changed the absolute paths of the nine listed errors in my web.config file.
Example:
From "c:\inetpub\vhosts\**domain.tld**\error_docs\unauthorized.html"
into "..\error_docs\unauthorized.html"
And... - it worked! I can browse all the protected sites again like it should be.
BUT: I have nearly a hundred domains on my server and I don't want to download all the single web.config files and change the data in all of them. For one thign that would be a time-taking procedure but mainly I'm wondering how this error appeared so suddenly and how I can fix it again...
I would be really thankful for any help!
And please excuse my bad english,
regards,
ct
I have the following problem:
If I try to access any folder behind a .htaccess password protection I get the "internal server error" message.
Since my webstat files are behind such a protection I recognized that the error appeared from one day to the next.
I did not update my Plesk in between so I really have no clue how this happened.
I'm using Plesk since nearly a year now and never experienced a problem browsing my Webstats or accessing any other protected content.
As I tried to browse protected content directly through Remote Desktop on my server itself I got the real error message instead of the general "internal error" message which was:
________
Absolute physical path c:\inetpub\vhosts\**domain.tld**\error_docs\unauthorized.html is not allowed in system.webServer/httpErrors section in web.config file. Use relative path instead.
________
So I changed the absolute paths of the nine listed errors in my web.config file.
Example:
From "c:\inetpub\vhosts\**domain.tld**\error_docs\unauthorized.html"
into "..\error_docs\unauthorized.html"
And... - it worked! I can browse all the protected sites again like it should be.
BUT: I have nearly a hundred domains on my server and I don't want to download all the single web.config files and change the data in all of them. For one thign that would be a time-taking procedure but mainly I'm wondering how this error appeared so suddenly and how I can fix it again...
I would be really thankful for any help!
And please excuse my bad english,
regards,
ct