You sort of explain:

Referrer: #CGI.http_referer#

Requested: #CGI.script_name#

What is returned on the actual page executed when a page is missing is:

 #CGI.http_referer# is the page requested when the missing template is
executed.

#CGI.script_name# is the page that is executed as the 404 page.

This is not the behavior I wanted or expected.  I wanted the referer to be
the page where the user possibly clicked on the link to get to the missing
page.  The script_name I expected to be the missing page name.

Thanks,

Neil




----- Original Message -----
From: "Neil H." <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 7:40 PM
Subject: Re: Help Quick!


> Anyone have an idea why that page might send me multiple emails each time
I
> go to a non existent page?  The mail is not in any type of loop.
>
> Thanks,
>
> Neil
>
> ----- Original Message -----
> From: "Billy Cravens" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, January 10, 2002 5:58 PM
> Subject: Re: Help Quick!
>
>
> > It can. (I think this might be IIS5+ - but I could be wrong)
> >
> > look at the app mappings (properties of web site, Home Directory,
> > Configuration, Edit a mapping) and you'll see an option for "Check that
> file
> > exists"
> >
> > ----- Original Message -----
> > From: "Neil H." <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Thursday, January 10, 2002 4:29 PM
> > Subject: Re: Help Quick!
> >
> >
> > > I am a little confused.  I didn't think IIS could catch missing CFM
> > pages?!
> > >
> > > Neil
> > >
> > > ----- Original Message -----
> > > From: "Don Vawter" <[EMAIL PROTECTED]>
> > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > Sent: Thursday, January 10, 2002 4:29 PM
> > > Subject: Re: Help Quick!
> > >
> > >
> > > > I use IIS to redirect all errors to a handling template.
> > > >
> > > > 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 it  cgi.script_name
> > > >
> > > >
> > > > BTW a trick I use is that if the missing object is an image I use
> > > cfcontent
> > > > to serve a substitute place holder image so you don't get a broken
> image
> > > > link
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Neil H." <[EMAIL PROTECTED]>
> > > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > > Sent: Thursday, January 10, 2002 12:35 PM
> > > > Subject: Help Quick!
> > > >
> > > >
> > > > > I am trying to determine when a page doesn't exist by using the
> > missing
> > > > page
> > > > > handler in CF.  How do I determine what the actual page is?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Neil
> > > > >
> > > > >
> > > >
> > >
> >
> 
______________________________________________________________________
Dedicated Windows 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=coldfusiona
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

Reply via email to