One question, three possible answers:
- This is the tomcat list, not the jserv list.
- Although I haven't tried it, something like the
following should work:
Define two zones in jserv.properties:
zones=devzone,onlzone
devzone.properties=/some-path/devzone.properties
onlzone.properties=/some-path/onlzone.properties
Mount them inside the virtual host definition
<VirtualHost Develop>
<IfModule mod_jserv.c>
ApJServMount /servlets /devzone
ApJServMount /servlet /devzone
</IfModule>
</VirtualHost>
<VirtualHost Online>
<IfModule mod_jserv.c>
ApJServMount /servlets /onlzone
ApJServMount /servlet /onlzone
</IfModule>
</VirtualHost>
Depending on your needs you might move some params
from jserv.conf in these sections. (Or define two
include files and use a include statement.)
- I wouldn't ever use one apache instance for
production and development.
(To much interference, as a developer I have to often
the need to restart the server, I don't like the idea
that any of me development actions can break my
production environment)
Even having two instances of apache on one machine for
this purpose causes severe headache for me.
(Serving multiple production sites with one instance
of apache or with multiple instances on one machine
is a complete different topic. Although we prefer
the last version)
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 12. Januar 2001 09:27
> An: [EMAIL PROTECTED]
> Betreff: Configuring Virtual host for Apache - JServ
<snip/>
> I need some help here with configuring Apache with JServ.
> I defined two Virtual hosts in "httpd.conf" file for Apache.
> One is for development environment and the other for
> Production environment. Both the virtual hosts have same IP
> but different ports. Now , I want to create two separate
> servlet zones for these Virtual hosts in JServ configuration
> files.
<snip/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]