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 find
out where they wanted to go. Try cf_mindreader from the developers
exchange.
On Thu, 10
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 find
out where they wanted to go. Try cf_mindreader from
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
Neil H. wrote:
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?
CGI.query_string I think. If it is not usefull try them all ;)
Jochem
I don't think any variables or values are actually passed to the page
designated as your missing template handler.
Although, you might be able to make use of some of the CGI variables...
maybe HTTP_REFERER or CF_TEMPLATE_PATH or something along those lines.
Hatton
-Original Message-
floating around in just about every popular language.
- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 4:01 PM
Subject: Re: Help Quick!
Thanks for providing all the information needed to solve your
problem. From what I
Neil:
From the CF Documentation:
To set up the missing template Handler:
In the ColdFusion Administrator, click Settings.
The system displays the Server Settings page.
Specify the absolute path the server uses to find the missing templat
e
handler
Don Vawter wrote:
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
I use the same so I don't have to put a favicon in every folder.
Jochem
- Original Message -
From: William Wheatley [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 4:16 PM
Subject: Re: Help Quick!
Such a smarty pants
I THINK he meant to ask when someone hits a page that is non existent how
do
you find it and
fix any links
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
--there are a lot
floating around in just about every popular language.
- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 4:01 PM
Subject: Re: Help Quick!
Thanks for providing all the information needed to solve your
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
)
- 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
How does that make a difference. If the file doesn't exist it will use the
IIS error page?!
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
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
]
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
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
Yeah if I knew what every user wanted I wouldn't need that.
Neil
- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 9:59 PM
Subject: Re: Help Quick!
So if I typed in www.test.com/test.cfm and really wanted to go
[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
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
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
: 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
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
-
From: Don Vawter [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 11:40 PM
Subject: Re: Help Quick!
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
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
This works in IIS 4 as well. However, it's worth noting that there's a
25 matches
Mail list logo