I am getting below error while trying to do some access website url.
The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /abcef/report. Reason: Error reading from remote server Apache/2.2.15 (Red Hat) Server at www.abc.nl Port 80
I am confused because same is working when i hit the IP address directly and try to access the url. Anybody can help me to sort this issue. I have goggle for this issue and came to know the issue might be with the vhost.conf file. We are using the ajp transfer using mod_jk to redirect from port 8080 to port 80 and vice versa files used are mod_jk.conf and/etc/httpd/conf/worker .properties. the name of the worked property ajp13 as defined below will be used in the virtual host configuration worker.list=ajp13
I have added some modifications to the files and try to verify but nothing is working. Below is my vhosts.conf file:
NameVirtualHost *:80 <VirtualHost *:80> ServerName aa.bb.cc.dd <ifModule mod_headers.c> Header set Connection keep-alive </ifModule> RewriteEngine on ....
Please find the httpd.conf file
ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 300 KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimeout 15 TraceEnable off <IfModule prefork.c> StartServers 20 MinSpareServers 5 MaxSpareServers 100 ServerLimit 512 MaxClients 512 MaxRequestsPerChild 0 </IfModule> <IfModule worker.c> StartServers 4 MaxClients 300 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule>
LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/workers.properties JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" JkMount /zwr* ajp13
worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.socket_keepalive=true worker.ajp13.connection_pool_size=10000 worker.ajp13.connect_timeout=5000000 worker.ajp13.prepost_timeout=5000000