Hi all,

See this thread entitled "Pretty URL's in Turbine?"...

http://www.mail-archive.com/[email protected]/msg06281.html

... and the URL rewriting Howto...

http://jakarta.apache.org/turbine/turbine-2/howto/url-rewriting-howto.html

It would be great if someone could update the URL rewriting Howto if anyone 
has some free time.  I have been meaning to do it for a while now...

Regards,

-- Rodney


On Sat, 27 Apr 2002 06:51, you wrote:

> This is something I've been wanting to do as well - all my users will come
> in to http://server, they won't use http://server/app/servlet/app.
>
> I tried using the servlet-mapping method, but the problem with mapping /*
> or / to the turbine servlet is that it's then called to handle all
> requests, including files in /images/* and /resources/* (that's why you're
> seeing it re-invoke your code for all the images).
>
> You could use HTTP redirect as already suggested, but that's pretty
> inefficient for a 'home page'.
>
> I can't think of a way to map everything except '/images' and '/resources'
> to the Turbine servlet, but that would be nice.
>
> Maybe if one could map /images/* and /resources/* to the default
> file-serving servlet with servlet-mapping, you could then map your turbine
> servlet as the default?
>
> I would also like to find a way to disallow directory listings on /images
> and /resources...  I think maybe integrating with apache is the only way to
> get this level of control.
>
> Jeff

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to