You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jørund Skriubakken <j....@morecom.no> on 2003/11/17 10:20:16 UTC

[users@httpd] Help on AJP/JK2 configuration

Hello list!

I am setting up an AJP connection from my Apache to a JettyJBoss HTTP Servlet server (apache->jetty-jboss). I am doing this "long way around" for security reasons.

I am experiencing that this is running a little slower than browsing directly at the Jetty server, and I am wondering if that mainly have to do with, that Apache is replying "Connection: close" in the HTTP Response Header (i.e. Apache is closing the connection for each request).

My question is: Is it possible to configure Apache/JK2 not to close at every request?

Here is mm /etc/httpd/conf/workers2.properties file: 
--------------------------------------------
[channel.socket:localhost:8009]
port=8009
host=localhost

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping. This says that any incoming connection to any file
# under "/jetty/" should be handled the worker defined above

[uri:/*]
worker=ajp13:localhost:8009
--------------------------------------------

Regards, 

Jørund Vier Skriubakken

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org