Re: serving WO app through a proxy server
Chuck Hill <[email protected]> Tue, 8 Jun 2004 13:52:07 -0700
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
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