[users@httpd] Load Balancing: 404 Not Found When Setting ProxyPass to Something Other Than "/"

2021-08-08 Thread Michela
Hello, everyone! I am using Apache as a load balancer, and have an issue with requests returning a 404 status code, unless they match a ProxyPass directive with a source value of "/". Can you help me identify the reason for this? My load balancer configuration bits (just let me know if I should

[users@httpd] Load balancing - HTTPD & Tomcat

2016-07-18 Thread Leon Vergottini
Dear Community I hope your all doing well today.  Thank you for assisting me the other day with setting up SSL properly. Recently, I have been running into an issue where HTTPD load balancing falls over, thus preventing me from reaching the Tomcat sessions. The error messages that I a

Re: [users@httpd] Load balancing based on header value

2016-03-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niranjan, On 3/30/16 3:02 PM, Niranjan Rao wrote: > I am using AJP to connect to tomcat. > > Entry in the config file looks like > > BalancerMember ajp://myserver:8009 > route=node2 ProxySet lbmethod=bytraffic ProxySet > stickysession=JSESSIONID >

Re: [users@httpd] Load balancing based on header value

2016-03-30 Thread Niranjan Rao
I am using AJP to connect to tomcat. Entry in the config file looks like BalancerMember ajp://myserver:8009 route=node2 ProxySet lbmethod=bytraffic ProxySet stickysession=JSESSIONID Hope this answers your question. Regards, Niranjan On 03/30/2016 11:50 AM, Christoph

Re: [users@httpd] Load balancing based on header value

2016-03-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niranjan, On 3/30/16 2:15 PM, Niranjan Rao wrote: > Greetings, > > My first post to this mailing list. > > I have apache2 load balancing working perfectly based on session > affinity. Traffic does get directed properly to appropriate tomcat > serve

[users@httpd] Load balancing based on header value

2016-03-30 Thread Niranjan Rao
Greetings, My first post to this mailing list. I have apache2 load balancing working perfectly based on session affinity. Traffic does get directed properly to appropriate tomcat server. We are trying to use same servers to serve some REST API calls. These calls don't have a session, however

Re: [users@httpd] Load Balancing - 2 Active nodes & 1 Inactive until threshold

2015-09-04 Thread Wei-min Lee
Not sure if this is what you're looking for, but you can use the 'max' parameter per member to set the limit of connections and on the last member use the 'status=+H' parameter to put it into a hot standby mode. On Fri, Sep 4, 2015 at 12:08 AM, Leon Vergottini wrote: > Dear Community > > I curre

[users@httpd] Load Balancing - 2 Active nodes & 1 Inactive until threshold

2015-09-04 Thread Leon Vergottini
Dear Community I currently have a setup similar to the one below for load balancing. ProxyPass / balancer://something/ stickysession=JSESSIONID BalancerMember ajp://xxx.xxx.xxx.xxx:11009 route=node1 BalancerMember ajp://xxx.xxx.xxx.xxx:12009 route=node2 BalancerMember ajp://xxx.xxx.xxx.xxx

[users@httpd] load balancing based on source IP

2014-12-19 Thread congo
hello, what is the best way for obtaining IP stickyness in apache httpd load balancer ? -i currently run httpd 2.2.29 (FreeBSD), 64bit Prefork ofcause with the mod_proxy* modules enabled.. However - the case is that i want to direct requests from one IP to one backend, and all other reque

AW: [users@httpd] Load balancing with load detection on backend servers ?

2014-11-26 Thread Ulrich.Herbst
] Gesendet: Donnerstag, 20. November 2014 14:50 An: users@httpd.apache.org; Jim Jagielski Betreff: Re: [users@httpd] Load balancing with load detection on backend servers ? The guts are all there for this to work on the proxy side. We just need to make a module out of it. The question of header name and

Re: [users@httpd] Load balancing with load detection on backend servers ?

2014-11-20 Thread Daniel Ruggeri
@httpd.apache.org Subject: Re: [users@httpd] Load balancing with load detection on backend servers ? The only real question is how the load value of the backend systems can be known and then "told" to Apache. I had proposed awhile ago using some sort of custom HTTP X-header to send that info. > On

Re: [users@httpd] Load balancing with load detection on backend servers ?

2014-11-20 Thread Jim Jagielski
The only real question is how the load value of the backend systems can be known and then "told" to Apache. I had proposed awhile ago using some sort of custom HTTP X-header to send that info. > On Nov 19, 2014, at 3:28 AM, ulrich.her...@t-systems.com wrote: > > Hi all, > > I know the load_bala

[users@httpd] Load balancing with load detection on backend servers ?

2014-11-19 Thread Ulrich.Herbst
Hi all, I know the load_balancing-policies bybusyness, byrequests, bytraffic and heartbeat. We have a frontend apache, that acts as forwarding proxy to 8 backend servers. BUT: We want do route the next request to that backend server with least load. Is there any apache module, that can do this

Re: [users@httpd] Load balancing

2012-10-17 Thread Dionisio Cortes Fernandez
Thanks Eric, I´m going to see that 2012/10/17 Eric Covener > On Tue, Oct 16, 2012 at 5:57 PM, Dionisio Cortes Fernandez > wrote: > > Hi, > > > > I´ve been trying to make a load balanced Apache servet without all the > > success I wanted. I used this mods > > > > proxy > > proxy_balancer > > pro

Re: [users@httpd] Load balancing

2012-10-16 Thread Eric Covener
On Tue, Oct 16, 2012 at 5:57 PM, Dionisio Cortes Fernandez wrote: > Hi, > > I´ve been trying to make a load balanced Apache servet without all the > success I wanted. I used this mods > > proxy > proxy_balancer > proxy_http > status > > And I get a main server that balances the load, to the other

Re: [users@httpd] Load-balancing with Mod_Proxy and SSL problem

2012-07-12 Thread Jehan Badshah
Thanks Daniel Now syntax errors are fixed, but apache is not starting, following is error log [Fri Jul 13 23:07:52.976414 2012] [lbmethod_heartbeat:notice] [pid 12579:tid 3086534336] AH02282: No slotmem from mod_heartmonitor [Fri Jul 13 23:07:52.977220 2012] [proxy_balancer:emerg] [pid 12579:tid

Re: [users@httpd] Load-balancing with Mod_Proxy and SSL problem

2012-07-12 Thread Daniel Gruno
On 07/12/2012 02:42 PM, Jehan Badshah wrote: > HI > > *for loadbalancing I added following lines in httpd-ssl.conf file * > > > //certificates etc > > //loadbalancing lines > ProxyPass / balancer://sakaiCluster/ stickysession=JSESSIONID > nofailover=On timeout=60 > > BalancerMember ajp

[users@httpd] Load-balancing with Mod_Proxy and SSL problem

2012-07-12 Thread Jehan Badshah
HI *for loadbalancing I added following lines in httpd-ssl.conf file * //certificates etc //loadbalancing lines ProxyPass / balancer://sakaiCluster/ stickysession=JSESSIONID nofailover=On timeout=60 BalancerMember ajp://192.168.1.101:8009 route=tom121 BalancerMember ajp://192.1

[users@httpd] Load balancing & session affinity (QUERY)

2012-04-26 Thread GIORGI Olivier
Hello to all, I am using Apache 2.2.21 & Tomcat 6.0.29 1) Schema: Load balancer (Apache.2.2.21) -> 1st appli (Tomcat 6.0.29) -> 2nd appli. (Tomcat 6.0.29) 2) Using the following configuration, my load balancing is stateless instead of statefull (having a look at the logs). -

Re: [users@httpd] Load Balancing, no fail over when backend server is down?

2012-04-20 Thread enabors
sage in context: http://apache-http-server.18135.n6.nabble.com/users-httpd-Load-Balancing-no-fail-over-when-backend-server-is-down-tp4741407p4902482.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. -

Re: [users@httpd] Load Balancing, no fail over when backend server is down?

2012-03-29 Thread Ryan Bowman
On Thu, Mar 29, 2012 at 10:31 AM, Tom Evans wrote: > On Thu, Mar 29, 2012 at 5:14 PM, Ryan Bowman wrote: >> That doesn't sound correct to me, the balancer-manager page has a >> status column, and shows that one is OK, the other is Err. (see the >> attached screen shot) >> >> Apache knows that the

Re: [users@httpd] Load Balancing, no fail over when backend server is down?

2012-03-29 Thread Tom Evans
On Thu, Mar 29, 2012 at 5:14 PM, Ryan Bowman wrote: > That doesn't sound correct to me, the balancer-manager page has a > status column, and shows that one is OK, the other is Err. (see the > attached screen shot) > > Apache knows that the backend server is having problems, shouldn't > Apache then

Re: [users@httpd] Load Balancing, no fail over when backend server is down?

2012-03-28 Thread Anam Ali Khan
I think Apache mod_proxy do not support health checking for backend servers. -Anam From: Ryan Bowman To: users@httpd.apache.org Sent: Thursday, 29 March 2012, 2:04 Subject: [users@httpd] Load Balancing, no fail over when backend server is down? Greetings

[users@httpd] Load Balancing, no fail over when backend server is down?

2012-03-28 Thread Ryan Bowman
Greetings I have recently setup Apache load balancing to two backend JBoss (5.1.0.GA) servers. Communication over AJP, with Sticky Sessions, (no session replication on the Jboss servers). I'm having a problem with both Apache 2.2.21 (SUSE 11.3) and 2.4.1 (CentOS 5-something, I think). I shut off

RE: [users@httpd] Load Balancing for REST service

2012-03-08 Thread Brian Lauber
That did the trick. Thanks! -=- Brian From: Daniel Ruggeri [drugg...@primary.net] Sent: Thursday, March 08, 2012 6:41 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Load Balancing for REST service On 3/7/2012 8:39 PM, Brian Lauber wrote: >

Re: [users@httpd] Load Balancing for REST service

2012-03-08 Thread Daniel Ruggeri
On 3/7/2012 8:39 PM, Brian Lauber wrote: > I was unable to access the presentations that you referenced in your > response. It appears that anonymous users are not authorized to view these > files. If you get the chance, could you please make these presentations > available to me? My mistake.

RE: [users@httpd] Load Balancing for REST service

2012-03-07 Thread Brian Lauber
iel Ruggeri [mailto:drugg...@primary.net] > Sent: Wednesday, March 07, 2012 6:59 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] Load Balancing for REST service > > On 3/7/2012 4:47 PM, Brian Lauber wrote: > > Howdy. > > > > We have a REST servic

Re: [users@httpd] Load Balancing for REST service

2012-03-07 Thread Daniel Ruggeri
On 3/7/2012 4:47 PM, Brian Lauber wrote: > Howdy. > > We have a REST service that we are attempting to load balance via > mod_proxy_balancer. Unfortunately, we have been unable to figure out how to > maintain the session stickiness across REST service calls. In particular, > our REST service d

[users@httpd] Load Balancing for REST service

2012-03-07 Thread Brian Lauber
Howdy. We have a REST service that we are attempting to load balance via mod_proxy_balancer. Unfortunately, we have been unable to figure out how to maintain the session stickiness across REST service calls. In particular, our REST service does not make use of cookies or URL query parameters,

RE: [users@httpd] load balancing

2011-09-07 Thread Kashif Rahman
users@httpd.apache.org Subject: [users@httpd] load balancing Hi all, I am using httpd-2.2.3-43.el5.1.vm on centos 5.6 I want to add another web server to act as web farm. I want to use mod_proxy for load balancing between servers but I don't know how.any one can help me in this issue ? Rega

Re: [users@httpd] load balancing

2011-09-07 Thread Mark Wiltshire
Have you see this http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html R Mark On 7 Sep 2011, at 13:47, Amira Othman wrote: Hi all, I am using httpd-2.2.3-43.el5.1.vm on centos 5.6 I want to add another web server to act as web farm. I want to use mod_proxy for load balancing between

[users@httpd] load balancing

2011-09-07 Thread Amira Othman
Hi all, I am using httpd-2.2.3-43.el5.1.vm on centos 5.6 I want to add another web server to act as web farm. I want to use mod_proxy for load balancing between servers but I don't know how.any one can help me in this issue ? Regards Amira Othman Server Administrator

Re: [users@httpd] Load Balancing question

2011-08-04 Thread Jim Jagielski
Hence the reason for the rewrite in 2.3/2.4. Balancer-manager in prev versions was NEVER intended for long-term usage. The issue is in the interaction of balancer-manager and mod_proxy_balancer, not the balancer itself. On Aug 4, 2011, at 10:57 AM, Tom Evans wrote: > On Thu, Aug 4, 2011 at 3:43

Re: [users@httpd] Load Balancing question

2011-08-04 Thread Tom Evans
On Thu, Aug 4, 2011 at 3:43 PM, Jim Jagielski wrote: > You will note that the balancer in 2.3/2.4 resolves this issue. > > BTW, the idea that mod_proxy_balancer is "broken" only means that > it does not do what you expect, which is restore all local mods > made via balancer_manager, but this was n

Re: [users@httpd] Load Balancing question

2011-08-04 Thread Jim Jagielski
On Aug 4, 2011, at 7:40 AM, Tom Evans wrote: > On Thu, Aug 4, 2011 at 2:14 AM, Jeff Poling wrote: >> Thanks. For whatever reason, an apachectl stop and an apachectl start >> corrected the issue- the balancer-manager now reflects the config in the >> config file >> > > mod_proxy_balancer is

RE: [users@httpd] Load Balancing question

2011-08-04 Thread Jeff Poling
Tom, > mod_proxy_balancer is dangerous to use when doing graceful restarts. > The state of the balancers is saved, and then re-applied, however various > things can cause the settings to be applied to a different balancer member. Thanks for the information on the bugs. I really appreciate it! We

Re: [users@httpd] Load Balancing question

2011-08-04 Thread Tom Evans
On Thu, Aug 4, 2011 at 2:14 AM, Jeff Poling wrote: > Thanks.  For whatever reason, an apachectl stop and an apachectl start > corrected the issue- the balancer-manager now reflects the config in the > config file > mod_proxy_balancer is dangerous to use when doing graceful restarts. The state o

RE: [users@httpd] Load Balancing question

2011-08-03 Thread Jeff Poling
www.moodyministries.net From the Word. To Life. > -Original Message- > From: aceror [mailto:aceror2...@yahoo.es] > Sent: Wednesday, August 03, 2011 6:12 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] Load Balancing question > > Check this, maybe help > &

Re: [users@httpd] Load Balancing question

2011-08-03 Thread aceror
Check this, maybe help http://www.issociate.de/board/post/478439/mod_rewrite_ +_mod_proxy_trouble.html El mié, 03-08-2011 a las 12:47 -0500, Jeff Poling escribió: > We are using apache to load balance many of our web sites. Over the > last few weeks, we have migrated sites to new back end serv

[users@httpd] Load Balancing question

2011-08-03 Thread Jeff Poling
We are using apache to load balance many of our web sites. Over the last few weeks, we have migrated sites to new back end servers. With the latest round of migrations (our busiest sites), I am seeing significant performance issues on one of the back end servers. After some investigation, I f

Re: [users@httpd] Load Balancing mod_webdav?

2011-03-30 Thread Nick Tkach
- Original Message - > - Original Message - > > This may be a stupid idea, but has anyone had any experience > > load-balancing two Apache (2.2 in our case) servers that are running > > mod_dav? We've searched and searched and it looks like it's just > > something that no one at all

Re: [users@httpd] Load Balancing mod_webdav?

2011-03-30 Thread Igor Galić
- Original Message - > This may be a stupid idea, but has anyone had any experience > load-balancing two Apache (2.2 in our case) servers that are running > mod_dav? We've searched and searched and it looks like it's just > something that no one at all talks about. I've been thinking ab

[users@httpd] Load Balancing mod_webdav?

2011-03-30 Thread Nick Tkach
This may be a stupid idea, but has anyone had any experience load-balancing two Apache (2.2 in our case) servers that are running mod_dav? We've searched and searched and it looks like it's just something that no one at all talks about. We've got a setup in production where we've got Apache 2.2

Re: [users@httpd] Load balancing proxy pass and reverse proxy pass

2011-03-14 Thread Tom Evans
On Mon, Mar 14, 2011 at 2:59 PM, aparna aryan wrote: > Hello, > > Our application is running with a apache webserver and 2 instances of > weblogic server. > > localhost1- weblogic > localhost2 - weblogic > > Now we are trying to replace localhost2 with tomcat and do clustering. > > The following c

[users@httpd] Load balancing proxy pass and reverse proxy pass

2011-03-14 Thread aparna aryan
Hello, Our application is running with a apache webserver and 2 instances of weblogic server. localhost1- weblogic localhost2 - weblogic Now we are trying to replace localhost2 with tomcat and do clustering. The following configuration was with out clustering : We have the following configurat