And the second question: how did you do the URL creation? I'm still looking for a good way of creating "nice" URLs. I'm absolutely no Apache specialist, I know it's the WebServer used on Mac OS X Server ... okay, no kidding, I know a bit but not nearly enough. Over the time I saw a couple of interesting approaches for nicer URLs but I haven't decided to use one of them for my own apps ...
We do a LOT of stuff with Apache rewrite rules on our apps ... A few months back I added some things into to Wonder to make the WO side a little easier. If you override ERXApplication_rewriteURL(String url), you can write the "formatter" and in apache rewrite rules, you write the "parser".

So for instance, we have like http://www.oursite.com/wa/someAction? id=whatever

I only leave the /wa/ as a tiny shout-out to WO. So my _rewriteURL method can rip apart the URLs and make everything look like that (well, for da's, -- otherwise it's /wo/0.4.3.2.5 whatever), then my rewrite rule looks like:

RewriteRule ^(/-{0,1}[0-9]*/*(wo|wr|wa|womp|wis|ajax)/.*)$ /cgi-bin/ WebObjects/OurApp.woa$1 [PT]

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to