The web server already has to parse the header, determine if the file exists and point to the file (or 404 handler) -
yes I would imagine that there is a bit more overhead than if the file/folder existed in the first place - but I have
several sites doing this and similar things, some of them trafficked quite heavily, and I've never noticed an
appreciable difference. Obviously a lot depends on the expected load. I would also say that a dedicated IP address
(rather than a virtual host) would make a slight difference because the web server wouldn't have the additional task of
"finding" the right site for that Host header before it even looks for a file. But again, I don't know that you would
notice the difference except under a near capacity load.
-Mark
-----Original Message-----
From: Gabriel Robichaud [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 8:37 AM
To: CF-Talk
Subject: Re: Cf puzzle
The only thing is that this is not an error. And I want to make this part of the functionality of the site. So I am
concerned that using the error page like this might put a strain on performance. Or am I worrying about nothing?
>Custom error page through your web server to point to a CFM that
>evaluates the URL string and strips out what you want into variables.
>#cgi# scope will help a lot.
>
>John Burns
>
>-----Original Message-----
>From: Gabriel Robichaud [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 31, 2004 10:13 AM
>To: CF-Talk
>Subject: Cf puzzle
>
>Ok folks!
>
>I have a directory... c:/cfusionmx/wwwroot/somedir/ That has
>Application.cfm and index.cfm files.
>
>Now... that being said. Lets assume that in order to hit the index.cfm
>I need to type in the browser http://www.gabrielrobichaud.com/
>
>Now what I would like to do, is catch these types of hits
>http://www.gabrielrobichaud.com/xyz
>
>Xyz is not a directory, it never will be nor is it a file. I would like
>to catch that xyz, put it in variable and then do some funky treatment.
>BUT, what I am getting currently is: "The page cannot be found" error
>message.
>
>How can I get this xyz value and put it in a variable?
>Any leads would be really appreciated!!!
>Gabriel
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

