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

Stephen Bush wrote:

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Hi again,
>
> I hev reinstalled Jserv1.0 on a Nt workstation. I have placed a test.class servlet 
>in a subdirectory of the servlet directory and added the following line to the 
>zone.properties file:
>
> repositories=C:\\Program Files\Apache Group\Apache JServ\servlets\development
>
> when I try and access the servlet from a browser:
> http://127.0.0.1/jserv/test?
>

The "/jserv" part of the URL above tries to access the Apache JServ status servlet, 
which is normally restricted.

If you haven't changed the default config, the "/servlet" or "/servlets" prefix is 
mapped to the root zone, so try:

    http://127.0.0.1/servlet/test


>
> I get an access forbidden error
>
> what am I doing wrong?

Look at your ApJServMount directives to see what URI prefixes are mapped to what zones.

Craig




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