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

2
votes
0answers
351 views

Apache 2.2: RewriteMap, ProxyPass interpolation and Keep-Alive

I have an Apache httpd used as a SSL reverse proxy frontend for a lot of backends. I compute the name of the backend from the path given by the user. e.g: https://myhostname.com/myaccount translates ...
2
votes
0answers
687 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 ...
2
votes
0answers
568 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 ...
2
votes
0answers
320 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
0answers
593 views

Making mod_proxy_http send back response asynchronously (w/o 100 Continue)

A servlet engine (Jetty) is running behind an Apache Httpd server, forwarded using mod_proxy_http. This is running a small servlet that accepts PUT requests and is authenticated using HTTP Basic ...
2
votes
0answers
252 views

Add a header depending on the proxied response code with apache

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 ...
1
vote
0answers
40 views

Apache mod_proxy not closing back-end sockets fast enough

I'm using Apache + mod_proxy for providing a chat application with Ejabberd. It's using Bosh (XMPP over HTTP). The issue is when a user closes its browser, Apache keeps the connection open with the ...
1
vote
0answers
46 views

mod_proxy with ProxyRemote absolute URL - preserve relative URL

ProxyPass / https://example.com/ ProxyRemote https://example.com/ http://proxy:8080 The setup works through the proxy, but using mod_firehose I see mod_proxy modifying the url to include the full ...
1
vote
0answers
22 views

forward proxy and host file entry

I had a question in regards to forward proxy that I appricate of you can review. If I have apache 2.2 in my DMZ with a dedicate VIP could I use from my source server that needs to reach that VIP host ...
1
vote
0answers
166 views

Apache2 mod_proxy_fcgi closes a connection after each request

I set up mod_proxy_fcgi do go with apache and php-fpm. If I read the FCGI spec correctly, the typical flow for the communication between a server is to keep the connections between the web server and ...
1
vote
0answers
32 views

Proxy requests using Apache transparently

I am using Apache to forward an URL to another URL using mod_proxy transparently. To illustrate what I am doing, this is my Apache configuration file: <VirtualHost *:80> ServerName ...
1
vote
0answers
107 views

Reloading php-fpm and apache without interrupting current requests/scripts

I got Apache 2.4 with mod_proxy_fastcgi, PHP 5.4 with PHP-fpm installed and i've separated every site with a pool. I got a page that posts info to a php application that runs a script on the ...
1
vote
0answers
70 views

set up apache http server in windows as proxy to access another domain

I know this should be very basic and simple in theory, but I need to complete this task, I'm new to this and for some reason I can't find a suitable example that works for me. I am running apache 2.2 ...
1
vote
0answers
670 views

“ajp_read_header: ajp_ilink_receive failed”

We have Apache 2.2.24 in front of Tomcat 7.0.33. We're using AJP connectors with APR/native configured. I recently noticed a number of 500 errors in the Apache access logs for a small proportion ...
1
vote
0answers
2k views

How to reverse proxy specific ports to a different server behind a firewall using Apache mod_proxy

I have two Web severs, one Apache 2 and the other IIS 8, and both are on a LAN behind a firewall. I have ports 80, 443, and 8080-8088 open on the firewall. I have an externally hosted DNS A record ...
1
vote
0answers
135 views

Apache mod_proxy + xinetd redirection to firewalled host + expecting JNLP back to client

My goal is fairly typical, so I am hoping that someone else may have implemented a similar setup before. External client Foo will be connecting to Bar, which is a server with an appropriate firewall ...
1
vote
0answers
265 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 ...
1
vote
0answers
95 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
1
vote
0answers
178 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
0answers
821 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
0answers
132 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
0answers
282 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
0answers
68 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
0answers
309 views

How to handle serlvet login redirects which cross reverse proxy virtual host boundary

I'm trying to setup the GlassFish application server behind an Apache reverse proxy. I've got it working with both port 80 and 443, but the problem is the transition between the two that occurs when ...
1
vote
0answers
166 views

mod_rewrite: internal rewrite to (fake) clean URL not possible.

This is more a why question. I'm using a CMS that handles clean URLs via mod_rewrite out of the box. Website has a section /accessories that now has to be renamed to /store. Being on lazy mode, I ...
1
vote
0answers
72 views

proxying on localhost

2 Servers: Server 1 on 1 public IP, Server 2 on Local LAN. I have this working with a proxy on Server1 right now. But I need to add one localhost on Server2 which is NOT a recognized domain. So I am ...
1
vote
0answers
354 views

Long running process times out through an apache proxy but not when bypassing the proxy

So I have this tomcat based webapp. Part of this webapp lets you upload a file that then is checked against a backend database. This process takes a long time, up to 15 minutes in some cases. Now ...
1
vote
0answers
404 views

(apache `mod_proxy`) reverse proxy - how to reuse TLS sessions to origin server

I have set up a reverse proxy which can be accessed by http only, client requests are translated to http or https communication towards the origin server. Configuration is as follows: ...
1
vote
0answers
218 views

Apache mod_proxy site alias, alternative domains

Guys! Having a problem with apache mod_proxy, hoping someone can help Preface: We need a new domain (http://section1.info) to direct users to (http://domain.info/?q=section1) and maintain ...
1
vote
0answers
634 views

mod_proxy_balancer with JBoss get many CLOSE_WAIT

We have a small web cluster for servering about max 400 concurrent user each day. We using : Apache 2.2.14 mod_proxy mod_proxy_httpd mod_proxy_balancer JBoss 4.2.2 GA Firstly we tried AJP and ...
1
vote
0answers
345 views

lighttpd 1.5 reverse-proxy to trac

I'm running lighttpd 1.5 freshly compiled off svn. I have a trac daemon listening on port 8000 and I want to proxy all requests matching ^http://xx.xx.xx.xx/trac(*.) to that daemon. Here is what it ...
1
vote
0answers
346 views

Tomcat fails on first request in combination with jsvc

I have a web application where the first request may take a few seconds as some singletons are initialised. I've used the mod_proxy and jsvc construction mentioned in this question and described on ...
0
votes
0answers
12 views

Multiplexing SPDY with Apache

I have a custom SPDY-based service running locally on my Apache web server. It serves a REST-style API that will be consumed by a custom SPDY client. My server also serves a standard HTTPS website. ...
0
votes
0answers
23 views

URL Obfuscation: How to securely hide backend urls with nginx or apache?

Simply put: How can I obfuscate a url? Much like whats in this post but I need to have security also in mind. Lets say I have a url endpoint: ...
0
votes
0answers
19 views

Forcing Apache 2.4 to cache files with query string using mod_cache without expires

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 ...
0
votes
0answers
44 views

Apache 2.4 with mod_proxy_fcgi and php-fpm issues using balancer://

Currently, I have Apache 2.4.6 + PHP 5.5.3 working with a RewriteRule sending requests to a single mod_proxy_fcgi backend with a fcgi:// prefix. Additionally, I've recompiled PHP with the patch from ...
0
votes
0answers
47 views

apache2 reverse proxy broken after modsecurity is installed ubuntu on 12.04.1

this is the first time I have run into issue like this one. I have a java application setting behind a apache2 using mod_ajp on 8009. I have noticed that I could not get the client's IP so I have ...
0
votes
0answers
19 views

Is it possible to add resume functionality to an Apache caching reverse proxy?

Our company's proxy is a rather typical corporate setup: it man-in-the-middles SSL connections, tries virus-checking on download and so on. As usual, this setup is rather flaky, which often results in ...
0
votes
0answers
69 views

Can I prevent Apache ProxyPass from returning HTTP 401?

I have Apache 2.2.22 acting as a proxy server, and it's doing authentication against an LDAP server: <Location /app> AuthType Basic AuthName "Test access" # ..mod_auth_ldap config ...
0
votes
0answers
43 views

PHP-FPM ProxyPass, cannot load proxy module

I have installed Apache 2.4.7 on my CentOS 6.5, and I have also installed php-fpm using --enable-fpm. Now I'm trying to configure proxypass on port 9000 where fpm is listening, but when i add these ...
0
votes
0answers
24 views

Apache 2.2 mod_proxy_connect not sending 200 Connection Established messages

This is a bizzare problem. On Windows systems (and only, this doesn't happen on Android, iOS, Mac, Linux, FreeBSD, and everything in between), whenever a client sends a CONNECT request, even via ...
0
votes
0answers
69 views

Apache2 ProxyPass / ProxyPassReverse results in 404 for only one out of many directives

Apache2, mod_proxy installed, using reverse proxy for more than a dozen sites, works flawlessly for those. Added one more directive but going to that URL results in a 404 error. For the purpose of ...
0
votes
0answers
65 views

Tips on reducing 500 Internal Server Errors between Apache & a thin cluster on a separate machine

I'm running a Ruby on Rails web service on multiple machines. The Apache web server is on one virtual machine and the thin application servers are on a second, the Postgres database is on a third. I ...
0
votes
0answers
47 views

Apache Reverse proxy, Backend giving 401 after a few sec

I have got Mod_proxy working in apache2 with the following setup My PC <-------> Apache2 Mod_proxy <-------> Backend Admin Panel Now when I goto the addres of the Apache2 Mod_proxy Im getting ...
0
votes
0answers
50 views

Mod_proxy substitute filter applied twice

I am experiencing strange thing with reverse proxy substitute filter. Current filter under Location is: <Location /example.com/> ProxyPass http://external.website.com/ ProxyPassReverse ...
0
votes
0answers
35 views

Apache Proxy automatic redirect

I am facing an issue with the ProxyPass on my Apache server on Ubuntu I have configured apache to deal with virtual Hosts on my server There is an application with runs on the server and uses ports ...
0
votes
0answers
90 views

Rewrite URL and keep POST data

We recently setup SVN for our web development. We'd like to be able to browse different branches/tags/trunk based on the URL you input on our dev server. So, for example, ...
0
votes
0answers
31 views

Apache mod_proxy setup

I have an Apache server serving a few websites, but for a specific domain I would like to forward the requests to a NodeJs in the back of the Apache. I setup the mod_proxy for Apache 2.2 but I have a ...
0
votes
0answers
41 views

Reverse Proxy: Capture error pages and serve generic error page from proxy

Architecture : Client | v SSL/HTTP | v HAProxy 1.5-dev12 | v Apache 2.4 mod_proxy | v Backend Web Apps Is it possible, with ...
0
votes
0answers
51 views

mod_proxy when no file exists for request

I have a lighttpd server where static files will be generated by a NodeJS process. The Node server will be running express on port 3000 (same computer). I would like lighttpd to serve the static ...