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

i'm still at a loss... by changing the zone name i've not accomplished
anything (except now i have a new zone name).  

desired behavior:
www.website.com/servlet/some.html returns html
this.website.com/servlet/servletname returns the servelt

where this.website.com is a virtual host on www.website.com.  the problem
remains that all requests to the /servlet directory are intercepted by
jserv... i can't figure out how to configure it so that jserv only listens
to requests on this.website.com/servlet and ignores everything that comes to
www.website.com/servlet

config files:
jserv.conf
ApJServMount /servlet /this.website.com
(i removed the <virtualhost> tags bcs it broke everything)

jserv.properties
zones = this.website.com
this.website.com.properties=/path/to/properties

thanks for the help

chris


> -----Original Message-----
> From: Jonathan Tew [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 12, 1999 3:42 PM
> To: Java Apache Users
> Subject: Re: jserv and virtualhost
> 
> 
> -----------------------------
> 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]
> 


--
--------------------------------------------------------------
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