I have been using without trouble on 10 different sites. I guess you have yours set up differently. I dont have cf involved at all. The script name on non cf templates IS the name of the handler and you have to go to the query string to get the results you want. On a cf site the the script name is the actual template. Maybe this changes if you have cf involved.
----- Original Message ----- From: "Neil H." <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 10, 2002 8:36 PM Subject: Re: Help Quick! > That isn't the case if I am using the site wide missing page handler. the > cgi.script_name is the page used in the missing page handler. > > Thanks, > > Neil > > ----- Original Message ----- > From: "Don Vawter" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, January 10, 2002 10:22 PM > Subject: Re: Help Quick! > > > > What is it about the solution I posted that you don't like? > > This will catch all your 404 errors. It doesn't give you the referer > though. > > > > If it is not a cf template the cgi.query_string looks like this: > > > > 404;http://www.cyberroomies.com/robots.txt > > > > If it is a cf template you can find the name in cgi.script_name > > > > ----- Original Message ----- > > From: "Neil H." <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Thursday, January 10, 2002 8:18 PM > > Subject: Re: Help Quick! > > > > > > > People I am not trying to do any type of predictive modeling. I simply > > want > > > to catch every 404. > > > > > > Neil > > > > > > ----- Original Message ----- > > > From: "Pete Freitag" <[EMAIL PROTECTED]> > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > Sent: Thursday, January 10, 2002 10:11 PM > > > Subject: RE: Help Quick! > > > > > > > > > > Apache has a Module that spell checks the URL's and automagically > fixes > > > them > > > > when people type them wrong. > > > > > > > > +++++++++++++++++++++++++++++++++++++++++++++ > > > > Pete Freitag ([EMAIL PROTECTED]) > > > > CTO, CFDEV.COM > > > > ColdFusion Developer Resources > > > > http://www.cfdev.com/ > > > > > > > > > > > > -----Original Message----- > > > > From: Alex [mailto:[EMAIL PROTECTED]] > > > > Sent: Thursday, January 10, 2002 10:00 PM > > > > To: CF-Talk > > > > Subject: Re: Help Quick! > > > > > > > > > > > > So if I typed in www.test.com/test.cfm and really wanted to go to > > > > www.test.com/mail.cfm you could write code to figure that out. > > > > > > > > On Thu, 10 Jan 2002, Billy Cravens wrote: > > > > > > > > > Actually, there's no mind reading involved. You know the URL they > are > > > > > looking for, as well as any variables GET'ed or POST'ed. Easy > enough > > to > > > > > look at that information and develop a method for redirecting the > user > > > > > (possibly a database of moved pages, or a lookup for common typos of > > > URL' > > > > s) > > > > > > > > > > ----- Original Message ----- > > > > > From: "Alex" <[EMAIL PROTECTED]> > > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > Sent: Thursday, January 10, 2002 3:01 PM > > > > > Subject: Re: Help Quick! > > > > > > > > > > > > > > > > Thanks for providing all the information needed to solve your > > > > > > problem. From what I can see if someone asks for > > www.site.com/blah.cfm > > > > > > and blah.cfm doesn't exist you want to read the web surfers mind > and > > > fi > > > > nd > > > > > > out where they wanted to go. Try <cf_mindreader> from the > developers > > > > > > exchange. > > > > > > > > > > > > On Thu, 10 Jan 2002, Neil H. wrote: > > > > > > > > > > > > > I am trying to determine when a page doesn't exist by using the > > > missi > > > > ng > > > > > p > > > > > > age > > > > > > > handler in CF. How do I determine what the actual page is? > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > Neil > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

