I use it on my cfcentral.com.au website.  It basically works as an interrupt 
translation.  Before the request is processed by the
cfsever, the servlet translates the friendly url to the actual url and the 
cfserver then processes the actual url, not the friendly
one which is why you still get access to all your url vars and so on.

Anything you can normally do on the url, you can do with the friendly one, 
although I have found that it isn't as dynamic as normal
url processing cause the friendly url has to match a url in the config file for 
the servlet

Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett 
Payne-Rhodes
Sent: Saturday, February 12, 2005 2:58 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Spike's Friendly URL servlet

Hi Jason,

I really don't know the detail of Spike's method for friendly URLs but 
my impression is that the way these things work is that all requests go 
through the index.cfm file. Index.cfm is then responsible for sorting 
out what file(s) are needed to handle the request. That is certainly how 
my friendly URL system works.

So I think if you are passing requests to multiple .cfm files it may not 
be possible to use the existing 'friendly' URL schemes.

Regards,

Brett
B)

Jason Sheedy wrote:
> OK I've figured it out. ... here's the problem. It works fine when the
> target file resides in the domain root, but if it's in any
> sub-directory the dynamic mapping will fail.. There must be a way to
> get around this. Any ideas?
> 
> -Jason
> 
> 
> On Fri, 11 Feb 2005 12:02:49 +1100, Gavin Cooney <[EMAIL PROTECTED]> wrote:
> 
>>That's strange. I don't see why it would work for mappings and not
>>work the other way. Sorry.
>>
>>Just a thought tho.... if you are dont want to have any explicit
>>mappings, and you are using apache, you might want to look at Apache
>>mod_rewrite as an alternative.
>>
>>Sorry i can't be of any more help.
>>
>>Gav
> 
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 

-- 
Brett Payne-Rhodes
Eaglehawk Computing
t: +61 (0)8 9371-0471
f: +61 (0)8 9371-0470
m: +61 (0)414 371 047
e: [EMAIL PROTECTED]
w: www.ehc.net.au

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to