James

One way that comes to mind is this:

1/ Create a "handler.cfm" that examines the URL, query string, post
data, and all that stuff.

2/ make it the default file for the site (so naming it index.cfm would
work on most installations)

3/ In IIS, set it to be the custom 404 handler as well.

In the logic for this, you could do any combination of cfswitch/cfcase
statements looking for combinations of hostname, URI, etc. Then, do
CFLocation or meta-refresh (or whatever you need to do) to the request
to send the browser where it needs to go.


Angelo


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Cordiner,
James
Sent: Friday, December 07, 2001 3:47 PM
To: CF-Talk
Subject: ISAPI URL Remapping Filter


Hi,

I am looking for some kind of filter for IIS4 (an ISAPI filter maybe?),
that would take requests for a page and perform a search and replace on
the content before returning it. This would be to have URLs re-mapped,
from something like http://www.somedomain.com to
http://192.168.0.1/somedir . 
 
I would try to do this in CF somehow but I just can't see how. For one,
not all our pages have been switched over to CF and just the conversion
at this immediate point in time would make it unfeasable.

jms.

James Cordiner
New Media Developer/Programmer
Art Gallery of Ontario
317 Dundas Street West
Toronto, Canada  M5T 1G4

http://www.ago.net
tel: 416-979-6660 ext.266
fax: 416-204-2709
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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