-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Put the:

ApjServMount /servlets /my_new_zone_for_a_virtual_host

Make sure you've declared the zone in the jserv.properties file.  Also
check the log files (error.log and jserv.log) to see if it is
encountering any errors.

Joanthan Tew

Chris LeDantec wrote:
> 
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
> 
> info: apache 1.3.6
>         jserv 1.0 statically linked
> 
> i'm at a loss here.  i need to get jserv running on a virtual host.  here is
> the situation.
> 
> the main host (www.website.com) uses a directory called "servlets" for
> normal web info. thus: www.website.com/servlets should dish out some html
> files
> 
> the virtual host (this.website.com) needs to use a servlets alias to run a
> real servlet. thus:
> this.website.com/servlets needs to bring up a servlet.
> 
> what do i need to change in the config files to make the virtualhost run
> servlets on the same path that the non-virtualhost is serving html?
> 
> here is what i've got so far:
> 
> jserv will work dishing out files for either host alias in the current
> config (so i know that jserv is running correctly)
> 
> i've added <VirtualHost "hostIP"> ApJservMount /servlets /servlets
> </VirtualHost>
> 
> that didn't work
> 
> i've set ApJservDefualtHost this.website.com
> 
> that broke everything...
> 
> please help.
> 
> thanks,
> chris
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]


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

Reply via email to