Apache :: Mod Proxy With F5 Load Balancer

May 30, 2013

I have a setup where Apache connects to a F5 load balancer which in turn balances between two jboss app servers.

Apache using mod_proxy -> F5 (hardware load balancer) -> 2 jboss application server

It uses jsessionid. I sometimes get 500 errors for the post methods. I think the request goes to the incorrect jboss server because of the F5 load balancer. Everything works just right when I shutdown one of the jboss app servers.

View 1 Replies


ADVERTISEMENT

Apache :: HTTP Load Balancer File Does Not Exist Exception

Mar 5, 2013

I am using single Apache HTTP Server (2.2.23) as a Load Balancer with two IBM Websphere application server nodes (other machines). I have deployed the simple text based helloWorld application and it works fine with load balancer. But When I deploy the real application that contains images,css file , java script file. It loads the page without images and show me simple text and gives me the following Exception on error_logs and similar kind of exceptions

[error] [client 192.217.71.77] File does not exist: /usr/local/apache2/htdocs/application, referer: http://192.168.141.17/application/faces/test.jsp

Interestingly, when I access the application without load balancer, it also works fine.

Here are the load balancer settings

View 1 Replies View Related

UK - Load Balancer

Feb 23, 2008

Im currently looking around for a Load Balancer within the budget of about £2,500

Anyone have any suggestions?

Will that budget get me one that will do the job or would I be wasting my money and should maybe save up some more cash?

Setup:

2x Web Servers
1x DB Server
1x Storage / Media Servers

*Expanding to 3/4x Web Servers, 2x DB Servers, 2x Storage / Media Servers*

I have been looking at:

F5 BIG IP D25 Load Balancer
[url]

and

F5 BIG IP D30 Load Balancer
[url]

But im unsure on what the difference between these are? as I cant seem to find there specs and what they can / cant do..

View 3 Replies View Related

Load Balancer

Apr 20, 2007

Anyone know of a good load balancer for Linux that is able to not only distribute load evenly amongst many servers, but one that's able to allocate servers based on the resource?

For instance:

I want www.mysite.com/dogs to be load-balanced between servers A, B, and C.
I want www.mysite.com/cats to be load-balanced between servers X, Y, and C.

View 1 Replies View Related

Load Balancer + VPS

Dec 11, 2007

Is there any such solution available?

Something with a failover load balancer that you can assign a static IP address to and it'll sit in front of a number of lowend virtual private servers.

View 2 Replies View Related

Load Balancer

Sep 5, 2007

I have two servers that I run in Los Angeles (used to host gaming servers for a small community I run) for personal use that seem to be a little jumpy with server performance.

Would a load balancer help with this situation?

And for the n00b question, what exactly is a load balancer.

Very new to hosting servers, so I appreciate a gentle response

View 6 Replies View Related

Load Balancer From A Linux Box

Apr 15, 2008

I wish to build a load balancer on a linux box that will load balance http/https/smtp/pop3 and ftp

what technologies i need to look at?

View 6 Replies View Related

Load Balancer And CPanel

May 4, 2008

I'm using Virtuozzo on two server.

1) Can I do this with only ONE Load Balancer?

I wish I could have many "LB", like one for the WWW serveur, an other one for the DB serveur, my "personnal" VPS without LB...

i.e. :
WWW -> SRV1 SRV2
DB1 -> DB1 DB2
EXCESSNET -> EXCESSNET1

Do I need 3 LB to do this or I can do it with only one? The screenshot of Barracuda LB seem to show many "virtual LB", so I guest it's a yes?

2) So... it's service only?

On the Barracuda and some page, they are talking about "service" and not "server" LB. Can I LB a whole serveur ? Like all service from an IP xxx.xxx.xxx.234 to a server ? Or I can only do "HTTP -> SRV1" "DNS -> SRV1"? If no, what happen to service that the LB didn't know (like cPanel)?

3) An Internal Network? what About cPanel?

According to my search, LB are working like this:

EXTERNAL IP of SERVICE (xxx.xxx.xxx.200) -> INTERNAL IP SERVER 1(10.0.0.25), INTERNAL IP SERVER 2 (10.0.0.26)

So, I need to configure the server with an Internal IP cause else, it will conflit on the "local network". The probleme is, cPanel will be using the "Internal IP" to make all of his configuration... so if a user add a new website, he will configure it with 10.0.0.25, this won't since the external IP will be xxx.xxx.xxx.200 and Apache won't anwser to this virtual host. What can I do?

Can I do this ? (same internal IP as the external?)
EXTERNAL IP (70.234.125.123) -> SERVER 1 INTERNAL IP (70.234.125.123), SERVER 2 INTERNAL IP (10.0.0.26)

If yes, I will configure the second serveur without cPanel and only sync the configuration and files. So in case of "crash" of the server 1, cPanel won't be working, but website won't be down...

View 3 Replies View Related

Information Regarding Load Balancer

May 9, 2008

We are planning for a clustering archirecture for our mail servers,The basic idea is put all of mailservers behind a load balancer which will monitor and distribute the n/w load as server load and forward the requests accordingly can u suggest any good hardware loadbalancer which could give us 'server load balancing' as well as n/w load balacing.

I would also like to know if it is a good idea to go for a software load balancer(like linux heartbeat) or to h/w load balancer.

View 10 Replies View Related

Webserver Load Balancer

Mar 8, 2008

traffic has been surging lately and is expected to continue surging. i am already on the fastest chipset my webhost has.

current configuration
single server (centos), webserver (apache), single filesystem. many dynamic pages (perl script) but no mysql database. no php.

ideal configuration
multiple webservers (apache), single file system.

assuming my scripts do not write to the filesystem (read only), what do i need to install or do in order to send a request for www.domain.com to server1.domain.com or server2.domain.com or server3.domain.com according to the load of each? it should look the same at the front end. anyone know what i need to get?

View 2 Replies View Related

Barracuda Load Balancer

Mar 27, 2008

if it is possible to hide the Barracuda Load Balancer signature in headers ?

If you check here : [url]

or do a telnet 80 to that same FQDN and send "HEAD / HTTP/1.0" + "RETURN" you will be able to see in the headers the server signature (BarracudaHTTP 1.00).

Is there any way to hide this?

View 2 Replies View Related

Load Balancer Solution

May 23, 2007

I'm trying to find a solution but without any result so far,

This is the story:
We have too server in Israel, in one server we have:
Win 2003 STR that use for IIS (IBM RAID 5)
And in the second we have:
Win 2003 STR + SQL SERVER 2005 workgroup.

After 1 year running in Israel we like to go out to the world with our products.

This is what I think we need to do but we still don't figure how to that:

1. Still use the same server in Israel.

2. Buy more server outside Israel, Lets say UK and set a Load Balancer between the server in UK to Israel (both IIS and SQL).

3. In the Load balancer we like to set that if the user come from europe you will go to the server in UK and if he come from Israel you go the server there.

4. If one of the server we be go down all the the users will sends to the server outside there country.

5. In the future we like to add more server in the world on the same setting.

What do you say? how can I do something like that?

What company are dealing stuff like that?

View 4 Replies View Related

What Is A Good Hardware Load Balancer

Feb 22, 2008

Anyone know of a hardware load balancer that can load balance my apache and mysql using one device? I mean right now I can use the ultra monkey for the load balancer the cluster mysql. But I want to go hardware.

I was thinking of F5 BIGIP? will that work? anyone know Please give me some choices..

View 0 Replies View Related

Virtual Private Server (VPS) + Load Balancer

Jul 17, 2008

I am thinking of using a Load Balancer + serveral VPSs solution.

Is there any good recommendation ? It would be great if the hosting company can provide the load banlancer for free.

View 7 Replies View Related

Apache :: Mod Balancer And Stickiness Without Cookie

Oct 15, 2014

I have a short question concerning Mod Balancer and Stickiness:

At the moment I am achieving stickiness with a cookie.

Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED

However, I am getting complaints by users which do not allow coockies in their browser settings that my page does not work properly.

Is there any way to achieve Stickiness with out cookies (e.g. add the information to the URL or something like that)?

View 1 Replies View Related

Apache :: Pass SSL Through Balancer - Let Workers Decrypt

Apr 23, 2015

I'm using mod_proxy_balancer in Apache 2.2.29 with OpenSSL on Windows to distribute HTTPS requests to two other back end servers, both of which are also Apache 2.2.29 with OpenSSL on Windows.

DumpIO shows that the requests are being decrypted on the balancer, and then sent unencrypted to the two workers. I would like to have the requests pass through the balancer without decrypting there, and let the two back end worker servers do the decryption. Is that possible? If so, how?

When I tried simply disabling SSL on the balancer, the requests fail, with nothing logged at all.

View 2 Replies View Related

Apache :: Proxy Pass / Proxy Pass Reverse

Jun 10, 2013

I'm using the isapi rewrite module for iis 6 which uses the exact same syntax as mod_rewrite in apache. I'm not very well versed in apache and need getting this to work asap. Basically I have a directory in our website: URL....

I need to forward this to an IP address, for example to this address:100.12.33.45/folder.While keeping the original URL (www.xyz.edu/folder). I'm unsure of the apache syntax for this.

View 3 Replies View Related

Apache :: Mod Proxy With Failover

Jul 13, 2014

I have the following setup in my apache vhost:

Code:

ProxyPass /abc http://www.newest.com/
ProxyPassReverse /abc http://www.newest.com/

I want to setup a failover approach in which if after a particular timeout say 10secs the load shifts to some other website like Refer.com | The world. The timeout should be in Proxy Pass and if timeout occurs it shifts to Refer.com | The world

View 1 Replies View Related

Apache: Setup A Proxy For One Page

Mar 5, 2008

Im using AJAX on my site and i need to access a seperate server instance on a different port. AJAX wont allow me to do that so i want to use Apache as a proxy but only for one page.

View 4 Replies View Related

Apache :: 2.4.6 - Reverse Proxy Cache

Nov 19, 2013

I have Apache 2.4.6 on a Windows Server 2008 (windows build from apachelounge). I want to use it as reverse proxy cache with mod_cache_disk.

My configuration is:

Code:

<IfModule cache_module>
<IfModule cache_disk_module>
CacheRoot C:/temp/cache
CacheEnable disk /
CacheDirLevels 2
CacheDirLength 3

[Code] .....

Loading a page with ~150 files (most images and js files) i keep runing into "locked requests" that are not comeing back and block the whole page from finishing loading. The files differ every time.

I see this warnings in my error.log (looks like they are connected to the behauviour above).

Code:

[Tue Nov 19 20:38:10.890013 2013] [cache_disk:warn] [pid 216692:tid 15924] (OS 5)Access is denied. : [client x.x.x.x:58963] AH00699: rename tempfile to file failed: C:/temp/cache/aptmpcBQArf -> C:/temp/cache/H8Cta/9ha4U/Uhhhs/OlQfU/1Q.data,

[Code] .....

View 1 Replies View Related

Apache :: Reverse Proxy With Several Websites

Apr 22, 2014

I m trying to setup a reverse proxy with several site that will redirect the request into several internal server.I wanted to do that with several VirtualHost (like shown below). Unfortunatly whatever I type on my browser testsupport.xxxx.com or support2.xxxx.com I m redirected at the first of the config file (in the exemple http://10.253.12.41/.Is it the ServerName key that will redirect to the right proxypass ?

<VirtualHost *>
ServerName testsupport.xxxx.com
ProxyRequests Off
ProxyPass / http://10.253.12.41/
ProxyPassReverse / http://10.253.12.41/
</VirtualHost>

<VirtualHost *>
ServerName support2.xxxx.com
ProxyRequests Off
ProxyPass / http://10.253.11.31/
ProxyPassReverse / http://10.253.11.31/
</VirtualHost>

View 10 Replies View Related

Apache :: How To Force SSL On Reverse Proxy

Nov 23, 2014

We are struggling to configure our Apache reverse proxy (on WIN 2008) server to force https.

We have the cert installed on the proxy server, and it seems to be working but we are unable to force connections to https: and the site is still available via http:

How do you enforce https on the site?

reading read about the .htaccess file, virtual hosts but still having a hell of a time putting it all together

Internet -> SSL -> Apache 2.2 -> HTTP -> web app

View 2 Replies View Related

Apache :: 2 Kerberos SSO Through Reverse Proxy

Apr 24, 2014

I'm trying to do a setup of alfresco.It has two basic sites. [URL]. Both use kerberos authentication. Alfresco has SSO and share has not. Both sites are on the same server (its just one site but different subs)

I want to put this behind a reverse proxy to eliminate the servername:port combination.

When I put it in a normal config with ajp everything works fine for the share website. I can login without problems. Not so however for the alfresco website. I get a browser login request (not the alfresco one) when i enter my credentials he asks them again and again and then he ends on the regular login page of alfresco at which point everything works. The username I entered is displayed at this point. When I do not enter my credentials correct I do not reach the page.

If I remove the SSO from the alfresco website everything is normal (but i have to login)

View 3 Replies View Related

Apache :: Proxy To SP Can't Log In After Fixing 401error?

Aug 12, 2014

I have apache 2.2 on Linux going through the a firewall to a backend sharepoint server. My sharepoint application has anonymous and authenticated traffic. This works fine most of the time but we randomly get (104)Connection reset by peer: proxy: error reading status line from remote server. I was able to fix this by adding *SetEnv force-proxy-request-1.0 1 *SetEnv proxy-nokeepalive 1 *RequestHeader unset Expect early But after I added this I was then no longer able to log in. I would receive a *HTTP/1.1" 401 my understanding is KeepAlive is required for NTLM to work so making sure I can stop the connection resets which are unacceptable and still allow the authenticated users to log in.

View 4 Replies View Related

Apache :: Setting Up Reverse Proxy

Apr 6, 2015

I'm currently in the process of configuring a red hat linux server as a proxy server for a number of back end web servers. I set up reverse proxying to hide the web server url's, but I've run into a problem with the second web server, because some of the directory structures are identical on both servers.

View 2 Replies View Related

Apache :: Reverse Proxy Redirect

May 14, 2013

I am having a little trouble getting a reverse proxy redirect to work. I have a Linux server running Apache2. I have installed SABnzbd+, Sickbeard, Couchpotato & Headphones onto this device. I want to access SABnzbd+, Sickbeard, Couchpotato & Headphones from the outside world (via a DYNDNS name).

I know that I could just forward the ports through the router, but I don't want all the extra ports opened. I was told that I can have Apache to do a revers proxy, but I can't get it to work. I basically want to be able to do type myname.dyndns.org/sickbeard instead of typing in myname.dyndns.org:8081.

View 1 Replies View Related

Apache :: Open Proxy On Website

May 23, 2015

I'm trying to fix a problem with open proxy on my website. It's running ubuntu & apache2. I also run pfsense for a firewall with snort. I have a SSL for the website, so I have regular port 80 redirect to https.

At first I did notice right away when I checked & saw this happen that proxy was turned on. So I got that turned off.

My firewall is still allowing these bad IPs to port 80. I would like to figure out what I could turn on the firewall or snort to stop those connections in addition to what needs fixing in apache. I've read the solution is to make the redirects go to a 403 error page.

I also tried adding a mod_security rule but ended up blocking all people from website, though I may have accidentally turned some other rules on too.

There are a few different problems it looks like.

First - It looks like they're trying to connect to my HTTPS then redirect to an ad through my domain name?
Second - It looks like they're still trying to use my website for open proxy but directly accessing ib.adnxs.com through my port 80. My logs indicate I'm redirecting to a 301 page.

View 2 Replies View Related

Apache :: 2.4.3 Mod Proxy Not Stable In Production

Dec 25, 2013

Have run through a bunch of threads on mod_proxy race conditions, possible causes, and potential solutions.

What is the status? Is there a fix for this, maybe in 2.4.7?

On 2.4.3 in production we literally have 10K errors in the past 2 months along the lines of:

Code : AH00898: Error reading from remote server returned by...

Application server (JVM webapp) issues no errors at the time of mod_proxy error occurring. It seems then that mod_proxy is sporadically broken, which is horrible for end users accessing an otherwise rock solid production application.

View 8 Replies View Related

Apache :: How To Use Reverse-proxy With Mod Rewrite

Nov 5, 2014

I am running a few different web servers on my home network and have found a way of binding each wb server (and any virtual hosts) to domain names and having a "central" web server rerouting a request to the appropriate server using reverse-proy. at the moment, this central web server is IIS (Windows Server 2008 R2) based and it works perfectly. I want to change the central server to an Apache based one.

As an example; I want the central server to see an incoming http request (e.g sub.domain.com) and reroute it using reverse-proxy to a different web server that wouldn't normaly be accessible from the Internet (e.g 192.168.1.122/index.html).

My question is how do you reverse-proxy to a different server on the LAN with mod_rewrite in Apache?

View 1 Replies View Related

How To Set Lighttpd Proxy To Let Apache Run Cgi/perl Scripts?

Oct 24, 2008

I'm running both Apache (on port 81) and Lighttpd (port 80) on my VPS. I would like to have Apache run CGI/Perl scripts only for virtual hosts in the Lighttpd.conf. My Lighttpd.conf already has fastCGI enabled though.

View 3 Replies View Related

Apache :: Mod Proxy - Error Page Handling

Nov 10, 2014

a question on mod_proxy. We're using mod_proxy as a simple reverse proxy (ProxyPass & ProxyPassReverse) to reverse-proxy various back-end PHP and Mono/.NET apps.

One problem we see is that when the back-end PHP app suffers an error (e.g. a 404 or 500) , then mod_proxy ignores the nicely-formatted custom error page served up by our PHP app, and instead serves a very plain generic mod_proxy 404 or 500 error page back to the client. Is there a way to configure mod_proxy to serve up the 500/404 error page content which is created by the back-end app ?

(We thought ProxyErrorOverride might work, but it seems to be intended for the opposite scenario, where I want to *ignore* the 404 page content from the back-end and show a mod_proxy-defined error page instead.We're using apache 2.2 on 64-bit CentOS 6.5 ( httpd-2.2.15-31.el6.centos.x86_64 )

Config like:
...
ProxyPass /abc/ http://server4/abc/
ProxyPassReverse /abc/ http://server4/abc/

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved