RE: serving WO app through a proxy server
"Ian McDougall" <[email protected]> Tue, 8 Jun 2004 15:58:13 -0600
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the nudge in the right direction. I do have some more questions, though... I subclassed WOContext this and overrode the two methods in Application. In my WOContext subclass, there are two methods that I could see that could be overridden: completeURLWithRequestHandlerKey componentActionURL when I overrode these two and added breakpoints, I found only the second was ever called and only once during the request response loop, while a number of links were created on the page. If the WOContext creates the url for links and forms for the current page, then in what method does it do this? > -----Original Message----- > From: Chuck Hill [mailto:[email protected]] > Sent: Tuesday, June 08, 2004 2:52 PM > To: Ian McDougall > Cc: WebObjects Admin > Subject: Re: serving WO app through a proxy server > > > URLs are created by WOContext. You can subclass it to provide the form > of URL that you want. Override one of the WOApplication methods > String contextClassName() > WOContext createContextForRequest(WORequest aRequest) > > to get your subclass used. > > > Chuck > > > On Jun 8, 2004, at 1:18 PM, Ian McDougall wrote: > > > Thanks, that's a good bit on info. However, I should have mentioned > > that > > we're deploying on a J2EE server... > > > >> > >>> How do I tell my app to look for apps using /BAR/cgi-bin/WebObjects > >>> as a > >>> prefix? > >> > >> Modify you http adaptor configuration. In case you're running apache > >> web > >> server, > >> change WebObjectsAlias directive in apache.conf file which is usually > >> located in $NEXT_ROOT/Library/WebObjects/Adaptors/Apache/. > >> > >> # You can change the 'cgi-bin' part of WebObjectsAlias to whatever you > >> # prefer (such as Apps), but the 'WebObjects' part is required. > >> #WebObjectsAlias /cgi-bin/WebObjects > >> WebObjectsAlias /BAR/cgi-bin/WebObjects > > > > > > _______________________________________________ > > WebObjects-admin mailing list > > [email protected] > > http://www.omnigroup.com/mailman/listinfo/webobjects-admin >