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
464 views

simple Apache2mod_proxy a backend server

Hello I'm trying to figure out mod_proxy in apache to access an backend web server on a virtual machine running Gitorious. I have looked at examples and tried them but I still can't figure it out. ...
0
votes
1answer
87 views

What is the easiest way to obtain a script-driven hot failover system?

I need to reconfigure a prod env to provide hot failover for a db driven web app written in Perl that is currently running on an Apache HTTPD server, on a Linux OS. The app is not designed to run in ...
2
votes
1answer
50 views

apache balancer, workers on internal IPs

I'm planning to build my first balancer for one of our website, using apaches mod_proxy and mod_proxy_balancer. Having not so many external IP's I'm thinking about to use each machines Internal IP ...
0
votes
2answers
2k views

Apache RewriteRule - Proxy flag not working

I'm having a problem running Apache 2.2.20 on a Linux Mint distro. I've got the following rule in my .htaccess file: RewriteEngine on RewriteRule old1/old2 http://localhost/new1 [P] When I browse ...
0
votes
1answer
240 views

Unable to use Apache's mod_proxy to forward to a virtual machine

I would like to use mod_proxy to test a website I am building on a local virtual machine from my phone. My network looks like this: Host: IP 1: 10.10.10.2 IP 2: 10.211.55.2 OSX 10.8.2 / Apache 2.2.22 ...
1
vote
1answer
585 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
345 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
863 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
581 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
538 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
534 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
180 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
106 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 ...
2
votes
2answers
239 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
340 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
7k 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
970 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
104 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
252 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
34 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
237 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
4k 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
3k 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
302 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
537 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
186 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 ...
2
votes
1answer
133 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
605 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
368 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: ...
2
votes
1answer
890 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
363 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
85 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
405 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
578 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
116 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
787 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
2k 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
280 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
868 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
982 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
890 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
870 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 ...