If you specify an init parameter for the servlet in web.xml you can have the FUServlet redirect to a .cfm page instead of looking up the text file.
So you might have this:
<servlet>
<servlet-name>FUServlet</servlet-name>
<display-name>FriendlyUrlServlet</display-name>
<description>Translates friendly URLs to objects</description>
<servlet-class>FriendlyURLServlet</servlet-class>
<init-param>
<param-name>redirectHandler</param-name>
<param-value>/go.cfm</param-value>
</init-param>
</servlet>
All requests that start with /go/ will be redirected to go.cfm.
It's up to you what you put in go.cfm to handle the generation of content, but it gives you the level of control that you want as long as you can accept having /go/ at the start of the URL.
More details here:
http://bugs.farcrycms.org:8080/browse/FC-155
Spike
On 7/26/05, Jens Seipenbusch <[EMAIL PROTECTED]> wrote:
we have exactly the same problem here.
if you read the posting from Jeff, titled 'Re: Nav alias or object id'
you see that you could have urls like domain/go/alias with a small
modification to the FU plugin.
i'm still wondering if its better in the long term to use
domain/go/alias or creating /domain/alias with a custom solution.
Maybe one of the leading developers could comment on the way farcry will
handle this problem in the future ?
Tom Barr schrieb:
> We have had a number of requests from Marketing and other department to
> create what they call friendly URL's. These are not the Search Engine Safe
> URL's that Friendly URL's normally are. They are looking for something
> like www.foo.com/tvoffer .
>
--
Jens Seipenbusch
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
--
--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk
Do you cfeclipse? http://cfeclipse.tigris.org
--- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
