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

Christian Floerkemeier wrote:
> 
> 
> Hi
> 
> I keep getting an error when I make a request for my servlet from
> localhost. If we make the same request from the outside world to the
> same servlet, it works just fine.
> 
> I found a similar problem in the FAQ, but replacing
> ApJServMount /servlet /servlet
> by
> ApJServMount /servlet /ajpv11://localhost:8007/servlet
> (as recommended) did not change anything. (also tried to check in
> archive, but 1999 does not seem to be available at the moment)
> 
> Our environment:
> 
> Suse 6.2 Linux
> ApacheJServ 1.0
> Jdk1.1.7
> Apache 1.3.6 w/DSO support
> 
> Error message in jserv.log:
> (EMERGENCY) ajp11: cannot scan servlet headers
> (ERROR) an error returned handling request via protocol "ajpv11"
> 
> Error message in apache log:
> [client <IP-address>] Premature end of script headers:
> servlet/servlet_name
> 
> 
> 
> Can anyone help?
> 
comment security.allowedAddresses in jserv.properties and tell us.

# List of IP addresses allowed to connect to Apache JServ. This is a
first 
# security filtering to reject possibly unsecure connections and avoid
the 
# overhead of connection authentication.
# Syntax: security.allowedAddresses=[IP address],[IP Address]... (Comma
separated list of IP addresses)
# Default: 127.0.0.1
#security.allowedAddresses=192.168.0.1

Jean-Luc


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