WebObjectsOptions redir
Carlos Maldonado <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
> > Hi All, > > > > I've been looking for a way to redirect my users when a woapp is > > offline, and I found out that using this line: > > > > WebObjectsOptions redir > > > > in apache.conf actually works but what if I need to redirect a > > different page when I have several woapps off, I would like to jump > > to a different page for different woapps. I tried modifying the > > Redirection URL argument in both Adaptor settings for my Site in > > JavaMonitor and Redirection URL in "Load balancing and adaptor > > settings" also in Monitor restarted javaMonitor as well as > > woservice but it doesn't work, I get the "The requested application > > was not found on this server". > > > > Any ideas will be appreciated... perhaps I missed something? > > > > > > -Carlos > > 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. -Carlos _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev