Re: [users@httpd] mod_proxy health check custom header

2024-08-12 Thread Aaron Rosenzweig
Hi Eric thanks for digging into code to confirm what I was asking for isn't currently possible. Sounds like while it might be a reasonable enhancement, and somewhat easy to implement, it's not a slam dunk because it could have complications. Yes, you are right, by checking for a particular endpoin

Re: [users@httpd] mod_proxy health check custom header

2024-08-12 Thread Eric Covener
> Does anyone know how to configure the mod_proxy health check to use a custom > header? Or is it not possible currently? Thank you :-) Not a user but I checked the code and I don't think it's possible without an enhancement to mod_proxy_hcheck. The change would not be too bad though. https://g

[users@httpd] mod_proxy health check custom header

2024-08-07 Thread Aaron Rosenzweig
We have mod_proxy doing balancing and working great with the exception of one thing, the health check. I'm talking about the heartbeat interval that tells mod_proxy if our java app instances are ok. I read the docs here: https://httpd.apache.org/docs/current/mod/mod_proxy_hcheck.html I'm pretty s

[users@httpd] mod_proxy and ProxyErrorOverride Directive

2021-02-17 Thread Sean LeBlanc
We have switched from mod_jk to mod_proxy_ajp recently, and I'm trying to get similar behavior to what we did via uriworkermap.properties files, in which we blocked most error codes coming from our Java application, for example: /app|/*worker1;use_server_errors=401, serve up instead> I

Re: [users@httpd] mod_proxy apj unstable behivel

2018-03-13 Thread Suvendu Sekhar Mondal
On Tue, Mar 13, 2018, 5:13 PM David Belgini wrote: > Hello, > > > > First of all, I’m new here, if I’m doing some stupid thing please let me > to know... > > > > I have a tipical configuration like bellow. > > > > IP A (access1.test.com) – Firewall – Apache – Firewall – Tomcat – DB > > IP B (acce

Re: [users@httpd] mod_proxy apj unstable behivel

2018-03-13 Thread Gryz Bug
Hi , We had some similiar issues where we had 2 apache instances running on the same port. Have you checked your process list for running httpd processes after the issue happens ? Regards > On 13 Mar 2018, at 13:42, David Belgini wrote: > > Hello, > > First of all, I’m new here, if I’m

[users@httpd] mod_proxy apj unstable behivel

2018-03-13 Thread David Belgini
Hello, First of all, I'm new here, if I'm doing some stupid thing please let me to know... I have a tipical configuration like bellow. IP A (access1.test.com) - Firewall - Apache - Firewall - Tomcat - DB IP B (access2.test.com) I'm using apache 2.4 (httpd-2.4.6-67.el7.centos.6) and

Re: [users@httpd] mod_proxy - sticky sessions configuration help

2018-02-26 Thread Herb Burnswell
Eric - Thanks for the suggestion about logging %f in the access log. It did in fact point to the issue. It ended up that I needed an ending '/' on my ProxyPass and ProxyPassReverse directives: ProxyPass / balancer://mycluster/ stickysession=JSESSIONID ProxyPassReverse / balancer://mycluster/ sti

Re: [users@httpd] mod_proxy - sticky sessions configuration help

2018-02-26 Thread Herb Burnswell
Thanks Eric. Rewrite rules on the HTTPD side or the backend Tomcat application? There are no other rewrite rules that I am aware of. HB On Mon, Feb 26, 2018 at 11:54 AM, Eric Covener wrote: > Do you have a separate set of rewriterules somewhere that might also > be proxying? Logging %f in th

Re: [users@httpd] mod_proxy - sticky sessions configuration help

2018-02-26 Thread Eric Covener
Do you have a separate set of rewriterules somewhere that might also be proxying? Logging %f in the access log LogFormat may also help. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail:

[users@httpd] mod_proxy - sticky sessions configuration help

2018-02-26 Thread Herb Burnswell
All, I am setting up a frontend HTTPD load balancer to a backend Tomcat application using mod_proxy. I have not done so previously and am looking for some guidance. Here is a diagram of what it will look like: +-+ | Firewall Public | +-+ +

Re: [users@httpd] Mod_Proxy, SSLVerifyClient, Safari, and Guacamole issues

2018-02-22 Thread Scott Palmer
So, I am s sending this to list for archive purposes. I ended up resolving the Safari issue by moving the SSLVerifyClient to the Location definition vs the virtualhost definition. After doing this, I added a Location definition for the api/tokens path to not require the client certificate valid

[users@httpd] Mod_Proxy, SSLVerifyClient, Safari, and Guacamole issues

2018-02-21 Thread Scott Palmer
Good day, I am using Apache HTTPd w/Mod_Proxy to proxy Apache Guacamole. The httpd side of things does a client side certificate validation. On Chrome and FF, everything works just fine, however on Safari, it does not. If I go direct to the Guacamole via Safari bypassing the mod_proxy, Safari

[users@httpd] mod_proxy performance with IIS

2017-07-11 Thread Bruno Dorchain
I had an httpd 2.2 (under Centos 6) with mod_proxy forwarding requests to an IIS 7.5 in HTTPS. I replaced it with an httpd 2.4 (Centos 7) and I expected a huge increase in performance due to the connection pooling on the back but it only increased by 10%. Doing the same test with an httpd back-end

Re: [users@httpd] mod_proxy and 404

2017-05-15 Thread Felipe Gasper
> On 15 May 2017, at 11:13 AM, Eric Covener wrote: > > On Mon, May 15, 2017 at 11:06 AM, Felipe Gasper > wrote: >>I’m noticing that mod_proxy sends its entire payload upstream without >> checking for an early response (e.g., 308 or 404). If upstream sends such a >> response then clos

Re: [users@httpd] mod_proxy and 404

2017-05-15 Thread Eric Covener
On Mon, May 15, 2017 at 11:06 AM, Felipe Gasper wrote: > I’m noticing that mod_proxy sends its entire payload upstream without > checking for an early response (e.g., 308 or 404). If upstream sends such a > response then closes the connection, mod_proxy never sees it and reports a > 502

[users@httpd] mod_proxy and 404

2017-05-15 Thread Felipe Gasper
Hello, I’m noticing that mod_proxy sends its entire payload upstream without checking for an early response (e.g., 308 or 404). If upstream sends such a response then closes the connection, mod_proxy never sees it and reports a 502 back. Browsers don’t behave this way; they see

Re: [users@httpd] [mod_proxy] status=E has no affect.

2016-08-08 Thread Jim Jagielski
What version of httpd? What does the balancer-manager indicate? > On Aug 6, 2016, at 6:42 AM, dE wrote: > > Hi. > > I'm using the following config -- > > BalancerMember balancer://localbalance/ http://[fc00::1:4]/ retry=600 > loadfactor=99 status=E > BalancerMember balancer://localbalance/ ht

[users@httpd] [mod_proxy] status=E has no affect.

2016-08-06 Thread dE
Hi. I'm using the following config -- BalancerMember balancer://localbalance/ http://[fc00::1:4]/ retry=600 loadfactor=99 status=E BalancerMember balancer://localbalance/ http://[fc00::1:6]/ retry=600 ProxyPass / balancer://localbalance/ forcerecovery=off The member fc00::1:4 is manually set

Re: [users@httpd] mod_proxy: failonstatus does not work.

2016-08-05 Thread dE
Thanks for the info! I'll be waiting. On 08/03/16 20:08, Yann Ylavic wrote: Hi, On Sun, Jul 31, 2016 at 9:28 AM, dE wrote: ProxyPass / balancer://localbalance/ failonstatus=200 forcerecovery=off BalancerMember balancer://localbalance/ http://[fc00::1:4]/ retry=600 loadfactor=99 BalancerMembe

Re: [users@httpd] mod_proxy: failonstatus does not work.

2016-08-03 Thread Yann Ylavic
Hi, On Sun, Jul 31, 2016 at 9:28 AM, dE wrote: > > ProxyPass / balancer://localbalance/ failonstatus=200 forcerecovery=off > BalancerMember balancer://localbalance/ http://[fc00::1:4]/ retry=600 > loadfactor=99 > BalancerMember balancer://localbalance/ http://[fc00::1:6]/ retry=600 > > Both the b

[users@httpd] mod_proxy: failonstatus does not work.

2016-07-31 Thread dE
Hi. I've set the following configs -- ProxyPass / balancer://localbalance/ failonstatus=200 forcerecovery=off BalancerMember balancer://localbalance/ http://[fc00::1:4]/ retry=600 loadfactor=99 BalancerMember balancer://localbalance/ http://[fc00::1:6]/ retry=600 Both the backends send a

Re: [users@httpd] mod_proxy: When does a backend be considered as failed?

2016-07-31 Thread dE
On 07/30/2016 04:37 PM, Yann Ylavic wrote: On Sat, Jul 30, 2016 at 8:36 AM, dE wrote: Yes, as you said I did try that before -- Your previous configuration had timeout=10 on the ProxyPass line, not the BalancerMember one as expected. BalancerMember balancer://localbalance/ http://[fc00::1:4]

Re: [users@httpd] mod_proxy: When does a backend be considered as failed?

2016-07-30 Thread Yann Ylavic
On Sat, Jul 30, 2016 at 8:36 AM, dE wrote: > > Yes, as you said I did try that before -- Your previous configuration had timeout=10 on the ProxyPass line, not the BalancerMember one as expected. > > BalancerMember balancer://localbalance/ http://[fc00::1:4]/ timeout=10 > ProxyPass / balancer://l

Re: [users@httpd] mod_proxy: When does a backend be considered as failed?

2016-07-29 Thread dE
On 07/25/16 17:47, Yann Ylavic wrote: On Mon, Jul 25, 2016 at 5:18 AM, dE wrote: Config -- [] ProxyPass / balancer://localbalance/ failontimeout=on timeout=10 failonstatus=502 You are defining a balancer here, so the timeout= parameter relates to the balancer (like the two others) However f

Re: [users@httpd] mod_proxy: When does a backend be considered as failed?

2016-07-25 Thread Yann Ylavic
On Mon, Jul 25, 2016 at 5:18 AM, dE wrote: > > Config -- [] > > ProxyPass / balancer://localbalance/ failontimeout=on timeout=10 > failonstatus=502 You are defining a balancer here, so the timeout= parameter relates to the balancer (like the two others) However for a balancer, the timeout= param

Re: [users@httpd] mod_proxy: When does a backend be considered as failed?

2016-07-24 Thread dE
On 07/19/16 17:54, Yann Ylavic wrote: Hello, On Sun, Jul 17, 2016 at 9:41 AM, dE wrote: It appears that mod_proxy considers a backend as failed only when the transport layer connection to that backend fails. Is this expected? Unless failonstatus/failontimeout is used, usually. Which htt

Re: [users@httpd] mod_proxy: When does a backend be considered as failed?

2016-07-19 Thread Yann Ylavic
Hello, On Sun, Jul 17, 2016 at 9:41 AM, dE wrote: > It appears that mod_proxy considers a backend as failed only when the > transport layer connection to that backend fails. Is this expected? Unless failonstatus/failontimeout is used, usually. Which httpd version are you using? Could you pl

[users@httpd] mod_proxy: When does a backend be considered as failed?

2016-07-17 Thread dE
Hi, It appears that mod_proxy considers a backend as failed only when the transport layer connection to that backend fails. Is this expected? The backends are VMs and only when I SIGSTOP the VMs, the backend is considered in an error state and the retry= parameter has an affect. If I've

Re: [users@httpd] mod_proxy nofailover parameter.

2016-07-16 Thread dE
I'll come back to this later. On 07/15/16 22:25, Daniel wrote: Failover is what you described, nofailover is for the opposite El 15 jul. 2016 3:27 p. m., "dE" > escribió: Hi, What I understand of nofailover is that in case a client is fetching fr

Re: [users@httpd] mod_proxy nofailover parameter.

2016-07-15 Thread Daniel
Failover is what you described, nofailover is for the opposite El 15 jul. 2016 3:27 p. m., "dE" escribió: > Hi, > > What I understand of nofailover is that in case a client is fetching > from this proxy and the origin server goes to an error or disabled state, a > reset packet won't be sent t

[users@httpd] mod_proxy nofailover parameter.

2016-07-15 Thread dE
Hi, What I understand of nofailover is that in case a client is fetching from this proxy and the origin server goes to an error or disabled state, a reset packet won't be sent to the client, instead the backend will be changed and the client will continue the operation uninterrupted. Bu

Re: [users@httpd] mod_proxy and DNS resolving

2016-06-19 Thread Luca Toscano
2016-05-28 12:25 GMT+02:00 Luca Toscano : > Hi Yann, > > 2016-05-28 0:31 GMT+02:00 Yann Ylavic : > >> Hi Luca, >> >> On Mon, May 23, 2016 at 2:21 PM, Luca Toscano >> wrote: >> > >> > I replied to the comment that you pointed out with Jim's answer and I >> > updated the trunk documentation with a

Re: [users@httpd] mod_proxy and DNS resolving

2016-05-28 Thread Luca Toscano
Hi Yann, 2016-05-28 0:31 GMT+02:00 Yann Ylavic : > Hi Luca, > > On Mon, May 23, 2016 at 2:21 PM, Luca Toscano > wrote: > > > > I replied to the comment that you pointed out with Jim's answer and I > > updated the trunk documentation with a note about DNS resolution: > > > > http://httpd.apache.o

Re: [users@httpd] mod_proxy and DNS resolving

2016-05-27 Thread Yann Ylavic
Hi Luca, On Mon, May 23, 2016 at 2:21 PM, Luca Toscano wrote: > > I replied to the comment that you pointed out with Jim's answer and I > updated the trunk documentation with a note about DNS resolution: > > http://httpd.apache.org/docs/trunk/mod/mod_proxy.html#workers > > HTML diff only: > http:

Re: [users@httpd] mod_proxy and DNS resolving

2016-05-23 Thread Luca Toscano
Hi Matthias, I replied to the comment that you pointed out with Jim's answer and I updated the trunk documentation with a note about DNS resolution: http://httpd.apache.org/docs/trunk/mod/mod_proxy.html#workers HTML diff only: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_pr

Re: [users@httpd] mod_proxy and DNS resolving

2016-05-22 Thread Jim Jagielski
Since mod_proxy uses connection pooling, DNS is resolved when the socket is 1st created and then when it is then re-created as per the ttl of the connection pool itself. > On May 18, 2016, at 8:48 AM, Matthias Leopold > wrote: > > hi, > > in the comment section of http://httpd.apache.org/docs/

[users@httpd] mod_proxy and DNS resolving

2016-05-18 Thread Matthias Leopold
hi, in the comment section of http://httpd.apache.org/docs/2.4/mod/mod_proxy.html someone asks: It is unclear from this documentation, when does Apache do DNS resolving of the origin server hostname? At each request? Does Apache do DNS caching? If yes, for how long? Does it honour TTL? unf

Re: [users@httpd] mod_proxy HTTP/2

2016-03-01 Thread Yehuda Katz
mod_proxy_http doesn't support http2 yet. There is a separate mod_proxy_http2, but I don't think it has been released. It uses a new syntax to force an h2 connection. Dev list discussion: http://marc.info/?l=apache-httpd-dev&m=145495124513617&w=2 - Y Sent from a device with a very small keyboard

[users@httpd] mod_proxy HTTP/2

2016-03-01 Thread Russel Van Tuyl
I have Apache (2.4.18) setup and working fine with HTTP/2 on host-a. I can establish HTTP/2 connections to host-a with any web browser. I also have HTTP/2 and mod_proxy setup on host-b. I can proxy HTTP/1.1 requests from host-b to host-a with any web browser. I can also establish HTTP/2 connections

Re: [users@httpd] Mod_Proxy and Mod_Evasive

2015-12-10 Thread Luca Toscano
Hi George, What version of mod-evasive are you using? From the path that you provided for test.pl (please use tools like siege or ab instead) it seems very old (last changelog 2005 for Apache 1.3). Have you tried to use a newer version (unofficial branches for 2.X are on github)? Moreover, what se

[users@httpd] Mod_Proxy and Mod_Evasive

2015-12-08 Thread George Genovezos
Hi all, I’m trying to redirect block and redirect traffic with Mod_evasive and mod_proxy. I can get either one of those components working individuals, but when both are combined only mod_proxy appears to be working with this config. proxy.conf ProxyPreserveHost On ProxyRequests On

Re: [users@httpd] mod_proxy - Status lines without response phrases are getting turned into 500 errors

2015-12-07 Thread Adam
Thanks Nick! I'm not sure what our plans are to upgrade, but we do have an easy fix in our application for now. Thanks for clarifying where it was fixed and not fixed. Adam On Mon, Dec 7, 2015 at 2:34 PM, Nick Kew wrote: > On Mon, 2015-12-07 at 14:03 -0500, Adam wrote: > > We are using Apache

Re: [users@httpd] mod_proxy - Status lines without response phrases are getting turned into 500 errors

2015-12-07 Thread Nick Kew
On Mon, 2015-12-07 at 14:03 -0500, Adam wrote: > We are using Apache 2.2.29 in production with mod_perl and mod_proxy What's the role of mod_perl in your proxy? Can the problem be replicated without mod_perl? Oh, right, just looked up the bug you reference: seems I was there. The final comment

[users@httpd] mod_proxy - Status lines without response phrases are getting turned into 500 errors

2015-12-07 Thread Adam
Hi, We are using Apache 2.2.29 in production with mod_perl and mod_proxy (we're acting as a reverse proxy) and are experiencing a problem with proxying responses from the back end server that don't include a response phrase being turned into a 500 error by Apache when it proxies to the client. Th

[users@httpd] mod_proxy with multiple clusters

2015-10-14 Thread Kankure, Pramod
All We are seeing unexpected behavior when we have multiple clusters defined in mod_proxy. It starts creating too many child processes on server start up and eventually each process gets child pid exit signal Bus error (7) Thanks :

[users@httpd] mod_proxy - terminating backend connections

2015-06-19 Thread Extra Fu
Hello, I'm facing an interesting issue with mod_proxy on Apache 2.2.22 (Ubuntu Precise, x86_64). I have a backend application running on port 20 000. HTTP clients can keep connection open for many minutes, up to one hour. If the backend detects a change, it'll push it over HTTP on the established

[users@httpd] mod_proxy and mod_nss - occasional "SSL Proxy: I don't have the name of the host we're supposed to connect to so I can't verify that we are connecting to who we think we should be. Givin

2015-04-08 Thread Jamie Johnson
I am running httpd-2.4.12 and mod_nss-1.0.11 built from source and am running into an issue where I occasionally get an error where mod_nss throws the following exception SSL Proxy: I don't have the name of the host we're supposed to connect to so I can't verify that we are connecting to who we th

[users@httpd] mod_proxy/ mod_proxy_http/ mod_proxy_balancer error states

2015-03-20 Thread Erik Person
Hi! I have problems finding documentation on which specific events a ProxyPass worker would get in a state "Error" (https/ https). My point with this is to know exactly when I can expect a failover to another BalancerMember using mod_proxy_balancer. I am talking about the default behaviour I ha

Re: [users@httpd] mod_proxy, php-fpm and DirectoryIndex

2015-01-31 Thread lennsen
thank you :> Eric Covener schrieb: > On Sat, Jan 31, 2015 at 9:04 PM, wrote: > > Any ideas how to solve that issue? Any hints would be appreciated > > Tried the SetHandler recipes in the mod_proxy_fcgi docs? They let the > core of apache do more mapping of URL to filesystem. > >

Re: [users@httpd] mod_proxy, php-fpm and DirectoryIndex

2015-01-31 Thread Eric Covener
On Sat, Jan 31, 2015 at 9:04 PM, wrote: > Any ideas how to solve that issue? Any hints would be appreciated Tried the SetHandler recipes in the mod_proxy_fcgi docs? They let the core of apache do more mapping of URL to filesystem.

[users@httpd] mod_proxy, php-fpm and DirectoryIndex

2015-01-31 Thread lennsen
hello I would like to provide PHP via php-fpm and use proxypass for that, which relays any requests for php files to the listening FPM-Server, which then parses the PHP code, e.g.: LoadModule proxy_fcgi_module ...mod_proxy_fcgi.so LoadModule proxy_handler_module .../mod_proxy_handler.so -> Pro

Re: [users@httpd] mod_proxy / ProxyPass: 400 Bad Request? (UNCLASSIFIED)

2014-11-26 Thread Igor Cicimov
On 27/11/2014 1:25 AM, "Kristian Rink" wrote: > > Am 26.11.2014 um 15:19 schrieb Stefan Magnus Landrø: > >> Check user-agent header too. Mobile phones might just be too slow or get disconnected > > > Did that already, but wasn't able to find a pattern here. Most of the clients using our system use

Re: [users@httpd] mod_proxy / ProxyPass: 400 Bad Request? (UNCLASSIFIED)

2014-11-26 Thread Kristian Rink
Am 26.11.2014 um 15:19 schrieb Stefan Magnus Landrø: Check user-agent header too. Mobile phones might just be too slow or get disconnected Did that already, but wasn't able to find a pattern here. Most of the clients using our system use some desktop browser to upload larger files or collect

Re: [users@httpd] mod_proxy / ProxyPass: 400 Bad Request? (UNCLASSIFIED)

2014-11-26 Thread Stefan Magnus Landrø
Check user-agent header too. Mobile phones might just be too slow or get disconnected Sendt fra min iPhone > Den 26. nov. 2014 kl. 15.11 skrev Kristian Rink : > >> Am 26.11.2014 um 14:48 schrieb Stefan Magnus Landrø: >> I'd add response time logging %D to the access log config to see if reques

Re: [users@httpd] mod_proxy / ProxyPass: 400 Bad Request? (UNCLASSIFIED)

2014-11-26 Thread Kristian Rink
Am 26.11.2014 um 14:48 schrieb Stefan Magnus Landrø: I'd add response time logging %D to the access log config to see if requests are slow You can add that to jetty too. I'll give it a try and see where it gets me - thanks for the hint! Kristian --

Re: [users@httpd] mod_proxy / ProxyPass: 400 Bad Request? (UNCLASSIFIED)

2014-11-26 Thread Stefan Magnus Landrø
I'd add response time logging %D to the access log config to see if requests are slow You can add that to jetty too. Stefan Sendt fra min iPhone > Den 26. nov. 2014 kl. 14.34 skrev Kristian Rink : > > Hi Nick; > > thanks for your comment. > >> Am 26.11.2014 um 14:11 schrieb Folino, Nick E

Re: [users@httpd] mod_proxy / ProxyPass: 400 Bad Request? (UNCLASSIFIED)

2014-11-26 Thread Kristian Rink
Hi Nick; thanks for your comment. Am 26.11.2014 um 14:11 schrieb Folino, Nick E CTR USARMY HRC (US): You may need to enable chunked encoding for those locations. SetEnv proxy-sendchunked As far as I see in our configuration, chunked encoding is already globally enabled. I remember o

RE: [users@httpd] mod_proxy / ProxyPass: 400 Bad Request? (UNCLASSIFIED)

2014-11-26 Thread Folino, Nick E CTR USARMY HRC (US)
: [users@httpd] mod_proxy / ProxyPass: 400 Bad Request? Folks; trying to track down a strange error, I am ending up here. Situation: We run a web application built on top of Java and Jetty exposed through an apache2 + mod_proxy reverse proxy. Generally, this works fine. However, some of our

[users@httpd] mod_proxy / ProxyPass: 400 Bad Request?

2014-11-26 Thread Kristian Rink
Folks; trying to track down a strange error, I am ending up here. Situation: We run a web application built on top of Java and Jetty exposed through an apache2 + mod_proxy reverse proxy. Generally, this works fine. However, some of our users experience troubles doing file uploads this way. I

[users@httpd] mod_proxy on Apache 2.2 Debian troubles

2014-10-13 Thread Francesco Di Mizio
Hello, not sure if this is the right place, if not please point to me to the right one. I am using buildbot ( trac.buildbot.net ) to which clients connect through a proxy (installed on the same machine as buildbot server). Buildbot has an internal webserver of its own. To make it clear: client b

Re: [users@httpd] mod_proxy + mod_ext_filter

2014-05-29 Thread Tristan Zwingelstein
Hi Nick, thanks for your quick answer. Why is it normal that is it not possible ? mod_proxy is outdated ? I made a lot of search and I did not find any tool able to do what I am expecting However there are a lot of reverse proxy able to rewrite html (as GooglePageSpeed Service for example)

Re: [users@httpd] mod_proxy + mod_ext_filter

2014-05-29 Thread Nick Kew
On Thu, 2014-05-29 at 08:12 +0200, Tristan Zwingelstein wrote: > I'm trying to use filters to replace html body of a page through a > reverse proxy. That's normal. But you seem to be trying to do it with stone-age tools. mod_proxy_html (written for exactly this task) has been around for ten year

[users@httpd] mod_proxy + mod_ext_filter

2014-05-28 Thread Tristan Zwingelstein
I'm trying to use filters to replace html body of a page through a reverse proxy. This are my Apache settings : > > > ServerName myProxy.net > ErrorLog ${APACHE_LOG_DIR}/error.log > CustomLog ${APACHE_LOG_DIR}/access.log combined ProxyRequests Off > > Order deny,allow > Allow from all > > Ext

[users@httpd] mod_proxy and redirects

2014-01-27 Thread Yan Seiner
I am trying to set up a simple mod_proxy: ErrorLog "/var/log/apache2/wrt_error.log" LogLevel debug CustomLog "/var/log/apache2/wrt_access.log" combined ProxyPreserveHost On ProxyRequests Off ServerName xxx.com ServerAlias www.xxx.com ProxyPass /foo/ http://localhost:8002/ ProxyP

[users@httpd] Mod_Proxy Bug in Apache 2.0.65

2013-12-10 Thread Otis Dewitt - NOAA Affiliate
Greetings, I am using Apache 2.0.65 with mod_proxy as a reverse proxy, this proxy sits in the DMZ and serves to the backend servers. I am getting constant errors in the log file stating whats below. *[Tue Dec 10 12:33:17 2013] [error] (20014)Error string not specified yet: proxy: pass request bod

[users@httpd] Mod_Proxy Bug in Apache 2.0.65

2013-12-10 Thread Otis Dewitt - NOAA Affiliate
Greetings, I am using Apache 2.0.65 with mod_proxy as a reverse proxy, this proxy sits in the DMZ and serves to the backend servers. I am getting constant errors in the log file stating whats below. *[Tue Dec 10 12:33:17 2013] [error] (20014)Error string not specified yet: proxy: pass request bod

Re: [users@httpd] mod_proxy doesn't persist connections to php-fpm

2013-11-14 Thread Jeff Trawick
On Thu, Nov 14, 2013 at 4:12 PM, Chandler, Dean A wrote: > Hi, > > I am trying to run Apache 2.4 web server using mod_proxy > and proxy_fcgi to proxy php requests to the PHP-FPM running on same > machine. I am pretty much using default setup for php-fpm.ini with port at > 9000.

Re: [users@httpd] mod_proxy doesn't persist connections to php-fpm

2013-11-14 Thread Marcello Lorenzi
HI Dean it's normal that the ProxyPass open a lots of connection to php-fpm instance. The same behavior can be noticed with Nginx, and in same case some people suggest to use the UNIX socket to open the connections to PHP-FPM, but you have to test the performances. You can tune the kernel par

[users@httpd] mod_proxy doesn't persist connections to php-fpm

2013-11-14 Thread Chandler, Dean A
Hi, I am trying to run Apache 2.4 web server using mod_proxy and proxy_fcgi to proxy php requests to the PHP-FPM running on same machine. I am pretty much using default setup for php-fpm.ini with port at 9000. My problem is that mod_proxy is closing the connection after every r

[users@httpd] mod_proxy ignores incompleteness of chunked-coding response from backend

2013-08-17 Thread Hannes Schmidt
Hi, We use Apache's mod_proxy to reverse-proxy a web application that sends back large XML responses whose lengths are unknown in advance. IOW, the responses sent by the application (aka the backend) use the chunked transfer encoding. We configured mod_proxy to use chunked coding on the frontend a

Re: [users@httpd] mod_proxy does not load images

2013-08-07 Thread Jeff Trawick
On Wed, Aug 7, 2013 at 2:13 PM, eric tse wrote: > Hello, > > I am configuring mod_proxy > > proxyPass /wur http://serverA.com:80/ > > It does load the page > when I access proxyserver.com/wur > get 200 for /wur > and get 404 for images > > The rule only matches /wur > not the content within /wur

[users@httpd] mod_proxy does not load images

2013-08-07 Thread eric tse
Hello, I am configuring mod_proxy proxyPass /wur http://serverA.com:80/ It does load the page when I access proxyserver.com/wur get 200 for /wur and get 404 for images The rule only matches /wur not the content within /wur attached the access logs 142.229.90.133 - - [07/Aug/2013:11:03:34 -0600

[users@httpd] Mod_proxy FailOnStatus based on error count

2013-07-27 Thread Mandar Jog
Is there a way to mark a balancer worker in 'error state' based on count or percentage of certain http errors. If my cluster has 3 members, and one of them is resulting in a large number of 500s then I would like to either mark the worker as 'bad' and remove it from the cluster. The number of err

Re: [users@httpd] Mod_proxy Slow After a Week

2013-07-17 Thread Robert Gabriel
On 24 June 2013 18:27, Tom Evans wrote: On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel wrote: > > Hello all, > > > > We have: > > > > Apache 2.2.3 > > CentOS 5.5 x86_64 > > Splunk 5.0.2 > > > > I only know the basics but Apache has been serving us very well with the > > below config > > > > and

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-27 Thread Robert Gabriel
On 26 June 2013 12:40, Tom Evans wrote: > On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel > wrote: > > Hello all, > > > > We have: > > > > Apache 2.2.3 > > CentOS 5.5 x86_64 > > Splunk 5.0.2 > > Sorry, I didn't read your original post. Please upgrade Apache to > 2.2.24 and re-test. > Thank you,

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-26 Thread Tom Evans
On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel wrote: > Hello all, > > We have: > > Apache 2.2.3 > CentOS 5.5 x86_64 > Splunk 5.0.2 Sorry, I didn't read your original post. Please upgrade Apache to 2.2.24 and re-test. Cheers Tom

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-26 Thread Robert Gabriel
On 26 June 2013 09:59, Thomas Eckert wrote: > This is interesting. I'm seeing similar events at one of my reverse proxy. > After fixing a DNS infrastructure problem I started seeing lots of 304s > with processing times well above 5 seconds. For header-only requests that's > a lot of time. If ther

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-26 Thread Thomas Eckert
This is interesting. I'm seeing similar events at one of my reverse proxy. After fixing a DNS infrastructure problem I started seeing lots of 304s with processing times well above 5 seconds. For header-only requests that's a lot of time. If there is any news here please let us know. At the very lea

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-24 Thread Robert Gabriel
On 24 June 2013 18:27, Tom Evans wrote: > On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel > wrote: > > Hello all, > > > > We have: > > > > Apache 2.2.3 > > CentOS 5.5 x86_64 > > Splunk 5.0.2 > > > > I only know the basics but Apache has been serving us very well with the > > below config > > > >

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-24 Thread Tom Evans
On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel wrote: > Hello all, > > We have: > > Apache 2.2.3 > CentOS 5.5 x86_64 > Splunk 5.0.2 > > I only know the basics but Apache has been serving us very well with the > below config > > and only after about a week did pages refresh very slowly, up to a mi

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-24 Thread Robert Gabriel
On 24 June 2013 17:49, David Guerra wrote: > You are receiving 304's? > That doesn't make sense. Maybe 504's which many times will point to a > load issue on the backend server. > > > On Mon, Jun 24, 2013 at 9:03 AM, Robert Gabriel wrote: > >> Hello all, >> >> We have: >> >> Apache 2.2.3 >> Cent

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-24 Thread David Guerra
You are receiving 304's? That doesn't make sense. Maybe 504's which many times will point to a load issue on the backend server. On Mon, Jun 24, 2013 at 9:03 AM, Robert Gabriel wrote: > Hello all, > > We have: > > Apache 2.2.3 > CentOS 5.5 x86_64 > Splunk 5.0.2 > > I only know the basics but A

[users@httpd] Mod_proxy Slow After a Week

2013-06-24 Thread Robert Gabriel
Hello all, We have: Apache 2.2.3 CentOS 5.5 x86_64 Splunk 5.0.2 I only know the basics but Apache has been serving us very well with the below config and only after about a week did pages refresh very slowly, up to a minute to reload sometimes. I tailed both httpd and splunkd logs and saw a c

Re: [users@httpd] mod_proxy integrate mod_cband apache http server

2013-04-10 Thread Eric Covener
On Wed, Apr 10, 2013 at 7:27 AM, xuan11290 wrote: > I have 3 machines. One installs apache, two other installs tomcat. I config > mod_proxy successful with them but when I config mod_cband, that seem to be > useless. Any one has idea? Elaborate on your problem if you want help. -

[users@httpd] mod_proxy integrate mod_cband apache http server

2013-04-10 Thread xuan11290
I have 3 machines. One installs apache, two other installs tomcat. I config mod_proxy successful with them but when I config mod_cband, that seem to be useless. Any one has idea? -- View this message in context: http://apache-http-server.18135.x6.nabble.com/mod-proxy-integrate-mod-cband-apache-

Re: [users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-28 Thread Nick Kew
On Thu, 28 Mar 2013 16:21:56 +0100 Nicolas Daniels wrote: > Hi, > > I finally solved the problem myself by modifying the source code of > mod_proxy_http.c: Thanks! I started to compose a reply yesterday, then decided I should look at it first to determine whether it's a bug. I might end up a

Re: [users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-28 Thread Nicolas Daniels
Hi, I finally solved the problem myself by modifying the source code of mod_proxy_http.c: Line 1697: apr_table_do(addit_dammit, save_table, r->headers_out, "Set-Cookie", NULL); --> apr_table_do(addit_dammit, save_table, r->headers_out, "Set-Cookie", "Authentication-Info", NULL); Cheers On

Re: [users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-27 Thread Nicolas Daniels
Ok, I was probably not clear enough ;-) First I'm using mod_proxy_http and DIGEST authentication. Authentication-Info header is part of digest authentication: http://rfc-ref.org/RFC-TEXTS/2069/chapter2.html Lets say I've 2 accessed URLs: http://mydomain.com/index.html http://mydomain.com/tomc

Re: [users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-27 Thread Nick Kew
On 27 Mar 2013, at 11:39, Nicolas Daniels wrote: > Everything work fine except that when the proxy is used, the > Authentication-Info header is not included in the response. If Apache is > replying directly without using the proxy, it is included. There's no such header in HTTP. Why not tell

[users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-27 Thread Nicolas Daniels
Ho I forgot, I'm using mod_proxy_http and auth_digest. Hi all, I've setup my apache (2.4.4) with mod_proxy. Final target is tomcat 7. My apache is responsible for whole authentication(s). Everything work fine except that when the proxy is used, the Authentication-Info header is not included i

[users@httpd] Mod_proxy: Authentication-Info header lost in response

2013-03-27 Thread Nicolas Daniels
Hi all, I've setup my apache (2.4.4) with mod_proxy. Final target is tomcat 7. My apache is responsible for whole authentication(s). Everything work fine except that when the proxy is used, the Authentication-Info header is not included in the response. If Apache is replying directly without u

Re: [users@httpd] mod_proxy error reading status line

2013-02-27 Thread Tom Evans
On Wed, Feb 27, 2013 at 2:59 PM, Mark Lybarger wrote: > We're using apache mod_proxy to proxy requests to jboss servers on > different hosts. We've noticed that we're getting sporadic http 502 > response codes. In the apache error file, I see LOTS of these errors: > > [Tue Feb 26 13:55:49 2013]

[users@httpd] mod_proxy error reading status line

2013-02-27 Thread Mark Lybarger
We're using apache mod_proxy to proxy requests to jboss servers on different hosts. We've noticed that we're getting sporadic http 502 response codes. In the apache error file, I see LOTS of these errors: [Tue Feb 26 13:55:49 2013] [error] [client 10.16.0.211] (70014)End of file found: proxy: er

Re: [users@httpd] mod_proxy timeout problems

2013-02-19 Thread plot.lost
On 19/02/2013 14:37, Pavel Mateja wrote: Can anyone give any clues as to what might be causing a timeout problem with mod_proxy being used as a reverse proxy to a local app server. This is using httpd 2.2.23 on ubuntu 10.04 LTS i686 I've (hopefully) eliminated the network itself as a source of t

[users@httpd] mod_proxy timeout problems

2013-02-19 Thread plot.lost
Can anyone give any clues as to what might be causing a timeout problem with mod_proxy being used as a reverse proxy to a local app server. This is using httpd 2.2.23 on ubuntu 10.04 LTS i686 I've (hopefully) eliminated the network itself as a source of the problem by testing this with the app

Re: [users@httpd] mod_proxy unleashes hell on my server

2012-12-10 Thread Andreas Westvik
Yeah, got some help on reddit. Everyting is sorted out. Even created a custom fail2ban rule to ban the suckers So everything is kinda cool now. Lesson learned! -Andreas On Dec 10, 2012, at 23:48 , "Brett @Google" wrote: > Wow. Don't be a free anonomizing proxy for the Internet.. > > The sugg

Re: [users@httpd] mod_proxy unleashes hell on my server

2012-12-10 Thread Brett @Google
Wow. Don't be a free anonomizing proxy for the Internet.. The suggestion about running a reverse proxy seems the best, but you must not allow forward proxy for everybody ! If you have a fixed internet ip, then this can make your fixed ip unusable, as once an open proxy is detected once, hundreds o

Re: [users@httpd] mod_proxy unleashes hell on my server

2012-12-10 Thread Igor Galić
- Original Message - > Hi everyone! > > First, images can be found here: > http://www.reddit.com/r/debian/comments/14jr2r/mod_proxy_unleashes_hell_on_my_server/ > > So this is the third time Im enabling mod_proxy on my Debian squeeze > server. > And every time I do this, all hell breaks

[users@httpd] mod_proxy unleashes hell on my server

2012-12-09 Thread Andreas Westvik
Hi everyone! First, images can be found here: http://www.reddit.com/r/debian/comments/14jr2r/mod_proxy_unleashes_hell_on_my_server/ So this is the third time Im enabling mod_proxy on my Debian squeeze server. And every time I do this, all hell breaks out and attacks the server. (see images a

  1   2   >