httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] Slow mod_proxy response
Date Thu, 05 Apr 2012 15:17:34 GMT


I hope someone can help me with a problem I'm having at work. We have a
Glassfish server running on SLES 11. I installed Apache2 with mod_proxy
so that users can use port 80 for redirection to the Glassfish service.
This is the setting of my server. 


<VirtualHost INTERNAL_IPADDR:80>


        RewriteEngine On


        ProxyPreserveHost On


        # If request is not for subdir ServicePortal, then redirect to

        RewriteCond %{REQUEST_URI} !^/subdir/

        RewriteRule / subdir/$1 [R=301,L]


        # Turn off forward proxy and use reverse proxy

        ProxyRequests Off

        ProxyPass /subdir http://localhost:8080/subdir

        ProxyPassReverse /subdir http://localhost:8080/subdir



The server is hosted in the lab network and the INTERNAL_IPPDR is one of
the IP addresses on the server, say There is a firewall in
the lab for outside connection into the lab and the natted IP address
is, say From office LAN, users request for the webpages
using, which has the address For some
reason, we see slow response when accessing the server from the office
network and sometimes we get TCP timeout. The response from within the
lab however, is fast. Could anyone shed some lights? I have hostname
lookup turned off to eliminate DNS issues.





This email was sent to you by Thomson Reuters, the global news and information company. Any
views expressed in this message are those of the individual sender, except where the sender
specifically states them to be the views of Thomson Reuters.
View raw message