[EMAIL PROTECTED] mod_proxy: pass request body failed
Hi, can someone help me to understand what the following error message means? [Mon Jul 14 15:47:12 2008] [error] (104)Connection reset by peer: proxy: pass request body failed to 127.0.0.1:84 (localhost) from 87.xxx.yyy.zzz () I'm using apache witch mod_proxy and mod_ssl as an SSL frontend for a load-balanced cluster (haproxy) of IIS servers. So my question is on which side the connection has been reset, server or client (browser)? What could be the reason? Same questions for the following 2 errors: [Tue Jul 15 17:03:26 2008] [error] (104)Connection reset by peer: proxy: prefetch request body failed to 127.0.0.1:84 (localhost) from 87.xxx.yyy.zzz () [Wed Jul 16 15:58:53 2008] [error] (70007)The timeout specified has expired: proxy: pass request body failed to 127.0.0.1:84 (localhost) from 212.xxx.yyy.zzz () [Wed Jul 16 15:58:53 2008] [error] [client 212.xxx.yyy.zzz] Handler for proxy-server returned invalid result code 70007, referer: https://example.com/AttachDocument.Asp?PID=&SID=799514&state=&rnd=28734&Action=142&TaskID=NEW_1&OrderID=82734&rnd=5191537 Best regards, -Rainer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] blank pages served when mod_cache is used on apache 2.2.8
Hi, apologies, this problem was entirely my fault, the caching in apache was working just fine, there was a complex bug in the technology stack the cache sits on top of. Regards, Ross. rossputin wrote: > > Hi, > > I am hoping someone can point me to documentation on how to fix a problem > I am experiencing. > > I am using mod_disk_cache with the following settings: > > CacheDefaultExpire 3600 > CacheRoot /var/cache/apache2/mod_disk_cache > CacheEnable disk / > CacheMaxFileSize 2000 > CacheDirLevels 5 > CacheDirLength 3 > > in a virtual host config file in apache 2.2.8. > > Intermittently on multiple browsers Apache seems to be serving blank > pages, mostly it seems when I click on the 'refresh' button in the > browser. > > I am hoping someone with experience of this can point me to some answers. > > My setup is on Ubuntu Server 8.04.1. > > Thanks in advance for your help. > > Regards, > > Ross > -- View this message in context: http://www.nabble.com/blank-pages-served-when-mod_cache-is-used-on-apache-2.2.8-tp18363256p18504779.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Any replacement of mod_proxy?
On 17.07.08 09:33, Anand Kulkarni wrote: > We have used mod_proxy in our project for configuring proxy server > between TCP client and TCP server. But, mod_proxy has not been able to > forward the complete client data to the server. what do you mean "complete client data"? > I think it is a bug with mod_proxy. We have another option called > mod_athena. In that also it did not work. > > Is there any replacement of mod_proxy in Apache? > > -Anand > -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Spam = (S)tupid (P)eople's (A)dvertising (M)ethod - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] set http header with mod_rewrite
On Wed, Jul 16, 2008 at 9:00 PM, Raphael Bauduin <[EMAIL PROTECTED]> wrote: if it is CGI -- are you able to read X_HOST variable then?
Re: [EMAIL PROTECTED] Any replacement of mod_proxy?
On Thu, Jul 17, 2008 at 06:03, Anand Kulkarni <[EMAIL PROTECTED]> wrote: > Hi, > > We have used mod_proxy in our project for configuring proxy server between > TCP client and TCP server. But, mod_proxy has not been able to forward the > complete client data to the server. > > I think it is a bug with mod_proxy. We have another option called > mod_athena. In that also it did not work. > > Is there any replacement of mod_proxy in Apache? The correct question to ask is why you want to use Apache as a TCP proxy... Krist -- [EMAIL PROTECTED] [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Setting cookies from proxied backend
I've been asking about this for a couple of days now on #apache so apologies if you're tired of it before even reading any further. My question is Is it possible to set up an Apache proxy of another server in such a way that the proxy is invisible, in terms of cookies at least? I.e. when I visit my proxy I want cookies from the backend to get set exactly as if I had visited the backend directly (by-passing the proxy). I've been using a test configuration which I will show below. I picked two big sites to test on. They appear to have been lucky choices as they seem to exhibit different behaviour. In the first case, I proxy www.espn.go.com and it appears that (some) cookies from that site get set when I visit my proxy. However in the second case, when I proxy www.amazon.com and visit my proxy, I don't see any cookies (although the headers do contain Set-Cookies). Can somebody tell me if I am trying to do something impossible. Will browser security features prevent cookies for www.espn.go.com being set when I visit localhost:/espn? Or is my set up just wrong? This is the test config if you want to try it: Listen ServerName localhost DocumentRoot /var/www/revoxy ProxyPreserveHost On Order deny,allow Allow from all # Cookies from espn get set ProxyPass http://www.espn.go.com/ ProxyPassReverse / # ProxyPassReverseCookieDomain espn.go.com localhost # Cookies from amazon don't get set ProxyPass http://www.amazon.com/ ProxyPassReverse / # ProxyPassReverseCookieDomain amazon.com localhost Desperatley awaiting your advice, JMBO! - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Any replacement of mod_proxy?
Hi, >> >> We have used mod_proxy in our project for configuring proxy server >> between TCP client and TCP server. But, mod_proxy has not been able to >> forward the complete client data to the server. > >> I think it is a bug with mod_proxy. We have another option called >> mod_athena. In that also it did not work. >> >> Is there any replacement of mod_proxy in Apache? > The correct question to ask is why you want to use Apache as a TCP proxy... > Krist We have already developed an application where TCP-client communicates with TCP-Server. Its working fine. But now we want to introduce some proxy server in between. Hence, we are trying Apache mod_proxy module. Is it wrong to use mod_proxy in this scenario? If YES, then Is there any other possbile way of introducing proxy in between? -Anand - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Any replacement of mod_proxy?
On 17.07.08 16:43, Anand Kulkarni wrote: > We have already developed an application where TCP-client communicates > with TCP-Server. Its working fine. > > But now we want to introduce some proxy server in between. why? > Hence, we are trying Apache mod_proxy module. > > Is it wrong to use mod_proxy in this scenario? > If YES, then Is there any > other possbile way of introducing proxy in between? simple tcp redirector or evan NAT probably. Highly depends on answer to my previous question -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "Two words: Windows survives." - Craig Mundie, Microsoft senior strategist "So does syphillis. Good thing we have penicillin." - Matthew Alton - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Any replacement of mod_proxy?
On Thu, Jul 17, 2008 at 7:13 AM, Anand Kulkarni <[EMAIL PROTECTED]> wrote: > Hi, > >>> >>> We have used mod_proxy in our project for configuring proxy server >>> between TCP client and TCP server. But, mod_proxy has not been able > to >>> forward the complete client data to the server. >> >>> I think it is a bug with mod_proxy. We have another option called >>> mod_athena. In that also it did not work. >>> >>> Is there any replacement of mod_proxy in Apache? > No replacement. If you want a TCP proxy, teach your client to use the CONNECT protocol and try mod_proxy_connect. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Any replacement of mod_proxy?
Hi, >> We have already developed an application where TCP-client communicates >> with TCP-Server. Its working fine. >> >> But now we want to introduce some proxy server in between. > why? Because we have many TCP servers running and using mod_proxy we want to route client request to the specific one. Also using Apache as proxy, we can get benefit of different services. >> Hence, we are trying Apache mod_proxy module. >> >> Is it wrong to use mod_proxy in this scenario? >> If YES, then Is there any >> other possbile way of introducing proxy in between? >simple tcp redirector or evan NAT probably. Highly depends on answer to my previous question What is NAT. We want only open source proxy servers. If you know anything please let us know. Anand - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Setting cookies from proxied backend
On 7/17/08, jamanbo jamanbo <[EMAIL PROTECTED]> wrote: > My question is Is it possible to set up an Apache proxy of another > server in such a way that the proxy is invisible, in terms of cookies > at least? I.e. when I visit my proxy I want cookies from the backend > to get set exactly as if I had visited the backend directly > (by-passing the proxy). > > I've been using a test configuration which I will show below. I picked > two big sites to test on. They appear to have been lucky choices as > they seem to exhibit different behaviour. > > In the first case, I proxy www.espn.go.com and it appears that (some) > cookies from that site get set when I visit my proxy. > > However in the second case, when I proxy www.amazon.com and visit my > proxy, I don't see any cookies (although the headers do contain > Set-Cookies). > > Can somebody tell me if I am trying to do something impossible. Will > browser security features prevent cookies for www.espn.go.com being > set when I visit localhost:/espn? Or is my set up just wrong? > > This is the test config if you want to try it: > > Listen > > ServerName localhost > DocumentRoot /var/www/revoxy > > ProxyPreserveHost On > > Order deny,allow > Allow from all > > > # Cookies from espn get set > > ProxyPass http://www.espn.go.com/ > ProxyPassReverse / > # ProxyPassReverseCookieDomain espn.go.com localhost > > > # Cookies from amazon don't get set > > ProxyPass http://www.amazon.com/ > ProxyPassReverse / > # ProxyPassReverseCookieDomain amazon.com localhost > > > > Desperatley awaiting your advice, > JMBO! Cookies are set for the parent domain part of the server name. The Cookie for "espn.example.com" is set at ".example.com". Cookies cannot be set at the TLD level. Default domain no-name servers ("example.com") cannot use Cookies because the Cookie would be set at the ".com" TLD. This may be the problem in your second example. "localhost" should not work (although I have not tested lately). You should configure a server name for testing. If httpd is responding to all requests without virtual servers, you can configure the server name in hosts (Windows) or resolv.conf (*nix). I use the following in a virtual server configuration to proxy to an application server firewalled from the Internet and runnng on port 8000 on the same hardware server. I use RewriteRule instead of ProxyPass to pass incoming requests to the application server. ProxyPassReverseCookieDomain 127.0.0.1 www.example.com ProxyPassReverse / http://10.1.1.1:8000/ The application sends Cookies as 127.0.0.1. The first line translates the Cookies to be from www.example.com. Browsers will save the Cookie at the next level (".example.com") and send the Cookie with every request to *.example.com. A server name at the same level must be specified. Requests to "example.com" and "server.subdomain.example.com" will not include the Cookie. HTH, solprovider - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [EMAIL PROTECTED] WG: Mod_ssl Problems? - Additional information
Hi all, I could solve the problem with recompiling httpd within a different envornment. Thanx! Liebe Grüsse, Wulf Kaiser ___ IT Services - Web & Database Development Webmaster www.mpimf-heidelberg.mpg.de Max-Planck-Institut für medizinische Forschung Jahnstrasse 29 - 69120 Heidelberg Fon +49 6221 486560Fax +49 6221 486561 SHA1 Fingerprint: 6a a7 67 d6 e0 21 d1 59 d1 73 20 fb e8 b4 d9 51 ac aa 6d 17 > -Ursprüngliche Nachricht- > Von: Wulf Kaiser [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 16. Juli 2008 14:53 > An: users@httpd.apache.org > Betreff: [EMAIL PROTECTED] WG: Mod_ssl Problems? - Additional information > Wichtigkeit: Hoch > > Dear All, > > Here some additional information about how httpd was build > and how SSL is "test-configured". The certificates are > "borrowed" from our Intranet Server. > > The "test configuration" is basically a stripped-down version > of the configuration running under Solaris 9 since 4 years now. > > Liebe Grüsse, > > Wulf Kaiser > ___ > > IT Services - Web & Database Development Webmaster > www.mpimf-heidelberg.mpg.de > > Max-Planck-Institut für medizinische Forschung Jahnstrasse 29 > - 69120 Heidelberg > Fon +49 6221 486560Fax +49 6221 486561 > > SHA1 Fingerprint: > 6a a7 67 d6 e0 21 d1 59 d1 73 20 fb e8 b4 d9 51 ac aa 6d 17 > > > > -Ursprüngliche Nachricht- > > Von: Wulf Kaiser [mailto:[EMAIL PROTECTED] > > Gesendet: Mittwoch, 16. Juli 2008 14:37 > > An: 'users@httpd.apache.org' > > Betreff: Mod_ssl Problems? > > Wichtigkeit: Hoch > > > > Hi all, > > > > It's me again ;-)) > > > > After the succesful build of httpd-2.2.9 under Solaris 10 > SPARC, i ran > > into a SSL problem during the tests - the error_log output (Level: > > debug) is attached. Any ideas? > > > > > > Liebe Grüsse, > > > > Wulf Kaiser > > ___ > > > > IT Services - Web & Database Development Webmaster > > www.mpimf-heidelberg.mpg.de > > > > Max-Planck-Institut für medizinische Forschung Jahnstrasse 29 > > - 69120 Heidelberg > > Fon +49 6221 486560Fax +49 6221 486561 > > > > SHA1 Fingerprint: > > 6a a7 67 d6 e0 21 d1 59 d1 73 20 fb e8 b4 d9 51 ac aa 6d 17 > > > smime.p7s Description: S/MIME cryptographic signature
Re: [EMAIL PROTECTED] Any replacement of mod_proxy?
> >> We have already developed an application where TCP-client communicates > >> with TCP-Server. Its working fine. > >> > >> But now we want to introduce some proxy server in between. > > > why? On 17.07.08 17:45, Anand Kulkarni wrote: > Because we have many TCP servers running and using mod_proxy we want to > route client request to the specific one. > Also using Apache as proxy, we can get benefit of different services. Sorry, this explanation is not enough. What kind of tcp servers are they and what clients connect to them? What protocol do they use? > What is NAT. We want only open source proxy servers. If you know > anything please let us know. well, your explanation is still not enough so I can't tell you more that was already said... -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Linux IS user friendly, it's just selective who its friends are... - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Any replacement of mod_proxy?
Hi, >> Because we have many TCP servers running and using mod_proxy we want >> to route client request to the specific one. >> Also using Apache as proxy, we can get benefit of different services. >Sorry, this explanation is not enough. What kind of tcp servers are they and what clients connect to them? What protocol do they use? It is a pure java application. We have developed TCP Server & TCP client using Java's standard java.net.SocketServer & java.net.Socket classes. Kindly refer to the URL http://www.javafaq.nu/java-example-code-classes-1894.html -Anand - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Any replacement of mod_proxy?
Anand Kulkarni wrote: Hi, >> Because we have many TCP servers running and using mod_proxy we want >> to route client request to the specific one. >> Also using Apache as proxy, we can get benefit of different services. >Sorry, this explanation is not enough. What kind of tcp servers are they and what clients connect to them? What protocol do they use? It is a pure java application. We have developed TCP Server & TCP client using Java's standard java.net.SocketServer & java.net.Socket classes. Kindly refer to the URL http://www.javafaq.nu/java-example-code-classes-1894.html End original message. - Apache (with the proper modules) will proxy HTTP. It lloks like what you want is a generic, transparent TCP proxy. A simple Google search on "TCP proxy" turns up at least a half dozen such server solutions. Perhaps one of those will be a better fit for what you are trying to do? http://www.google.com/search?en&q=tcp+proxy Dragon ~~~ Venimus, Saltavimus, Bibimus (et naribus canium capti sumus) ~~~ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] question on port number from client to host
hello I am using apache http server to serve some xml requests from clients. the http server hands over the incoming XML to back end application. the back end application creates the response and hands over to HTTP server to be sent out. for some requests, the client port is changing to a different one. the network trace shows the following for some requests. incoming request host port:80 client port:1234 outgoing response: host port:80 client port:3456 Could anyone please let me know if this is acceptable behavior? I wonder if this could be related to mismatched responses on the client side that I am facing. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]