I tried to find any information about this question but I couldn't find it
in the FAQ or mailing list.

My question is if it is possible to access multiple servletzones with
JServSSI? As far as I understand the concept a jhtml accepts a servlet via
<SERVLET> in the servlet zone specified in jserv.conf with 

  ApJServAction .jhtml
/servletzone_one/servlets/org.apache.jservssi.JServSSI

That means the servlet.class file has to be in /servletzone_one/servlets.

I have now multiple servlets that can be accessed via
http://server//servletzone_<number>/servlets/Hello
<http://server//servletzone_<number>/servlets/Hello> . So servlets in the
different  servlet zones can be accessed directly. But if I create jhtml
files (in http://server/servletzone_<number>/index.jhtml
<http://server/servletzone_<number>/index.jhtml> ) and within execute
<SERVLET> these servlets have to be always in /servletzone_one/servlets.


So my question is if servlets in different servlet zones can be accessed via
JServSSI, or all servlets have to be in the same directory.



Setup so far is:
Apache 1.3.6+DSO, Jserv 1.04b, JServSSI (19981216)

--- httpd.conf ---
Alias /servletzone_one    /usr/workspace/servletzone_one
Alias /servletzone_two    /usr/workspace/servletzone_two
--- jserf.* ---
wrapper.classpath=/usr/local/jserv/lib/ApacheJServSSI.jar
zones=servletzone_one, servletzone_two
servletzone_one.properties=file1 (contains
repositories=/usr/workspace/servletzone_one/servlets
servletzone_two.properties=file2 (contains
repositories=/usr/workspace/servletzone_two/servlets

ApJServMount /servletzone_one/servlets
ajpv11://jserv.server:8007/servletzone_one
ApJServMount /servletzone_two/servlets
ajpv11://jserv.server:8007/servletzone_two
ApJServAction .jhtml /servletzone_one/servlets/org.apache.jservssi.JServSSI


Thanks in advance, and thanks for the good work (Jserv and SSI).


/jr


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to