1
vote
0answers
14 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
43 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
192 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
44 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
158 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
290 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
0answers
230 views

Apache2 Proxy WebSocket Connections?

System: ubuntu 12.04LTS I use Apache as Proxy server for my Tomcat7 webserver. For Apache as Proxy I activated the modules: sudo a2enmod proxy sudo a2enmod proxy_http Then I edit the ...
0
votes
1answer
273 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
296 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
46 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
609 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
640 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
550 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
140 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
58 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
203 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 ...
6
votes
1answer
4k 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
132 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
62 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 ...
1
vote
1answer
539 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
733 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
723 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
472 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
328 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
446 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
314 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
642 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
624 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
430 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
908 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
182 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?
5
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
6k 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... ...