Re: URL for WebObjects?
Re: URL for WebObjects?
- Subject: Re: URL for WebObjects?
- From: Mike Schrag <email@hidden>
- Date: Thu, 20 Nov 2008 20:48:49 -0500
I'd like to be able to just auto-magically generate the the
hyperlinks with Wonder and then use apache to translate these urls
back to something the WebObjects CGI adaptor understands.
Wonder implements this at a lower level and rewrites ALL urls rather
than requiring you to use custom components to do it. You can either
use the simple interface where you can specify a regex pattern and
replacement (for the common case of ripping off the /cgi-bin/
WebObjects/AppName.woa, for example) or you can override (I think) the
_rewriteURL in your ERXApplication subclass (maybe it doesn't have an
underscore -- i'd have to look it up) method and implement a more
complicated ruleset. This must together with a set of inverse rules
implemented with (for example) Apache mod_rewrite. Wonder rewrites
the URLs that your app generates, mod_rewrite takes those URLs and
turns them back into normal WO urls.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden