Re: WebObjectsOptions redir
Patrick Middleton <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On 25 May 2006, at 16:20, Carlos Maldonado wrote: >> >> The "Redirection URL" thing doesn't work with Host List Configuration >> as configured by default in apache.conf -- but it does work with File >> Configuration. Does this help? >> >> -- Patrick > > Hi Patrick, > > I don't understand what you mean by "File Configuration". My last > resource would be modifying my default directAction to do a > WORedirect but I wanted to seek if there's a better way in doing > this than modifying my code. > > I also tried to twirk apache with "Redirect" directive but it seems > that WO-cgi is catching the url-action before apache redirects it, > so redirection never occurs. I put this line in my httpd.conf: > > Redirect /cgi-bin/WebObjects/Disciplina http://myOtherServer.com/ > cgi-bin/WebObjects/Disciplina > > BTW I'm using tiger (10.4.6) with Apache/1.3.33 and WOServer 5.3. Have a good look at /System/Library/WebObjects/Adaptors/Apache/ apache.conf , and possibly reread the deployment documentation. When Apache receives an HTTP request intended for a WebObjects app, it needs to know something about what woapps are running. It can get that information from wotaskd, and this is the default. There are two other ways that Apache can find that information, and which of the three ways is chosen via the apache.conf file read by the WebObjects DSO. -- Patrick