httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pieter Vanmeerbeek" <pieter.vanmeerb...@able.be>
Subject [users@httpd] Apache reverse proxy and connection keep alive
Date Tue, 27 Jun 2006 15:51:40 GMT
Hi,

I'm using apache 2.0.53 as a reverse proxy for a simple html backend server.

Internet <-- http--> reverse proxy <--http--> server on lan

I was wondering how a connection keep alive can be activated for the
communication between the reverse proxy and server on lan. Is it just a
matter of adding an Connection: Keep-Alive header and ifso how do I do that?

In my config keepalive is activated (see below). I can see the keepalive on
the first connection (between internet and reverse proxy) while dumping,
however no connection header is added/used in the second connection (reverse
proxy towards server on lan).



<<<<<>>>>
Minimal Apache config : 
ServerRoot "/ub/pkg/httpd"
PidFile /var/run/httpd-rev.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
LoadModule proxy_module       modules/mod_proxy.so
LoadModule proxy_http_module  modules/mod_proxy_http.so
LoadModule proxy_ftp_module   modules/mod_proxy_ftp.so

### Section 2: 'Main' server configuration
User sysdaemon
Group sysdaemon
UseCanonicalName Off
TypesConfig conf/mime.types
DefaultType text/plain
HostnameLookups Off

Listen 195.0.83.244:80
<VirtualHost 195.0.83.244:80>
        ProxyRequests Off
        ProxyPreserveHost On
        # enable Reverse re-writing
        ProxyPass / http://192.168.5.254:81/
        ProxyPassReverse / http://192.168.5.254:81/
        # Logging
        TransferLog /data/system-logs/appfw/testkk/access/2006-06-27
        ErrorLog /data/system-logs/appfw/testkk/error/2006-06-27
        RewriteLog /data/system-logs/appfw/testkk/rewrite/2006-06-27
        RewriteLogLevel 9
</VirtualHost>


--
---------------------------------------------------
Able: 1996-2006: already 10 safe years in YOUR company!

aXs GUARD has completed security and anti-virus checks on this e-mail (http://www.axsguard.com)
---------------------------------------------------
Able NV: ond.nr 0457.938.087
RPR Mechelen


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


Mime
View raw message