----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Try
ApJServMount /servlets /examples
This maps http://host/servlets to zone examples
The rest seems OK.

David Bell
Infocom (UK) Ltd
http://www.info-com.com

>
> I am trying to get the Apache JServ 1.1.2 working. I have done this before
> and I am having the same problem as last time. I can't get a handle on the
> correct way to setup the zones. I have read through the documentation,
> java.apache.org is down right now. I can't seem to get it working
> correctly.
>
> I get a 404 error when I try and go to
> http://myservername/servlets/example/Hello
>
> I know the documentation says that setting up a zone is "easy". And I
> remember that once it is setup and you can see one working, it is easy to
> create new ones. But I have a really hard time getting these things going
> the first time. Maybe this time I will take notes or something. I
> just don't
> do this everyday.
>
> Here are the pieces of my config files that I think are relevant.
>
> FILE: /usr/local/jserv/conf/jserv.conf
> # Properties filename for Apache JServ in Automatic Mode.
> # In manual mode this directive is ignored
> # Syntax: ApJServProperties [filename]
> # Default: "./conf/jserv.properties"
> ApJServProperties /usr/local/jserv/conf/jserv.properties
> ApJServMount /usr/local/apache/servlets /servlets
>
> FILE: /usr/local/jserv/conf/jserv.properties
> # Servlet Zones parameters
> ###########################
>
> # List of servlet zones JServ manages
> # Syntax: zones=<servlet zone>,<servlet zone>... (Comma separated list of
> String)
> # Default: <empty>
> zones=example
>
> # Configuration file for each servlet zone
> # Syntax: <servlet zone name as on the zones
> list>.properties=<full path to
> configFile> (String)
> # Default: <empty>
> example.properties=/usr/local/apache/servlets/example/example.properties
>
> FILE: /usr/local/apache/servlets/example/example.properties
> # List of Repositories
> #######################
>
> # The list of servlet repositories controlled by this servlet zone
> # Syntax: repositories=[repository],[repository]...
> # Default: NONE
> repositories=/usr/local/apache/servlets/example/
>
>
> Keith Vance
> Web Developer
> [EMAIL PROTECTED]
> (206) 436-3874
>
>
>
> --
> --------------------------------------------------------------
> 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