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.

learn more… | top users | synonyms

1
vote
1answer
579 views

Apache2/glassfish|tomcat: Redirecting some (but not all) requests on 80 to glassfish on port 8080, where is the admin screen?

Using that answer: How to redirect traffic on port 80 to Tomcat port 8080 whilst still allowing the server to send/receive on port 80 I've configured my apache2 server to redirect some requests to ...
2
votes
0answers
1k views

Apache mod_proxy to ssl backend not working properly

I'm getting the following errors when trying to do a proxy to an SSL backend server: [Thu Jan 03 14:44:26 2013] [error] (502)Unknown error 502: proxy: pass request body failed to 192.168.1.10:8443 ...
1
vote
1answer
338 views

Apache2 mod_proxy with gitlab on different server

I am desperately trying to configure gitlabhq in multi tier set-up, I have one proxy server websrv01.kosare.perlur.cz where I run Apache2 with mod_proxy, and then I have multiple Web Applications ...
1
vote
1answer
833 views

Graphiti / Graphite using Apache with Proxy and BasicAuth requests auth for every URL / request

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 ...
1
vote
1answer
559 views

Apache mod_auth and mod_proxy not working together

I am trying to set up apache as an authentication front end for a web backend running on port 8080. The backend has no authentication, so if you curl localhost:8080 you get the website. Port 8080 is ...
1
vote
0answers
515 views

apache proxyremote and http

ProxyRemote syntax is: <remote-server> = <protocol>://<hostname>[:port] So, I have to put protocol before hostname. But my proxy server is x.y.z.n:1234 (without http) And when I ...
0
votes
2answers
518 views

proxy pass domain FROM default apache port 80 TO nginx on another port

Im still learning server things so hope the title is descriptive enough. Basically i have sub.domain.com that i want to run on nginx at port 8090. I want to leave apache alone and have it catch all ...
2
votes
0answers
172 views

Does mod_proxy support HTML5 Server Side Events / EventSource?

I am stuck with apache2. I've read that mod_proxy doesn't support websockets. Does it support EventSource? https://issues.apache.org/bugzilla/show_bug.cgi?id=47485
0
votes
1answer
101 views

Why do I have to do a setenforce 0 to cluster tomcat on Scientific Linux using mod_proxy

Why do I have to do a setenforce 0 to cluster tomcat on Scientific Linux using mod_proxy I am using Scientific Linux release 6.2 and trying to get mod_proxy working with httpd and tomcat. I want ...
1
vote
1answer
236 views

only port working with mod_proxy is 8009, trying to use with tomcat and httpd, dont know why

I am trying to use mod_proxy with httpd and tomcat. If I leave tomcat ajp to run on 8009 in the server.xml of tomcat and in the httpd.conf of apache httpd everything works great but once I change it ...
1
vote
2answers
333 views

trying to use mod_proxy with httpd and tomcat

I been trying to use mod_proxy with httpd and tomcat... I have on VirtualBox running Scientific Linux which has httpd and tomcat 6 on it.. I made two nodes of tomcat6. I followed this guide like 10 ...
9
votes
1answer
6k 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
905 views

JBoss AS7 mod_proxy or mod_cluster or mod_jk

JBoss AS7 mod_proxy or mod_cluster Let me begin a cluster of JBoss AS7 servers. I have discovered that it might be done using apache with mod_proxy or with mod_cluster. Which can you use? Which is ...
0
votes
1answer
103 views

Is iptable capable of this or should I go with mod_proxy?

I'm trying to configure my network to receive an incoming connection on one device and then redirect it to another device on a specific port. Right now I'm on about port 80 and a device running ...
2
votes
1answer
2k views

Mod-proxy with query string alternatives?

I am currently trying to use mod_proxy to make search requests on another server. The remote server requests must be structured as follows: ...
1
vote
0answers
247 views

Prioritization of mod_proxy_html ProxyHTMLURLMap rules

I am implementing a reverse proxy with the following configuration: ProxyPass /home/ http://serverA.com/ ProxyPassReverse /home/ http://serverA.com/ <Location /home/> ProxyPassReverse / ...
1
vote
1answer
30 views

Is it possible for Apache to stop proxying AJP requests in a given time period?

We have a service configured that must go down once a week for maintenance as it is dependent on the ERP system which goes down. I'm wondering if it's possible for Apache to stop forwarding requests ...
1
vote
1answer
221 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 ...
5
votes
3answers
3k views

ProxyPreserveHost on individual proxypass rules

I have two proxypass rules on my web host, one that points to a local varnish instance for caching purposes, which I want ProxyPreserveHost enabled for, and another that points to a third party hosted ...
1
vote
1answer
2k views

Cisco adaptive security appliance is dropping packets where SYN flag is not set

We have an apache instance sitting inside our DMZ which is configured to proxy requests to an internal NATed tomcat instance inside our network. It works fine, but then all of a sudden requests from ...
1
vote
0answers
1k views

How mod_cache working with “must-revalidate” and “max-age”?

Quick question before I will explain my flow: Сan mod_cache perform revalidate with if-none-match only if max-age is expired in case if it configured in reverse proxy mode? My goal is to reduce a ...
1
vote
3answers
290 views

Apache forwarding without redirecting (application won't follow redirects)

Recently we had to move /task to /public/task, and I'd like to configure Apache to redirect accordingly. However, using mod_rewrite, though it works in the browser, seems to break applications ...
2
votes
1answer
1k views

Atlassian FishEye + Crucible under Reverse Proxy

I have an instance of Atlassian FishEye+Crucible running in a server in a standard HTTP connection. But we need this instance to be also accessed from outside, over a HTTPS connection. Proposed ...
-2
votes
2answers
515 views

Defaulting to a subfolder with Apache mod_proxy

I have this vhost configuration, but the 'Redirect' part does not seems to work. Is it wrong ? <VirtualHost *:80> ServerAlias in.example.com ProxyRequests Off ProxyVia Off ...
1
vote
0answers
181 views

Apache: Setting up a reverse proxy configuration with SSL with url rewriting

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 ...
1
vote
1answer
129 views

How can the mod_proxy be harmful?

I would like to apply this answer to my own server. However, it will not be an internal server, so I'm concerned about security. The linked question tells that the mod_proxy can be easily ...
0
votes
1answer
1k views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
1
vote
0answers
571 views

Apache 2 proxy for Tomcat 7

Following the how-to, I wanted to make a proxy for traffic to the address /app to be processed by Tomcat 7. I added this to my httpd.conf: LoadModule proxy_module {path-to-modules}/mod_proxy.so ...
1
vote
2answers
354 views

Invisible Apache redirect

I would like subdomain.mydomain.com to invisibly redirect to https://[myServerIP]:2083. (There is an SSL issue here). So far I managed to do it, but the redirection is visible and I don't want it: ...
1
vote
1answer
867 views

reverse proxying to https apache

I'm trying to reverse proxy https from http virtual host but getting an internal server error. Here is my config : ProxyPass /access/signin https://mysecureserver.com ProxyPassReverse /access/signin ...
1
vote
1answer
347 views

Why doesn't mod_proxy like recursion?

Disclaimer: I am very new to mod_proxy and somewhat new to apache in general. I have a very simple virtual host with the following configuration: <VirtualHost *:80> ServerName ...
1
vote
0answers
83 views

ReverseProxy - send some URLs to another server for preprocessing

There is an existing application hosted on Apache. I want to send some urls(Post Forms) to another server(not apache - just a program) for some preprocessing. This is how this is organized 1) I have ...
1
vote
1answer
396 views

Glassfish JSF/EAR Apache 2.2 proxy_ajp_mod Referred Content Missing (images/links/etc)

Full disclosure: Since this seems to be more of a configuration issue, I deleted this from Stack (where it wasn't getting any response) and reposted here. The problem is how to change the ...
2
votes
1answer
564 views

Apache2 graceful restart stops proxying requests to passenger

Issue with apache mod proxy, it stops proxying requests after a graceful restart but not all the time. It seems to happen only on a Sunday when a graceful restart is triggered by logrotate. [Sun ...
0
votes
1answer
114 views

Apache2 with mod_proxy_ajp doesn't rewrite url

I have apache2 exposing a jboss through mod_proxy_ajp on / and serving some static content with ProxyPass /static ! ProxyPass / ajp://localhost:8009/ in proxy_ajp.conf. I need to redirect all the ...
2
votes
0answers
777 views

Does Apache2 Configured as ReverseProxy Hide Cookies Set by Backend Servers?

I use Apache 2.2.16 as Reverse Proxy. For a static website, I don't have any issues. However, when began to use cookies, I've noticed that the browser is receiving a different cookie than what was ...
0
votes
2answers
1k views

mod_rewrite+proxy closes connections to backend (keepalive)

We have a fairly typical setup: client <-> apache2 (2.2.22) <-> backend (*). Initially we were using mod_rewrite with the [P] flag in the simplest form: <VirtualHost *:80> ...
3
votes
1answer
1k views

Apache ProxyPassReverse escaping special characters

I have this very simple reverse proxy rule in Apache 2.2.19: ProxyPass /test http://other.local.machine/test ProxyPassReverse /test http://other.local.machine/test The problem is ...
2
votes
1answer
274 views

mod_proxy Fowarding Based on Request Host Header

Lets say I have 3 URLs and they all point to the same reverse proxy. I would like to have the requests being forwarded to the web servers behind the proxy based on the host header: ...
1
vote
2answers
837 views

mod_proxy map http://myserver/game to http://localhost:5732/?

N00b question. I have an URL http://myserver.com/game and would like to call an internal resource http://localhost:5732/ I tried: AllowCONNECT 5732 ProxyPass /game/ http://localhost:5732/ ...
-3
votes
1answer
90 views

Mod_proxy use same RAM as PHP server

I am just trying to understand something... I have configured Apache+modsecurity+mod_proxy to act as a reverse proxy to 4 web backends. This is not in production at this time and I was wondering what ...
6
votes
1answer
3k views

Apache httpd workers retry

I have an Apache httpd web server running mod_proxy and mod_proxy_balancer. The whole of /somedir is sent to 2 worker machines which service the requests using the round robin scheduler. Each worker ...
1
vote
1answer
956 views

Apache ProxyPass/RewriteRule with p flag: Return no content when response has multi-part content type i.e.images

This is a continuation of a previous question which has been implemented with a little change. Following is the structure I am going to talk about. My goal is to create the Tunnel/Proxy. ...
0
votes
2answers
860 views

how can %{BALANCER_WORKER_ROUTE}e be null

I'm trying to set up a balanced cluster with mod_proxy_balancer. I followed the example line from here to set a cookie. I have had to tweak it as the environment is not stable so not every request ...
2
votes
1answer
841 views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
2
votes
0answers
535 views

Changing a set-cookie header using mod_rewrite/mod_proxy

I have a bunch of cgi scripts, which are served using HTTPS. They can only be reached on the intranet, not from the outside. They set a cookie with the attribute 'Secure', so that it can only be send ...
2
votes
1answer
1k views

How can I get apache to serve static content in a reverse-proxied setup?

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 ...
2
votes
2answers
693 views

Can apache forward/route requests based on http header (loadbalancing and bots)

We have a situation where bots comprise 40% of page requests for a slow-performing web application. Short Term Relief As immediate relief, I thought of doing the following: Setting up another ...
0
votes
1answer
73 views

Duplicating web requests between virtual hosts at same server

Let's consider such scenario: Apache based web server runs Python-based software which gathers data from remote devices through custom HTTP-based protocol. Each time remote device wants to submit ...
1
vote
2answers
1k views

Connection refused in ssh tunnel to apache forward proxy setup

I am trying to setup a private forward proxy in a small server. I mean to use it during a conference to tunnel my internet access through an ssh tunnel to the proxy server. So I created a virtual ...