CGI.REQUEST_URI (that's an i at the end, not an L)
On 4/9/06, Terry Troxel <[EMAIL PROTECTED]> wrote: > THANK YOU, THANK YOU. > > You saved my butt...I didn't know about the Helm error > settings and it works. > Now, hehe, for question 2. > > What cgi variable can I use in IIS that shows me the page > they are trying to get to so > I can change it from "page-not-found.htm" to > "page-not-found.cfm" instead of shooting > All the errors to index.cfm? > > Damn you guys are good! > > Terry > > -----Original Message----- > From: Mike Kear [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 08, 2006 9:37 PM > To: CF-Talk > Subject: Re: OT 404 Redirect > > On my company's hosting environment (http://afpwebworks.com) > , all site owners have access to custom error pages. they > can set their own up. That feature was designed for users > to have pretty "page not found" messages, but could equally > be used for redirecting users to another page. > > Maybe they have something similar where you are? If they > have the HELM control panel it's a standard feature in the > advanced setup. > > > Cheers > Mike Kear > Windsor, NSW, Australia > Certified Advanced ColdFusion Developer > AFP Webworks > http://afpwebworks.com > ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month > > > > On 4/9/06, Denny Valliant <[EMAIL PROTECTED]> wrote: > > I assume there may be a way through the cfadmin API to set > the > > sitewide 404 error. Dunno if all cf apps automatically > have access to > > the cfadmin API or not. Guess that'd be a big security > hole if so, neh? > > > > I guess I was meaning instead of deleting the old files, > replace them > > with simple meta re-directs pointing at the new locations. > > :D > > > > On 4/8/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > > > > > > This is all true, but it sounds like the real problem is > 404 > > > detection. The redirection is required if, and only if, > the > > > requested page isn't found. That means detecting the > 404 header and > > > specifying a custom error handler page. AFIK, that can > only be done > > > via the CF Administrator or IIS. I don't believe the > cferror tag > > > will detect 404 errors. > > > > > > I can't think of a good way to handle the problem you're > describing > > > (assuming I understand it correctly) without access to > either console. > > > > > > On 4/8/06, Denny Valliant <[EMAIL PROTECTED]> > wrote: > > > > <head > > > > > <meta http-equiv="Refresh" content="4;url= > > > > http://www.domain.com/link.html"> > > > > </head> > > > > > > > > Will redirect even if javascript is turned off. > > > > :D > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237282 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

