Hello
guys,
I am proxying
several different URL's and directories with the mod_proxy.
Everything runs just
fine except for one URL which comes back with a Bad Request.
Here is the
logfile:
[Thu Oct 02 20:44:19
2003] [error] [client xxx.xxx.xxx.xxx] proxy: Error reading from remote server
returned by /de/oks/Heineken/styles/style_yellow.css, referer: http://www.xxx.com/xx/xxx/xxxxxxx/xxxxx?customerId=xxx&xxx=23694546&xxx=23694546&tn=5000&tid=441726&re=2&lang=1&ben=4528
[Thu Oct 02 20:44:20 2003] [warn] proxy: bad HTTP/1.1 status line returned by /xx/xxxx/xxxxxxx/img/0.gif (GET)
[Thu Oct 02 20:44:20 2003] [warn] proxy: bad HTTP/1.1 status line returned by /xx/xxxx/xxxxxxx/img/0.gif (GET)
And here is the
VirtualHost in the Apache Conf:
<VirtualHost
xxx.xxx.xxx.xxx>
ServerName xxx.xxxxxxxx.xxx
ErrorLog logs/xxxxxxx-error.log
CustomLog logs/xxxxxxx-access.log combined
<IfModule mod_proxy.c>
ProxyRequests Off
<ProxyMatch xxxx.xxxxxxx.xxx>
Order deny,allow
#Deny from all
Allow from all
</ProxyMatch>
ProxyPass /xxx/ http://xxx.xxxxxx.xxx:8080/xxx/
ProxyPassReverse /xxx/ http://xxx.xxxxxx.xxx:8080/xxx/
ProxyPass / http://xxx.xxxxxx.xxx/
ProxyPassReverse / http://xxx.xxxxxx.xxx/
SetEnv proxy-nokeepalive 1
SetEnv force-proxy-request-1.0 1
</IfModule>
</VirtualHost>
ServerName xxx.xxxxxxxx.xxx
ErrorLog logs/xxxxxxx-error.log
CustomLog logs/xxxxxxx-access.log combined
<IfModule mod_proxy.c>
ProxyRequests Off
<ProxyMatch xxxx.xxxxxxx.xxx>
Order deny,allow
#Deny from all
Allow from all
</ProxyMatch>
ProxyPass /xxx/ http://xxx.xxxxxx.xxx:8080/xxx/
ProxyPassReverse /xxx/ http://xxx.xxxxxx.xxx:8080/xxx/
ProxyPass / http://xxx.xxxxxx.xxx/
ProxyPassReverse / http://xxx.xxxxxx.xxx/
SetEnv proxy-nokeepalive 1
SetEnv force-proxy-request-1.0 1
</IfModule>
</VirtualHost>
The backend system
is running with a Tomcatserver.
I have no idea,
where this bad status line is coming from, since I force the request protocol to
be in HTTP/1.0 and Tomcat will serve the Request in the same protocol
back.
Any
hints??
Thank you very much
for your help!!!
Cheeers,
Ueli
