Link to home
Start Free TrialLog in
Avatar of tonelm54
tonelm54

asked on

Unauthorised view locally

Im trying to setup IIS 6 on windows 2003.

When I try and view the web page on the server I get 'you are not authorised to view this page' and when I try and access it remotly I get 'http 400 bad request'.

I have tried to set the permissions with no sucess, although not 100% sure I have done this right.

I have also tried to remove it and start again, with no sucess.
Avatar of tonelm54
tonelm54

ASKER

I have also just typed the servers IP address in and get HTTP 400 - Bad Request error.

Any ideas?
One common reason for this problem is failing to make sure that the IUSR_<servername> account has at least read permissions on the web directory.  Check your NTFS permissions on those web files.
Avatar of alimu
a http 400 usually crops up due to a malformed GET request.  What is the nature of the page your are accessing (is it a redirect / form / ?)
If you setup a default page as follows can you access it successfully?
==default.asp===
<html>
<head></head>
<body>
<% response.write "hello world" %>
</body>
</html>
============
check also your httperr.log file in system32\logfiles\httperr to see if any errors are clarified there
The error file is any page on the web server. I have also tried to put a html file up with just the word 'test' in to see if that wil fix it, with no sucess.

Tony
This is the entrys the httperr.log file

I have replaced the servers IP address with ***.***.***.*** for security reasons.

-----------
#Software: Microsoft HTTP API 1.0
#Version: 1.0
#Date: 2006-01-02 20:25:15
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2006-01-02 20:25:15 212.241.83.15 4672 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-02 22:40:50 212.241.109.149 2431 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-03 06:26:51 212.49.140.114 3012 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
#Software: Microsoft HTTP API 1.0
#Version: 1.0
#Date: 2006-01-03 12:30:56
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2006-01-03 12:30:56 212.241.104.228 3983 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-03 13:56:31 212.241.101.97 1929 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
#Software: Microsoft HTTP API 1.0
#Version: 1.0
#Date: 2006-01-04 12:47:07
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2006-01-04 12:47:07 212.241.113.77 4515 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
#Software: Microsoft HTTP API 1.0
#Version: 1.0
#Date: 2006-01-04 20:29:29
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2006-01-04 20:29:29 212.241.121.226 2956 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-05 09:08:30 220.160.81.49 3725 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-05 10:44:48 195.144.53.114 47414 ***.***.***.*** 80 HTTP/0.0 SEARCH - 400 - URL -
2006-01-05 10:45:01 195.144.53.114 47414 ***.***.***.*** 80 - - - - - Timer_MinBytesPerSecond -
2006-01-05 10:48:01 212.175.104.2 4483 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-05 10:48:56 212.241.113.77 1100 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
#Software: Microsoft HTTP API 1.0
#Version: 1.0
#Date: 2006-01-05 19:15:53
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2006-01-05 19:15:53 212.241.113.77 1204 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-06 12:47:24 212.241.121.212 2835 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-06 15:32:50 212.241.113.77 3966 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-06 18:55:11 212.241.113.77 2823 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-07 11:05:45 212.98.150.6 4248 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-07 11:06:25 212.241.113.77 1702 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-07 11:38:40 82.174.129.10 1965 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-07 12:44:45 212.241.100.204 1049 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-07 15:52:37 212.241.75.42 1598 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-07 18:19:39 81.246.229.171 2871 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-08 12:56:46 220.137.141.117 24479 ***.***.***.*** 80 HTTP/1.0 CONNECT msa-mx6.hinet.net:25 400 - URL -
2006-01-08 20:00:59 81.174.243.106 1866 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
#Software: Microsoft HTTP API 1.0
#Version: 1.0
#Date: 2006-01-08 21:59:42
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2006-01-08 21:59:42 81.174.243.106 2208 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 21:59:55 81.174.243.106 2209 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:01:06 81.174.243.106 2211 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:01:06 81.174.243.106 2212 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:01:08 81.174.243.106 2213 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:01:11 81.174.243.106 2214 ***.***.***.*** 80 HTTP/1.1 GET /index.php 400 - Hostname -
2006-01-08 22:03:31 81.174.243.106 2216 ***.***.***.*** 80 HTTP/1.1 GET /index.php 400 - Hostname -
2006-01-08 22:03:31 81.174.243.106 2217 ***.***.***.*** 80 HTTP/1.1 GET /index.php 400 - Hostname -
2006-01-08 22:03:31 81.174.243.106 2218 ***.***.***.*** 80 HTTP/1.1 GET /index.php 400 - Hostname -
2006-01-08 22:03:33 81.174.243.106 2219 ***.***.***.*** 80 HTTP/1.1 GET /index.php 400 - Hostname -
2006-01-08 22:03:33 81.174.243.106 2220 ***.***.***.*** 80 HTTP/1.1 GET /index.php 400 - Hostname -
2006-01-08 22:03:36 81.174.243.106 2221 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:04:06 81.174.243.106 2222 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:08:48 81.174.243.106 2242 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:08:48 81.174.243.106 2243 ***.***.***.*** 80 HTTP/1.1 GET /favicon.ico 400 - Hostname -
2006-01-08 22:08:53 81.174.243.106 2244 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:13:53 81.174.243.106 2256 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:13:55 81.174.243.106 2259 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:13:55 81.174.243.106 2260 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:13:55 81.174.243.106 2261 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:13:55 81.174.243.106 2262 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:13:56 81.174.243.106 2263 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:13:56 81.174.243.106 2264 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:17:02 81.174.243.106 2269 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 22:19:28 81.174.243.106 2270 ***.***.***.*** 80 - - - - - Timer_ConnectionIdle -
2006-01-08 22:37:11 212.241.126.118 1144 ***.***.***.*** 80 HTTP/1.0 GET / 400 - Hostname -
2006-01-08 23:24:09 70.105.135.210 3352 ***.***.***.*** 80 HTTP/0.0 SEARCH - 400 - URL -
2006-01-08 23:24:09 70.105.135.210 3378 ***.***.***.*** 80 HTTP/1.1 POST /_vti_bin/_vti_aut/fp30reg.dll 400 - Hostname -
2006-01-08 23:24:28 70.105.135.210 3352 ***.***.***.*** 80 - - - - - Timer_MinBytesPerSecond -
2006-01-08 23:36:10 64.246.165.150 59322 ***.***.***.*** 80 HTTP/1.0 GET /robots.txt 400 - Hostname -
2006-01-08 23:36:10 64.246.165.150 59334 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 23:38:10 64.246.165.140 60348 ***.***.***.*** 80 HTTP/1.0 GET /robots.txt 400 - Hostname -
2006-01-08 23:38:10 64.246.165.140 60361 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-08 23:38:20 64.246.165.160 51322 ***.***.***.*** 80 HTTP/1.0 GET /robots.txt 400 - Hostname -
2006-01-08 23:38:20 64.246.165.160 51334 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-09 00:25:05 70.105.135.210 3640 ***.***.***.*** 80 HTTP/1.1 POST /_vti_bin/_vti_aut/fp30reg.dll 400 - Hostname -
2006-01-09 00:25:05 70.105.135.210 3638 ***.***.***.*** 80 HTTP/0.0 SEARCH - 400 - URL -
2006-01-09 00:25:23 70.105.135.210 3638 ***.***.***.*** 80 - - - - - Timer_MinBytesPerSecond -
2006-01-09 01:15:48 64.246.161.30 4477 ***.***.***.*** 80 HTTP/1.0 GET /robots.txt 400 - Hostname -
2006-01-09 01:15:48 64.246.161.30 4489 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-09 01:15:55 68.142.251.138 49308 ***.***.***.*** 80 HTTP/1.0 GET /robots.txt 400 - Hostname -
2006-01-09 01:15:55 68.142.251.22 33593 ***.***.***.*** 80 HTTP/1.0 GET / 400 - Hostname -
2006-01-09 06:53:50 62.10.82.239 4020 ***.***.***.*** 80 HTTP/1.0 HEAD / 400 - Hostname -
2006-01-09 08:20:23 66.194.6.80 60379 ***.***.***.*** 80 HTTP/1.1 GET / 400 - Hostname -
2006-01-09 08:30:05 70.105.135.210 1970 ***.***.***.*** 80 HTTP/0.0 SEARCH - 400 - URL -
2006-01-09 08:30:05 70.105.135.210 1971 ***.***.***.*** 80 HTTP/1.1 POST /_vti_bin/_vti_aut/fp30reg.dll 400 - Hostname -
2006-01-09 08:30:24 70.105.135.210 1970 ***.***.***.*** 80 - - - - - Timer_MinBytesPerSecond -
ASKER CERTIFIED SOLUTION
Avatar of alimu
alimu
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial