On Jun 4, 2007, at 7:12 AM, Ben Strum wrote:
I saw this option but I am not sure how it works. How do I tell
localhost (or whatever config server I specify) which resin.conf
file to use?
That is, let's say I have
/apache/conf/resin1.conf
/apache/conf/resin2.conf
/apache/conf/resin3.conf
How do I specify that I want to use resin2.conf?
With Resin 3.1, you point mod_caucho at a backend Resin to read the
configuration. mod_caucho no longer reads the resin.conf because
it's too complicated for the C code.
The backend Resin would be the Resin which uses resin1.conf (or
resin2.conf).
By the way, in many cases in Resin 3.1, you can combine multiple
resin.conf files into one, by using different <cluster id="...">
blocks. Only the <cluster> with the selected -server will be enabled.
-- Scott
Thanks,
-Ben
On 6/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I use something like this with Apache 2.2.3:
LoadModule caucho_module /usr/lib/apache2/modules/mod_caucho.so
ResinConfigServer localhost 6800
CauchoStatus yes
<Location /caucho-status>
Order deny,allow
Deny from all
Allow from 127.0.0.1 192.168.0.0/16 my-domain.net
</Location>
Cheers,
Andy
From: [EMAIL PROTECTED] [mailto: resin-interest-
[EMAIL PROTECTED] On Behalf Of Ben Strum
Sent: Monday, June 04, 2007 1:57 AM
To: [email protected]
Subject: [Resin-interest] Problem with CauchoConfigFile and Resin
3.1.1 +Unix + Apache2
I am trying to upgrade servers we have to the latest Resin version
with Apache 2. Prior to this, we were running older versions of
both Resin and Apache.
We are seeing the following error message upong running httpd:
Invalid command 'CauchoConfigFile', perhaps misspelled or defined
by a module not included in the server configuration
Our httpd.conf file looks like this:
LoadModule caucho_module /home/blink/blinkproweb/modules/mod_caucho.so
#AddModule mod_caucho.c
<IfModule mod_caucho.c>
CauchoConfigFile resin.conf
</IfModule>
I have seen posts that you must call AddModule before you can call
CauchoConfigFile but AddModule does not seem to be supported under
Apache 2 anymore.
Am I missing something when building either Apache or Resin? Can
someone tell me the correct method for specifying resin.conf in
this environment?
Thank you,
Benjamin Strum
ThinkTron Corporation
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest