catch the 404 error pages using the .htacess file, then redirect them to a
custom cfm page where you could grab the directory name as a string, parse
out the stuff you don't want, then do your 'funky treatment' from there.
I know that SOMEBODY out there has got to be doing something like this
already that could fill you in on the specifics of what to put in the
.htacess files, etc. If not, I could hunt around and find
something. Let's see what you get from the rest of the list users first.
Ray
http://www.crystalvision.org
At 10:12 AM 3/31/2004, Gabriel Robichaud wrote:
>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]

