Thanks for the tip! From there I found a decent blog entry here:
http://ajlcom.instantspot.com/blog/2009/11/25/Url-Rewriting-on-Google-App-Engine
After dropping in the tuckey.org jar file I was up and running. Here
is the the initial set of URL patterns I came up with:
<rule>
<note>
index page
</note>
<from>^/$</from>
<to>/index.cfm</to>
</rule>
<rule>
<note>
Generic CFC redirect
</note>
<from>^//(.*)/(.*)$</from>
<to>/$1.cfc?method=$2</to>
</rule>
<rule>
<note>
Generic CFM redirect
</note>
<from>^/(.*).cfm$</from>
<to>/$1.cfm</to>
</rule>
So, this works for my needs. I'm sure the regex patterns could be
better but it's a start.
On Mar 31, 10:54 pm, Matthew Woodward <[email protected]> wrote:
> On Wed, Mar 31, 2010 at 11:35 AM, fingerskier <[email protected]> wrote:
> > My question is: can I set things up to work with having to include
> > the index.cfm? Like so: mydomain.com/some/thing/here Is there a some
> > special syntax in web.xml to make this happen?
>
> You'd have to use URL rewriting to accomplish this--I don't believe GAE has
> this capability natively, but you should be able to add this to your project
> and use it:http://tuckey.org/urlrewrite/
>
> Note that I haven't tried this personally so if you run into issues let me
> know and I'll do what I can to help. Since that's a plain old servlet filter
> in theory it should work.
> --
> Matthew Woodward
> [email protected]http://blog.mattwoodward.com
> identi.ca/Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
> etc. as attachments.http://www.gnu.org/philosophy/no-word-attachments.html
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!