[thelist] Windows 2003 Server Issue

Shane Miller smiller at callcenters24x7.com
Wed Jan 14 09:37:32 CST 2004


I haven't set this up in Windows 2003 but I have on W2K and there was a
trick.  It was necessary to select "Check that file exists" in the
configuration for .cfm extension.  It didn't work for me until I checked
that box.  I wrote out the procedure for some others on my team, I've pasted
it below.  So you might try various configuration options on IIS6 that don't
necessarily seem like they would affect the issue.  

I would also suggest that during this initial troubleshooting, you replace
the cfm code with simple CFM code that does nothing but generate some text
output, to eliminate the Cold Fusion code as a possibility.  

The simple step-by-step instructions for W2K:

1.       Open the IIS Administrator in Windows

2.       Right click the site you want to assign a custom error to, go to 
"Properties"

3.       Go to the "Custom Errors" tab

4.       Highlight the 404 error

5.       Click "Edit Properties"

6.       For the "Message Type", choose URL from the pulldown

7.       In the "URL" box, put in the path (from the website root) to your 
custom error template.
	(If your template was in
http://www.mcsebraindumps.com/errors/404.cfm, put
	/index.cfm in that box – must include the preceding slash)

8.       Click "OK", then "Apply"

9.       Now go to the "Home Directory" tab

10.    Down towards the bottom right, click the "Configuration" button

11.    Scroll down and find .cfm in the "extension" column

12.    Highlight it and click "Edit"

13.    At the bottom left, put a checkmark in "Check that file exists"

14.    Click "OK", then "Apply"

Hope this helps!

Regards,
Shane Miller
smiller at callcenters24x7.com


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jeff Howden
Sent: Wednesday, January 14, 2004 2:58 AM
To: DESCHAMPS Stéphane DSI/SICOR; thelist at lists.evolt.org
Subject: RE: [thelist] Windows 2003 Server Issue

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> What does your 404.cfm do precisely?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

it breaks down the parts of the request.  everything is routed through
index.cfm via includes.  there's no redirecting going on.  the odd thing is
this works perfectly on iis5.

digging further into this, i can see that my browser is working fine as it's
sending the post, but immediately following is a get request.

POST /customize/nikwax_soft_shell_proof/?debug=1 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword, application/x-shockwave-flash,
*/*
Referer: http://mydomain.com/customize/nikwax_soft_shell_proof/?debug=1
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.0.3705)
Host: mydomain.com
Content-Length: 15
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=d4301393771074071566706

HTTP/1.1 200 OK
Connection: close
Date: Wed, 14 Jan 2004 09:17:45 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: Jeff Howden (http://jeffhowden.com/)
Expires: {ts '2004-01-14 04:17:44'}
Expires: {ts '2004-01-14 04:17:45'}
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1

GET /customize/nikwax_soft_shell_proof/overlay/?debug=1 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword, application/x-shockwave-flash,
*/*
Referer: http://mydomain.com/customize/nikwax_soft_shell_proof/?debug=1
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.0.3705)
Host: mydomain.com
Connection: Keep-Alive
Cookie: JSESSIONID=d4301393771074071566706

HTTP/1.1 200 OK
Connection: close
Date: Wed, 14 Jan 2004 09:17:46 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: Jeff Howden (http://jeffhowden.com/)
Expires: {ts '2004-01-14 04:17:46'}
Expires: {ts '2004-01-14 04:17:46'}
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1

on the server, that request generated the following snipped bit in the logs:

2004-01-14 09:13:16 W3SVC1555313263 IPDDFZ0032ATL2 207.159.142.67 GET
/customize/nikwax_soft_shell_proof/ debug=1 80 - 24.20.200.35 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.0.3705)
JSESSIONID=d4301393771074071566706 - mydomain.com 200 0 0 303115 434 9000
...
2004-01-14 09:13:35 W3SVC1555313263 IPDDFZ0032ATL2 207.159.142.67 POST
/customize/nikwax_soft_shell_proof/ debug=1 80 - 24.20.200.35 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.0.3705)
JSESSIONID=d4301393771074071566706
http://mydomain.com/customize/nikwax_soft_shell_proof/?debug=1 mydomain.com
200 0 0 303211 621 8750

the really odd thing, is it's not showing up as a post method to coldfusion,
yet when i refresh the page, i get the "want to repost form data" popup.  i
wonder where the breakdown of communication between cf and iis6 is.

.jeff

——————————————————————————————————————————————————————
Jeff Howden - Web Application Specialist
Résumé - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/

-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 



More information about the thelist mailing list