httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39499] - error reading status line, reverse proxy, broken pipe
Date Sat, 28 Jul 2007 09:37:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39499>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39499





------- Additional Comments From abhishek.rhce@yahoo.co.in  2007-07-28 02:37 -------
I am using apache as a webserver and proxy loadbalancer for backed mongrels . OS
is FreeBSD 5.4 and apache 2.2.4 , i am getting error related to proxy in my
apache  error log , this is happen when server has good traffic here i am
pasting myy apache config and error logs



<VirtualHost *:80>
ServerName example.com
 
DocumentRoot /home/web/public

<Directory "/home/web/public">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
SetEnv force-proxy-request-1.0 1
        SetEnv proxy-nokeepalive 1
</Directory>

<Location />
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>


# Disable  forward proxy for security
ProxyRequests Off

# Enable reverse proxying
<Proxy *>
      Order deny,allow
      Allow from all
</Proxy>
ProxyPreserveHost on

<Proxy balancer://mongrel_cluster>

    BalancerMember http://192.168.1.110:6001 
    BalancerMember http://192.168.1.110:6002 
    BalancerMember http://192.168.1.110:6003 
    BalancerMember http://192.168.1.110:6004 
    BalancerMember http://192.168.1.110:6005 
    BalancerMember http://192.168.1.110:6006 
    BalancerMember http://192.168.1.108:6002 
    BalancerMember http://192.168.1.108:6003 
    BalancerMember http://192.168.1.108:6004 
    BalancerMember http://192.168.1.108:6005 
    BalancerMember http://192.168.1.108:6006 

</Proxy>

RewriteEngine On
#RewriteLog /var/log/httpd/rewrite_log
#RewriteLogLevel 9

#Rule For monitoring Web server from loadbalancer

RewriteRule ^/webmonitoring.html /webmonitoring.html [L]

# Check for maintenance file and redirect all requests
#  ( this is for use with Capistrano's disable_web task )

 RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
  RewriteCond %{SCRIPT_FILENAME} !maintenance.html
  RewriteRule ^.*$ /system/maintenance.html [L]

#RewriteCond %{HTTP_HOST}  !^www.example.com [NC]
#RewriteRule ^/(.*)  http://www.example.com/$1 [R,L]

# Rewrite index to check for static
  RewriteRule ^/(.*\.(css|js|gif|png|jpg))\.v[0-9.]+$ /$1
  RewriteRule ^/$ /index.html [QSA]

# Rewrite to check for Rails cached page
#  RewriteRule ^([^.]+)$ $1.html [QSA]

# Redirect all non-static requests to cluster
  RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
  RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]

# Deflate
  AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript

<DirectoryMatch "^/.*/\.svn/">
    ErrorDocument 403 /404.html
    Order allow,deny
    Deny from all
    Satisfy All
  </DirectoryMatch>

ErrorLog /var/log/httpd/httpd-error.log
CustomLog /var/log/httpd/httpd-access.log combined


</VirtualHost>

Sat Jul 28 00:32:38 2007] [error] [client xx.xx.xx.xx] proxy: error reading
status line from remote server  xx.xx.xx.xx
[Sat Jul 28 00:32:38 2007] [error] [client xx.xx.xx.xx] proxy: Error reading
from remote server returned by /embed-services/contest/51895
[Sat Jul 28 00:32:42 2007] [error] [client xx.xx.xx.xx] proxy: error reading
status line from remote server 192.168.1.x
[Sat Jul 28 00:32:42 2007] [error] [client xx.xx.xx.xx] proxy: Error reading
from remote server returned by /rss/latest
g 






-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message