|
RE: Greedy Resin 3.0.6/Apache 2 mod_caucho with virtual hosts: msg#00050text.xml.resin.user
Correction: When the stage virtual host is removed or CauchoConfigServer removed, apache responds with a 503 Service Temporarily Unavailable. With CauchoConfigServer there, all requests go to resin. Alon > -----Original Message----- > From: Alon J Salant > Sent: Friday, March 05, 2004 6:00 PM > To: resin-interest@xxxxxxxxxx > Subject: Greedy Resin 3.0.6/Apache 2 mod_caucho with virtual hosts > > http://www.caucho.com/resin-3.0/install/cse-apache-unix.xtp > http://www.caucho.com/resin-3.0/install/plugin-dispatch.xtp > > We're having problems with mod_caucho built for Resin EE 3.0.6 and > Apache 2. It appears to be sending all requests to resin. > > Apache is configured with virtual hosts. Resin is running on the same > box, srun on localhost 6803. > > www.foo.com > Is the production site and does not use resin. > > <VirtualHost *> > ServerName www.foo.com > ServerAlias foo.com > </VirtualHost> > > stage.foo.com > Is the stage side and does use resin. > > <VirtualHost *> > DocumentRoot /usr/local/www/stage/webapps/ROOT > ServerName stage.foo.com > > ResinConfigServer localhost 6803 > <Location /caucho-status> > SetHandler caucho-status > </Location> > > </VirtualHost> > > resin.conf has a single host with id="stage.foo.com". > > When mod_caucho is loaded at all, it forwards all requests to resin even > when the stage virtual host is removed and there is no ResinConfigServer > in httpd.conf at all. We've tried several permutations of apache virtual > host and resin host configurations with the same behavior. If mod_caucho > is loaded at all, all requests go to resin. > > Note that we are not even using the default 6803. So how can mod_caucho > know where to find ResinConfigServer? Resin does respond to all requests > to www.foo.com even what the stage virtual host is removed. Doesn't make > sense, does it? > > A side note: when we build mod_caucho, mod_caucho.so shows up in the > apache directory in the resin build directory not in apache2 (which > exists but with no mod_caucho.so). Apache 2 is installed RPM style so > it's scattered in the file system but it's the only version of apache on > the box. > > Direction/help would be great. > > Alon > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Greedy Resin 3.0.6/Apache 2 mod_caucho with virtual hosts: 00050, Alon J Salant |
|---|---|
| Next by Date: | JISAutoDetect throws Exception on Resin: 00050, Hiroshi Iwatani |
| Previous by Thread: | Greedy Resin 3.0.6/Apache 2 mod_caucho with virtual hostsi: 00050, Alon J Salant |
| Next by Thread: | JISAutoDetect throws Exception on Resin: 00050, Hiroshi Iwatani |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |