SunOne 6.1 webserver on Win2k3 not redirecting to custom error page
807567Feb 17 2005 — edited Feb 18 2005Hi,
I have an application that works absolutely fine with SunOne61 webserver on win2k. Now I am running same application with SunOne 61 on Win 2k3. I am using same sunone installable to install on win2k & win2k3.
Scenerio 1:
Sunone6.1SP2 webserver on Win2003 is configured with our applications such that whenever a server resource is accessed with Bad Url character in the URL i.e. %2c, %1f it should redirect it to the Customerror file specified by our application. But it gives 404 File Not Found error. The following is shown in Webserver�s access logs:
172.25.135.153 - - [17/Feb/2005:02:38:17 -0500] "GET /%2cpages/page1.html HTTP/1.1" 404 292
And the same ,when tested on Win2000 redirects it to the above specified file. This time the following is shown in Webserver�s access logs:
172.25.142.11 - - [09/Feb/2005:12:09:30 +0530] "GET /%2fpages/page1.html HTTP/1.1" 302 0
172.25.142.11 - - [09/Feb/2005:12:09:30 +0530] "GET /pages/CustomError.htm?SMERROR=00-0002 HTTP/1.1" 200 555
Note: pages folder exists in doc root of both win2k & win2k3 installation.
Scenrio 2:
Also my application challanges a user with crendtails if resource is protected using Basic authentication. On win2k even if the resource doesn't exists under doc root, the application challanges for credentials. On entring credentials, File Not found is given.
On win2k3 if same scenerio is executed, on accessing the resource instead of getting challanged, user is redirected to File Not found page.
Note: I think scenerio 1 results due to scenerio 2.
1) Why is the SunOne 61 webserver behaving diffrently on Win 2k & win 2k3?
2) Is there some specific setting on SunOne 61 /win2k3 that will resolve these issues?
3) Do I need to take care win2k/win2k3 specifci issues in my application?
Kindly advise,
Gagan