1
vote
1answer
67 views

Tomcat 7 + apache2 proxy forward cause website resource missing

I have this problem I am sure most of the people should have seen. I am using apache2's mod_proxy_html to forward web request to tomcat. The request got forward to tomcat, but tomcat server is unable ...
1
vote
1answer
88 views

Apache: Proxy based on URL suffixes

My team has written an internal BI server, which generates HTML reports at links such as /users/daily or /updates/questions. The server is written in Grails, and it works perfectly with a classic ...
1
vote
0answers
47 views

Question Mark (?) in Apache Tomcat proxy_ajp.conf causing proxy to fail

We had directives in our proxy_ajp.conf similiar to below, which would give us a 404. SSLProxyEngine On ProxyPass /test https://www.purple.com/test? ProxyPassReverse /test ...
0
votes
0answers
66 views

Pound: address already in use

Below is the config that I use in pound for load-balancing a set of Tomcat. To get started I just used one tomcat instance. The URLs that I want pound to forward is of the type ...
0
votes
0answers
263 views

Squid proxy connect method for SSL connections not working with people who are running nginx

I have a system which looks like this: Tomcat Server (has haproxy installed and balances my proxy servers) >> squid proxy server >> outside. This is the connection flow. My tomcat instance stores ssl ...
1
vote
1answer
49 views

Serving files from Apache and Tomcat

I've trying to rebuild a server that needs to serve content from both Tomcat 6.0.16 and Apache HTTPD 2.2.3 on a RedHat 4.1.2 server. I need a specific directory (it's called 'client') from the Apache ...
0
votes
0answers
194 views

Proxy Server for my Tomcat7 Websocket Application?

I have a Java Servlet application running on a Tomcat server. My app uses Websockets. I want to use a proxy server which should root to my Tomcat running on pert 8080. What proxy should I use for ...
0
votes
0answers
429 views

HAproxy 502 Bad Gateway

I have Ubuntu 12.04LTS running. My webserver is Tomcat 7.0.42 and I use HAProxy as proxy server. My application is a servlet application which uses websockets. Sometime when I request my page I get ...
0
votes
1answer
318 views

Setting up Apache hosting Wordpress and Tomcat hosting JSP on the same machine using Apache as Reverse Proxy

How do I make traffic going into www.example.com/ go into www.example.com:8080/? And how do I make traffic going into www.example.com/blog/ go into www.example.com:80? My current attempt inside ...
0
votes
1answer
345 views

Is it still best practice to run Tomcat behind Apache HTTPD?

Is it still considered best practice to run Apache Tomcat behind an HTTP proxy like Apache HTTPD or Nginx on a Linux server? A decade ago I was told it was necessary as Tomcat 3 was slow at serving ...
0
votes
1answer
55 views

Apache to Tomcat proxy what to do when i redirected to file not in proxyPass

I have configured a proxy from apache2 to tomcat6 All working, plain and simple, but I have a problem when from my tomcat app I need to redirect to a JSP that is outside of the directory I configured ...
3
votes
2answers
662 views

Configuring nginx as tomcat / uWSGI proxy

i'm in the process of configuring an amazon EC2 machine for java and django development. The stack we've chosen is nginx as the top level listener on :80 port, and passing the requests to the ...
1
vote
3answers
703 views

Proxies, Apache, Tomcat - VHosts

I have a setup as so: Internet -- router -[DMZ]- pfsense -- webserver router =jenky plastic cheap-o router (my nice mikrotik/routerboard died). Has ip address of pfsense set to DMZ. pfsense ...
0
votes
2answers
665 views

Lighttpd as tomcat proxy with static content serving

How can I configure Lighttpd to serve static content on specified URL address (eg. www.my-domain.com/static) from specified directory (e.g. /var/www/my-domain/static) ? Rest of requests must be ...
0
votes
1answer
179 views

apache proxy listening on multiple ports

I'm using apache to proxy my tomcat instance, and I would like apache to listen on both ports 80 and 8080. I have the given configuration. But when I try to start up I get the following error: ...
0
votes
0answers
63 views

can't access both tomcats from apache

I have the following setup: apache for front-end and 2 tomcats as application servers, the traffic is delegated via ProxyPass and ProxyPassReverse to the correct app server: <VirtualHost *:80> ...
0
votes
1answer
223 views

“X_FORWARDED_FOR” Header Doesn't Present In The Request

In my web application I need to extract the real ip address for clients behind proxy, after searching I found that the possible method to do that is to read the content of "X_FORWARDED_FOR" header , I ...
7
votes
1answer
5k views

Apache httpd error “proxy: ap_get_scoreboard_lb” with ProxyPass

I set up apache to proxy for tomcat but I am getting the following error when I target the page. I sometimes get a blank page or a 503: [Error] [Mon Dec 03 04:58:16 2012] [error] proxy: ...
1
vote
1answer
163 views

How to tell httpd to preserve the proxied error message?

I have an httpd server proxying the requests to 2 different tomcat servers. One of my server handles the authentication and returns a specific http error code 521 when the user already have a running ...
-1
votes
2answers
64 views

I need to figure out a way for multiple servers to go out as a single IP address. Reverse proxy ?

I have multiple tomcat servers (X, Y, Z). They all make API calls to some servers (A, B, C). What I need to happen is this: Servers X,Y,Z are on AWS EC2. Servers A,B,C I have no control on where ...
2
votes
1answer
642 views

Reverse Proxy on Tomcat

I have a Tomcat application. I now want reverse proxy some of the pages to a different server listening on a different port. On a regular apache server, I would do the following. ProxyPass /dir1 ...
2
votes
3answers
841 views

Apache as reverse-proxy for tomcat (running jenkins)

I have set up apache to work as a reverse proxy to tomcat that is running jenkins-CI. I can access the site from outside fine, except when I log in to jenkins, it redirects to my lan-hostname, and it ...
-1
votes
2answers
791 views

ProxyPass and RewriteRule make pages lose style

I'm setting up a apache with a RewriteRule ^/?(.*) http://www.myhost.com [P] It already works, but the page that is displayed only contains text. Images, styles etc are all lost. What am I missing ...
1
vote
2answers
520 views

Tomcat/JIRA redirects to HTTP when accessed by HTTPS through a Pound proxy

I'm trying to get a JIRA install to work behind a Pound proxy that is doing SSL termination/"acceleration". Unfortunately it seems that JIRA (Coyote) is redirecting to HTTPS when accessed: ...
0
votes
2answers
356 views

Tunnel HTTP through HTTPS using Apache

Is it possible to have an HTTPS frontend for an HTTP server? Let me elaborate. Say I have an app running on a tomcat instance and this app only understands HTTP. Is it possible to have Apache sit in ...
1
vote
0answers
482 views

reverse proxy not rewriting to https

I need your help. I'm having problems with reverse proxy rewriting to https: I have an alfresco app running on top of tomcat and as a front and an Apache server - it's site-enabled looks like that: ...
0
votes
1answer
329 views

Tomcat 7 won't allow me to have 2 Connector elements in configuration?

I need to have Tomcat 7 listen on 2 different ports for HTTP requests (the 2nd port makes webapps think it's receiving https requests because that's what's happening on the load balancer). But the ...
1
vote
2answers
654 views

Tomcat 6 virtual host + Apache 2 proxy

I have a problem with my Apache and Tomcat configuration. I have an Apache instance as a proxy to Tomcat. The Tomcat serves two virtual hosts. The problem occurs when one Apache virtual points to ...
1
vote
2answers
645 views

How to configure apache (+ajp?) with tomcat example.com domain and php blog.example.com subdomain?

I've been searching for a solution online for quite some time but can't seem to find a decent answer, so I might try my luck here... I'm trying to configure apache+tomcat so that my domain ...
0
votes
1answer
446 views

Problem proxying SSL to Tomcat app

Hello firstly apologies if this is a daft question - I am new to this stuff and very, very stuck. I can't find an existing post that solves my problem. I am trying to reverse proxy an SSL URL to a ...
3
votes
2answers
921 views

What is consuming so much memory?

I am having a few problems with my server. It is throwing up intermittant errors and running quite slow. Here is the output from top: top - 07:33:33 up 18:57, 1 user, load average: 0.00, 0.00, 0.00 ...
1
vote
1answer
183 views

Tomcat experts, /proxy/http/1.2.3.4/index.html to proxy http://1.2.3.4/index.html - possible?

How to setup tomcat proxy so that, e.g., /proxy/http/1.2.3.4/index.html causes Tomcat to proxy http://1.2.3.4/index.html?
6
votes
2answers
2k views

HTTP compression in IIS 6.0 causing problems with certain users

We're getting a few sporadic customer calls (less than 0.1% of our users) complaining of not being able to access my company's website - either they get a blank page (if they use IE), or a "Content ...
3
votes
2answers
7k views

Increasing timeout for mod_proxy_ajp connections

I've got my apache (2.2.3) talking to tomcat 6.something through mod_proxy_ajp. I have some ridiculously long lived requests (2-6 minutes) and I think we're hitting some default timeout somewhere... ...