Chaning HTTP Status Code of missing pages


i don't know sure tend think iis 5.0 issue , not coldfusion one, after spending countless hours reading , trying different things @ wits end.

everytime google sitemaps tries verify site keep getting error message reads "we've detected 404 (file not found) error page returns status of 200 in header." @ firrst started thinking "if page it's looking there status of 200 correct, after reading discovered during verification process google looks page wouldn't there - , still gets 200 error code - on pages don't exist ( error occurred while processing request - type of pages).

since iis doesn't use coldfusion error pages, seem normal .htm pages - , since coldfusion control of headers .cfm pages have no idea how correct iis status codes.

i came across yesterday talked default status codes in registry ie, , figured try - no avail. setting affected ie browser on pc, not server-side.

any suggestions on how iis send correct status codes appreciated.

thank you,

ron

i've figured out!

while had tried putting relative path in settings area of cf admin missing template handler - redirecting cfm page cfheader status "<cfheader statuscode="404" statustext="not found" />" had neglected put forward slash in front of relative path "/errors/404.cfm." worked. prior had listed "errors/404.cfm" , didn't work.

thank reading this. hope might else.


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62