Skip to main content

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.

2 votes
2 answers
7k views

My setup consist of two servers, one for hosting websites and one for doing the heavy lifting (for example Minecraft). I am using Spigot to power some plugins and one of the plugins is dynmap (which ...
Orphans's user avatar
  • 1,474
28 votes
6 answers
122k views

Is there a way to log requests going through mod proxy? I need a way to debug my configuration, because I don't seem to be getting where I should be. I need the following information: headers of ...
Kariem's user avatar
  • 591
22 votes
3 answers
69k views

I get this error every few minutes when using mod_proxy as a reverse proxy to a SOAP web service. There's probably 3 or 4 requests going per seconds so we're talking around 1 or 2 out of every ...
JOTN's user avatar
  • 1,767
17 votes
2 answers
107k views

I'm deploying Apache in front of a Karaf-hosted application (Apache and Karaf are on separate servers). I want Apache to operate as a reverse proxy and also to hide part of the URL. The URL to get ...
Jeremy Gooch's user avatar
10 votes
1 answer
61k views

I have two Apache Servers with mod_proxy enabled. I want to know how to "pass the request" from "Apache Server A" to "Apache Server B" using the same port (80). In server ...
maxtorzito's user avatar
10 votes
3 answers
12k views

We've recently switched one of our web servers to apache 2.4 and running PHP via php-fpm and mod_proxy_fcgi. Most everything works quite well, but there is one problem that I don't understand yet. One ...
Konrad Neuwirth's user avatar
7 votes
1 answer
3k views

I use Apache 2.2 with mod_proxy to some 3rd party HTTP server. As it doesn't send any Cache-Control header, I want to add one of 1 day for response code 200, 5 min for 404 and 0 for any other ...
Steve Schnepp's user avatar
6 votes
1 answer
9k views

I've seen this example: RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://app_cluster%{REQUEST_URI} [P,QSA,L] I need a similar thing that will delegate to mod_proxy (...
kaqqao's user avatar
  • 163
5 votes
2 answers
19k views

I'm using Apache as reverse proxy for several different projects. PCI-DSS compliance scanning shows that my Apache is having HTTP CONNECT method enabled. as stated on Acunetix's site - http://www....
John's user avatar
  • 101
2 votes
4 answers
6k views

I don't seem to get how to configure ReverseProxy correctly. The URLs returned are all for the root directory "/", not "/tomcat" and only the main "default" tomcat page is displayed. I use Apache2 as ...
Indrek's user avatar
  • 73
2 votes
1 answer
14k views

I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel. The httpd.conf : <VirtualHost *:80&...
WhatsUp's user avatar
  • 135
1 vote
1 answer
2k views

I want to let the php file_get_content function connect to network via system-wide proxy. I tried to add the following lines in /etc/environment: http_proxy=http://localhost:3128/ HTTP_PROXY=http://...
peter's user avatar
  • 143
22 votes
2 answers
45k views

Definition from apache.org (ProxyPassDirective) says: This directive lets Apache httpd adjust the URL in the Location, Content-Location and URI headers on HTTP redirect responses. This is essential ...
SnowmanOnFire's user avatar
20 votes
1 answer
18k views

Do all ProxyPass Directives need a ProxyPassReverse Directive? ProxyPass / http://foo.example.com:8080/ ProxyPassReverse / http://www.example.com/ I saw this snippet, and understand that all ...
theTuxRacer's user avatar
10 votes
1 answer
42k views

I'm trying to configure Apache on Centos 6 to proxy and reverse proxy traffic to an http server of a third party provider. The setup should work like this: https://mydomain.com/proxy/ proxies all ...
james_t's user avatar
  • 203
9 votes
3 answers
7k views

I've got Apache setup as a reverse proxy for a Java Application server (GlassFish) and I noticed there are about 100 connections in the state CLOSE_WAIT even on an idle development system: sudo ...
Ryan's user avatar
  • 440
9 votes
3 answers
17k views

The websocket library I rely on (PHP-Websockets) does not yet support secure sockets (wss). My website is served over https though, so I cannot use insecure ws connections. I'm trying to use Apache's ...
BeetleJuice's user avatar
8 votes
4 answers
34k views

I have an Apache webserver with mod_proxy enabled and a Virtualhost, proxy.domain.com. This proxy is configured to prompt the user for credentials with AuthType Basic. Then, the content of web.domain....
Laurent Nominé's user avatar
7 votes
3 answers
28k views

I have a apache server that sits in front of my glassfish server. mydomain.com goes directly to my static files on apache, than if you hit the subdomain forum.mydomain.com it goes to the glassfish ...
EpicOfChaos's user avatar
7 votes
2 answers
14k views

I'm trying to setup a reverse proxy in lighttpd, such that all requests (and only those requests) under /mobile/video is redirected to the / directory of a secondary web server. This is pretty easy in ...
futureelite7's user avatar
6 votes
3 answers
20k views

Currently I have an application that is running on 8080 front-ended by mod_proxy. <Location /hudson> Order allow,deny Allow from all ProxyPass http://...
Joey BagODonuts's user avatar
3 votes
2 answers
8k views

Today I have two Apache Servers, Server A (192.168.0.5), Server B (192.168.0.10), both running at the same 80 port. The actual request is from server a and the with my configuration it pass to server ...
maxtorzito's user avatar
3 votes
2 answers
13k views

I am trying to setup httpd.conf properly but regardless of the sub-domain/domain combo below, they all resolve to the same internal URL. <Proxy *> Order Allow,Deny Allow from all </Proxy&...
Jason's user avatar
  • 3,307
3 votes
1 answer
12k views

I have a setup where my Tomcat instances are fronted with Apache servers with mod-proxy. I need to serve static content on the reverse-proxy side in case authentication closes my app session (heavy ...
code-gijoe's user avatar
3 votes
1 answer
8k views

We have an apache virtual host www.example.com now Im trying to get www.example.com/mypath to go to load the pages from www.example1.com using mod_poxy i have it with a base ProxyPass /mypath http://...
Stephen Smithstone's user avatar
3 votes
1 answer
4k views

We are receiving a 500 out of Apache while proxying calls to tomcat when there is an encoded space in the URL. We are migrating an application that ran fine on a J2EE container which had an older, ...
Matt Franklin's user avatar
3 votes
1 answer
11k views

I am currently trying to use mod_proxy to make search requests on another server. The remote server requests must be structured as follows: http://path.to.remote/search.php?key=MYKEY&term=...
user1026361's user avatar
2 votes
1 answer
2k views

I'm trying to setup apache+mod_jk/mod_proxy with mod_cache. But it looks like all proxied requests are ignored by mod_cache. May be it is related to module handling order or something else? Apache 2....
Sirex's user avatar
  • 131
2 votes
5 answers
22k views

I'm having a bit of a trouble here. I have this several rewrite rules which I think does not work. My main purpose is to restrict pages and allow only specific IP or network block. RewriteEngine On ...
Louie Miranda's user avatar
2 votes
1 answer
3k views

While tomcat6 is starting up all my http requests are retained by the server and sends the response when the server is up. But when I use an apache2 as a proxy the apache2 responds inmediatly a 503 ...
user avatar
2 votes
0 answers
461 views

There is a host: secure.foo.com that exposes a webservice using https I want to create a reverse proxy using Apache that maps a local http port on a server internal.bar.com to the https service ...
user1172468's user avatar
2 votes
1 answer
3k views

I'd like to configure Apache to be used as a proxy for Nexus, Jenkins and Foreman which are installed and running on the same server. Here is an example of the Virtual host config file for Foreman, ...
PapelPincel's user avatar
2 votes
2 answers
2k views

A colleague recommended I repost this from StackOverflow to ServerFault: This has been driving me crazy. I have a web application that's being served via Apache Web Server. The database server that ...
StickByAtlas's user avatar
1 vote
3 answers
3k views

I need to get mod_cache_disk to cache a site containing query strings. The issue is that it's a vendor product on IIS that we're trying to cache through mod_proxy and it does not contain expires ...
Lucas Holt's user avatar
1 vote
1 answer
6k views

I have a web server (Apache reverse proxy) in front of my app server (Apache) and I'm trying to pass common name for SSL. My web server (Apache reverse proxy) is setup to preserve hostname (...
Tegan Snyder's user avatar
1 vote
1 answer
4k views

At present I am redirecting all http urls to https urls using the following directive, RedirectMatch permanent ^(.*)$ https://someserver.com$1 Now I am stuck with an scenario where I have to redirect ...
Abhishek's user avatar
  • 423
1 vote
1 answer
2k views

I have ZCS 7.2 opensource installed at webmail.domain.com and mailman on mailman.domain.com/mailman. I wanted to setup a proxy so that when someone goes to webmail.domain.com/mailman, the proxy ...
garg's user avatar
  • 644
1 vote
1 answer
2k views

I have trouble configuring Lighttpd to serve the various services hosted on my server. Lighttpd acts as a front, and I have several DNS records, each for a different subdomain, redirecting to the same ...
Silver Quettier's user avatar
1 vote
1 answer
2k views

We have a server with apache set up as an authentication front end for a backend web service running on the same box. The setup seemed to work at first, but we soon realised that apache was asking ...
nightowl's user avatar
  • 145
0 votes
1 answer
11k views

I'm running into various problems trying to add custom ErrorDocuments to my server. I'm using proxy balancer to share the load between two instances of Zope and some simple rewrite rules to map my ...
Jon Hadley's user avatar
0 votes
1 answer
1k views

I've asked this question in a few places and I've found no answer. It should be pretty simple and a pretty common problem. Unfortunately I know nothing about tomcat and mod_proxy so I'm unable to ...
brad's user avatar
  • 512
0 votes
1 answer
6k views

I have an issue with Apache2 which I use as a proxy. My software sends HTTP PUT for protected resource with Expect: 100-continue Transfer-Encoding: chunked And instead of getting '401 Unauthorized' ...
Kylo's user avatar
  • 119
0 votes
1 answer
6k views

We currently host everything on windows IIS 7 servers. We just moved to Azure, and like many clouds hosting windows is more expensive than hosting linux. Azure has its own limitations for virtual ...
Frank's user avatar
  • 119
0 votes
1 answer
1k views

I'm trying to hide a PWM registration page (whose URL is /pwm/public/newuser) behind the existing server http://customers.example.com, under the reserved path /register, so that pages like http://...
watery's user avatar
  • 163
0 votes
1 answer
1k views

I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder. I used sth like this in httpd.conf: <...
user avatar
0 votes
1 answer
1k views

I've been through all tagged questions here and on SO, but my problem is different because of either/both needing to replace "." with "_" comes after a particular path and I'm running through a ...
TryTryAgain's user avatar
  • 1,172