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

0
votes
1answer
95 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
231 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
319 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 ...
8
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
812 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
100 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
239 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
213 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
280 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 ...
1
vote
1answer
957 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
499 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
177 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
123 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
533 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
329 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
792 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
327 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
79 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
376 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
545 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
113 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
752 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
262 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
778 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
88 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 ...
0
votes
1answer
892 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
804 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
787 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
508 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 ...
1
vote
1answer
2k 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
661 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
988 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 ...
1
vote
1answer
218 views

apache/mod_proxy: gateway errors after restart

Situation: server running RHEL, Apache, etc with mod_proxy. Was working fine up to a recent restart. Now is throwing "(111)Connection refused: proxy: HTTP: attempt to connect to <IP>:8000 ...
-1
votes
1answer
97 views

SaaS style CNAMEs with Apache2

So I have a Rails application behind Apache. It is running via Thin, but all of this really doesn't matter. I'm having trouble getting my SaaS style CNAMEs working. Currently I have two different ...
2
votes
1answer
3k views

proxy: no HTTP 0.9 request (with no host line)

I'm getting a bunch of these errors in my error.log: [client 1.2.3.4] proxy: no HTTP 0.9 request (with no host line) on incoming request and preserver hose set forcing hostname to be ...
-1
votes
1answer
108 views

How to verify mod_proxy settings?

I have an apache httpd (v2.2) in domain aaa.bbb.ccc with mod_proxy settings: /team http://xxx.yyy.zzz/team It just pass url in http://aaa.bbb.ccc/team to http://xxx.yyy.zzz/team. My question is any ...
3
votes
1answer
1k views

Understanding apache 2.4 mod_proxy_fcgi and RewriteRules in htaccess

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

apache mod_proxy, page reload and sessions

I use the apache "mod_proxy" to forward all requests to the glassfish server. The relevant apache config is: # proxy to glassfish app ProxyRequests Off ProxyPreserveHost On <Proxy *> ...
1
vote
1answer
267 views

Apache proxy_mod refresh

I have an apache web server with a ProxyPass configuration to link a Tomcat server: ProxyPass /server http://localhost:8080/server ProxyPassReverse /server http://localhost:8080/server When Tomcat ...
1
vote
1answer
427 views

Apache2 + SSL + Proxy to Sinatra App: Will it work? Or will there be some warning to the user?

I have a situation where the main website is a legacy app written in ColdFusion which I've recently migrated from MX 6.1 to 9.0.1. Another part of the website is a blog/forum in PHP5 on WordPress. ...