Home › Forums › OS X Server and Client Discussion › Questions and Answers › OSX Server 10.4.10 – HTTP Error 401.2 – Unauthorized: Access is denied due to server configuration.
- This topic has 4 replies, 3 voices, and was last updated 17 years, 5 months ago by
tmolesky.
-
AuthorPosts
-
October 17, 2007 at 4:00 am #370231
tmolesky
ParticipantI am getting an intermittent error:
HTTP Error 401.2 – Unauthorized: Access is denied due to server configuration.When I put in the URL, or even just the IP address, a user name/password box comes up
It is the only site I am hosting on the server and if I start and stop the Web service , the page will display properly without asking for credentials.
I am running Portfolio 8.5 Netpublish on the same server, but the error occurs even when the Netpublish server is stopped – Any ideas why this error is occurring?
October 20, 2007 at 4:11 am #370245Camelot
ParticipantWhat does the web server log have to say about it?
/var/log/httpd/error_log
October 25, 2007 at 6:30 pm #370294tmolesky
ParticipantHere is the server log – the problem is occuring right now:
IP addresses are internal, so I am not concerned about any intrusions
I am not sure what the 10.234.9.190 is… that is not the server address[Sun Oct 21 15:37:40 2007] [error] [client 10.234.9.150] File does not exist: /Library/WebServer/Documents/favicon.ico
[Wed Oct 24 12:59:40 2007] [error] [client 10.234.9.150] Invalid method in request
[Wed Oct 24 12:59:40 2007] [error] [client 10.234.9.150] Invalid method in request
[Wed Oct 24 12:59:41 2007] [error] [client 10.234.9.150] File does not exist: /Library/WebServer/Documents/favicon.ico
[Wed Oct 24 12:59:41 2007] [error] [client 10.234.9.150] Invalid method in request
[Wed Oct 24 14:41:49 2007] [error] [client 10.234.9.150] Invalid method in request
[Wed Oct 24 14:49:01 2007] [error] [client 10.234.9.190] File does not exist: /Library/WebServer/Documents/favicon.ico
[Wed Oct 24 14:49:37 2007] [error] [client 10.234.9.190] File does not exist: /Library/WebServer/Documents/favicon.ico
[Wed Oct 24 14:49:55 2007] [error] [client 10.234.9.190] File does not exist: /Library/WebServer/Documents/favicon.ico
[Wed Oct 24 14:50:04 2007] [error] [client 10.234.9.190] File does not exist: /Library/WebServer/Documents/favicon.ico
[Wed Oct 24 14:50:14 2007] [error] [client 10.234.9.190] File does not exist: /Library/WebServer/Documents/favicon.ico
[Wed Oct 24 14:50:36 2007] [error] [client 10.234.9.190] File does not exist: /Library/WebServer/Documents/favicon.ico
[Wed Oct 24 14:57:32 2007] [error] [client 10.234.9.190] File does not exist: /Applications/Portfolio NetPublish Server/WebRoot/global/media/spacer.gif
[Wed Oct 24 14:57:57 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:57:57 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:57:57 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:57:57 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:57:57 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:57:57 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:58:31 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:58:31 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:58:31 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:58:31 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:58:31 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 14:58:31 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:31:36 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:31:36 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:31:36 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:31:36 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:31:36 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:31:36 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:32:05 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:32:05 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:32:05 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:32:05 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:32:05 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/media
[Wed Oct 24 16:32:05 2007] [error] [client 10.234.9.190] script not found or unable to stat: /Applications/Portfolio NetPublish Server/WebRoot/app/mediaSee anything funny?
October 29, 2007 at 1:52 pm #370301Magus255
ParticipantWhat type of index file are you using? htm, html, php? We had the same problem when trying to use 1 of those 3 that wasn’t default, forget which one. Check your index file type and check the default index types on the general tab wen editing your site in server admin. You could also try typing in the index directly to see if that works.
October 29, 2007 at 7:25 pm #370307tmolesky
ParticipantI was using index.html.
Since this is the only site hosted on the server, I had moved all the default files that are in /library/webserver/documents/ to new folder called “old” and put my new index page there. It is a simple HTML document with one image and one hyperlink.After viewing your above posting, I decided to create a subfolder for the site within /library/webserver/documents/ instead of it just being at the root level and made sure the server points there and that “index.html” is the selected default.
I restarted the web service and it worked for about 5 minutes – meaning I was able to access the page (from outside of the network, on an entirely different subnet 75 miles away). After around 5 – 7 minutes, it stopped working again – meaning, it is looking for authentication again. Below are the logs since restarting the service:
[b]
ACCESS LOG[/b]
10.157.245.225 – – [29/Oct/2007:12:25:46 -0400] “GET /favicon.ico HTTP/1.1” 404 3752
10.157.245.225 – – [29/Oct/2007:12:26:40 -0400] “GET /favicon.ico HTTP/1.1” 404 3752
10.234.6.224 – – [29/Oct/2007:14:25:09 -0400] “GET / HTTP/1.1” 200 1140
10.234.6.224 – – [29/Oct/2007:14:25:09 -0400] “GET /image_CGRE_K.jpg HTTP/1.1” 200 20304
10.234.6.224 – – [29/Oct/2007:14:25:23 -0400] “GET /favicon.ico HTTP/1.1” 404 3752
10.156.136.10 – – [29/Oct/2007:14:41:48 -0400] “GET / HTTP/1.1” 200 1140
– – – [29/Oct/2007:14:41:48 -0400] “” 501 –
10.156.136.10 – – [29/Oct/2007:14:41:48 -0400] “GET /image_CGRE_K.jpg HTTP/1.1” 200 20304
– – – [29/Oct/2007:14:41:48 -0400] “” 501 –
10.156.136.44 – – [29/Oct/2007:15:00:46 -0400] “GET / HTTP/1.1” 200 1140
– – – [29/Oct/2007:15:00:46 -0400] “” 501 –[b]ERROR LOG[/b]
[Mon Oct 29 12:25:46 2007] [error] [client 10.234.9.150] File does not exist: /Library/WebServer/Documents/favicon.ico
[Mon Oct 29 12:26:40 2007] [error] [client 10.234.9.150] File does not exist: /Library/WebServer/Documents/favicon.ico
[Mon Oct 29 14:25:23 2007] [error] [client 10.234.9.150] File does not exist: /Library/WebServer/Documents/favicon.ico
[Mon Oct 29 14:41:48 2007] [error] [client 10.234.9.150] Invalid method in request
[Mon Oct 29 14:41:48 2007] [error] [client 10.234.9.150] Invalid method in request
[Mon Oct 29 15:00:46 2007] [error] [client 10.234.9.150] Invalid method in requestI have since deleted the default Realm setting and restarted the service with no luck – it constantly asks for authentication after a few minutes… I am totally baffled.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed