Thankyou for the assistance .  I am currently using that type of redirect 
system inside of my application.  What the client wants is for the user to see 
the url in the url bar only.  No directory names. No page names. Nothing beyond 
the '.com' ind the web address.

Any ideas?

william

William Seiter (mobile)
--------------------------
Web Developer / ColdFusion Programmer

-----Original Message-----
From: "David Low" <eskele...@gmail.com>
To: "cf-talk" <cf-talk@houseoffusion.com>
Sent: 1/2/2009 7:36 AM
Subject: Re: directory masking

William,

For the second part of your question (URL rewriting) there are two
ways you can do it.

Firstly you can redirect _all_ requests (including 404s) to a default
page - let's say index.cfm - and let that page decide what to do with
the request, based on the URL passed in.  For example if the URL is
/directory/1/2/3/ then you could parse your way through that URL.

What the URL rewrite does is send the request to the web server in a
different way.  I don't use ISAPI rewrite since I've got Apache
running (mod_rewrite being the equivalent) but most of the time it
works something like this:

Public-facing URL: http://david.low.me.uk/category/railo/

URL rewritten and sent to web server behind the scenes:
http://david.low.me.uk/index.cfm?category=railo

It can be done a lot more complicated than that, but that's the basic
idea.  URLs are rewritten based on a set of rules supplied.

Hope that's of some use...

David


2009/1/2 William Seiter <will...@seiter.com>:
> Thank you very much, I will use your suggestions today for the 404 issues

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317334
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to