Questions tagged [mod-proxy]

Module for the apache webserver with which apache can be used as proxy server. With this module apache can act as a regular proxy, or as a reverse proxy for upstream servers.

689 questions
0
votes
1 answer

How do install Apache mods in Tomcat?

I have a web app which can run inside a servlet container (I use Tomcat). Now I want to use load balancing because I have 2 of these servers. But, if I want to use mod_proxy_balancer, do I need to be running an Apache Server instance too? Can you…
code-gijoe
  • 439
  • 1
  • 6
  • 15
0
votes
1 answer

New to Apache: what exacty should my conf file contain for a basic forward proxy?

I was hoping to get some help setting up Apache as a forward proxy, primarily just to know how it's done and for learning. I've found countless examples that look a lot like this: ProxyRequests On ProxyVia On Allow…
0
votes
1 answer

lighttpd fails while enabling mod_proxy

i am trying to set up an server with lighttpd and tomcat my conf is below server.modules = ( "mod_access", "mod_alias", "mod_accesslog", "mod_compress" "mod_proxy", …
lal
  • 1
  • 1
0
votes
2 answers

How to setup Apache Proxy for a small fleet of EC2 instances?

I've been setting up Amazon EC2 instances for an upcoming project which will involve hosting multiple websites on multiple web servers. They are all micro instances, running Ubuntu Server 64bit. Here's what I have so far: Web Server -- Apache…
ks78
  • 849
  • 2
  • 10
  • 20
0
votes
1 answer

Apache2: proxying all except one single file

I have a problem with MSDN Academy that they didn't solve. Unfortunately, the ISO image of Windows Server 2008 on their servers is misnamed. By using Wireshark, I found that the downloader erroneously tries to download a file that starts with…
usr-local-ΕΨΗΕΛΩΝ
  • 2,359
  • 7
  • 34
  • 52
0
votes
1 answer

VPN connection over apache mod_proxy

We have several virtual machines which are connected in a private virtual network connection. Internet access for these machines is provided via dedicated virtual machine which has apache proxy server on it (they all use this machine as proxy). The…
This is it
  • 171
  • 1
  • 2
  • 10
0
votes
3 answers

Looking for equivalent of ProxyPassReverseMatch in Apache to fix missing trailing forward slash issue

I have two web servers, www.example.com and www.userdir.com. I'm trying to make www.example.com as the front end proxy server to serve requests like in the format of http://www.example.com/~username such as http://www.example.com/~john/ so that it…
Alex Man
  • 3
  • 1
  • 4
0
votes
1 answer

howto configure mod_proxy for apache2, jetty

This is how I have setup my environment, atm. An apache2 instance on port 80. Jetty instance on the same server, on port 8090. Use-Case: When I visit foo.com, I should see the webapp, which is hosted on jetty, port 8090. If I put foo.com/blog, I…
theTuxRacer
  • 549
  • 2
  • 9
  • 22
0
votes
2 answers

How can I rewrite the root location of resources referenced in reverse proxy pages in Apache 2?

We have an application server located at http://foo.bar . It needs to be accessed via http:// wibble/foo using reverse proxying. This I've managed, however there is stuff in http:// foo.bar which references from / EG: /images/blah.jpg So it's…
Squeeb
  • 172
  • 1
  • 13
0
votes
2 answers

Apache mod_proxy - AJAX and www prefix

I'm currently facing interesting problem which I cannot resolve. I have an Apache2 as a proxy to Tomcat. The proxy configuration looks like: Order deny,allow Allow from all ProxyRequests Off ProxyPreserveHost …
mateo
  • 15
  • 1
  • 5
0
votes
2 answers

Apache server as reverse proxy is removing xmlns info from html tag

I have a Java application running in tomcat, in front of which I have an Apache http server as a reverse proxy. However, the proxy is removing all xmlns data from the html tag, which breaks all the Facebook's FBML which is never parsed. My current…
Johnco
  • 123
  • 1
  • 7
0
votes
1 answer

Apache VirtualHost and ModProxy not working as hoped

I have 3 wars set up on a Tomcat instance - these wars are being served at: http://machine:9023/war1 http://machine:9023/war2 http://machine:9023/war3 I have Apache on the same machine. I am trying to set Apache up so that I can access the 3 wars…
Rich
  • 1,343
  • 7
  • 28
  • 39
0
votes
1 answer

Apache mod_proxy parameters

I have a machine running Apache with mod_proxy that I'm using to proxy a local Tomcat server running on another port. The problem is that Tomcat does not support wildcard sub-domains(whole reason for using apache/mod_proxy) and our app uses the…
mike
  • 117
  • 1
  • 4
0
votes
2 answers

How can I set a hard Apache timeout when using mod_proxy?

I have a web service that must always respond to requests in under 5 seconds. I'm using Apache to proxy requests to a cluster of backend workers. When all the workers are full, Apache queues up requests and waits for a worker to be free. I have…
Michael Sofaer
  • 143
  • 1
  • 3
0
votes
1 answer

redirection problem with mod ajp

i have a redirection problem with mod ajp, that it always adds the application name before the desired page, for example: if i requested the page: http://myapp.com/mypage it is converted to http ://myapp.com/myapp/mypage, and i get a 404 error i…
user55517