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
0answers
895 views

Reverse proxy 502 bad gateway

I have setup a subdomain to proxy my plesk panel, but when saving pages I am getting 502 Bad Gateway error instead of a completion message. I am running CentOS 6. Here is my vhost.conf configuration ...
1
vote
1answer
801 views

How can I troubleshoot an Apache Server reverse proxy dropped connection?

We are suddenly seeing an intermittent, but very frequent, error while POSTing files to a Tomcat servlet over https via an Apache Server reverse proxy. The error only seems to occur while POSTing ...
0
votes
0answers
343 views

Apache Reverse Proxy (Same ProxyPass path but different Destination)

I have a problem here. I am doing reverse proxy for few website in my test server. So , what i have encounter here is that when i request the website from the client , both website request from the ...
1
vote
0answers
345 views

Apache Reverse Proxy Java Application Server CLOSE_WAIT Connections

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

IIS 7.5 ARR rewrite rules equivalent for Apache mod_proxy rules

I'm trying to put RabbitMQ management interface behind a load balancer, using IIS 7.5 and ARR, whereby I'm routing rabbit.mydomain.local to localhost:15672. While I get the traffic to route, all api ...
0
votes
1answer
153 views

apache reverse proxy 404 image error

I have some error with my apache reverse proxy. Currently I am doing reverse proxy to 4 websites. 1.1.1.1/a 1.1.1.2/b 1.1.1.3/c 1.1.1.4/d I am having no problem when reverse proxy to a and b ...
0
votes
2answers
1k views

How to pass arguments through ProxyPass in Apache

What I'm trying to do and I've got stuck is: I've got apache server that will catch certain url's and for some of them, he will use ProxyPass (or mod_rewrite) to pass something as reverse proxy to ...
0
votes
1answer
1k views

Using ProxyPassMatch for FastCGI, results in connection refused on port 9000

I'm not certain if this is a php, apache, or iptables configuration issue but I receive the following error when trying to access a .php file. Please let me know if you need more information to help ...
0
votes
0answers
98 views

External Web Application Firewall infront of IIS

We have a public facing IIS webserver hosting an ASP website which is not very secure, to say the least. I have found out several serious flaws in the last few months and would like to do something ...
0
votes
1answer
320 views

Apache 2.4 Proxy Connect - connection reset

I have a working setup with apache 2.2 server acting as a remote proxy. I'm using proxytunnel with two chained proxies: proxytunnel -q -X -p localproxy:8080 -r remoteproxy:443 -d destination:22 I had ...
0
votes
1answer
677 views

Dynamicly reverse proxy a subfolder to subdomain in Apache

I would like to dynamically proxy sub folders to sub domains on another host. For example, I have the following reverse proxy setup for a single sub folder to sub domain: ProxyRequests Off ...
0
votes
0answers
95 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
333 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: ...
1
vote
0answers
226 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 ...
0
votes
1answer
79 views

How to access one background server (Webcit) from another server (Apache) within private network?

I try to access a running Webcit (needed by Citadel mailserver) by Apache's ProxyPass directive. This should only be possible within a private network while using port 2000. My ideas is to deny from ...
1
vote
2answers
1k views

Apache Redirect To Another Server with subdomain

I am currently running CentOS which hosts my web and gitlab server and a windows machine that is hosting a subsonic server. Currently, my ip points to the CentOS but does not redirect correctly. I am ...
0
votes
0answers
191 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
416 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
2answers
2k views

In Apache how to define multiple ProxyPass to different servers with the same context-root?

I have a requirement for my webapp to proxy to 2 external reporting servers. So I will have a menu-item for each external reporting server. But the browser-URL has too look like it's my server so I ...
0
votes
1answer
382 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 ...
-1
votes
1answer
163 views

Reverse proxy without URL Rewriting

I have been asked to setup a reverse proxy but one of the requirements is that no URL Rewriting be performed. I'm trying to wrap my head around this since to me it seems that without rewriting the ...
0
votes
1answer
513 views

Apache: proxy an internal URL using regex

I have a few servlets listening on internal ports which are not accessible from outside. I use Apache's ProxyPass and ProxyPassReverse directives to serve them securely from port 443: ProxyPass ...
0
votes
0answers
69 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
83 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
2answers
534 views

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 ...
0
votes
1answer
540 views

Apache mod_proxy+mod_rewrite = “Request exceeded the limit …” error [duplicate]

Good day, I'm using Apache as a reverse proxy for my Tornado app which runs on http://localhost:8090. I want Apache to proxy everything that arrives to /api/v2 through HTTPS to http://localhost:8090. ...
1
vote
0answers
235 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 ...
0
votes
0answers
365 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
163 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
1answer
1k views

URL rewrite for subdomain with Apache and mod_proxy

I have a Apache Webserver with mod_proxy and a Tomcat server with my Grails web app runnning. The Apache is redirecting with proxy the request to example.com:80 to my Tomcat running on ...
0
votes
1answer
1k views

ProxyHTMLURLMap replaces url given two times

to explain the title, i have put this (this is the only htmlUrlMap) in my conf: ProxyHTMLURLMap / /rp/ticket/ and this in my html: <script type="text/javascript" ...
3
votes
3answers
1k views

Apache2 virtual host reverse proxy rewrite asset links

I have a web application running on port 8080 on my server: myip:8080/app I have the following config in my httpd.conf <VirtualHost *:80> ServerName subdomain.mydomain.com ServerAlias ...
3
votes
1answer
198 views

Split the same virtualhost configuration across multiple files

I have multiple django applications on my server that run each within their own virtualhosts, bound to different ports. (I do this so as to isolate each WSGIProcessGroup). Now I would like to proxy ...
0
votes
2answers
124 views

Exclude the root from a ProxPass directive, but keep everything below the root included

I am running Apache in front of a Tomcat instance. Apache proxies every request that comes through and passes it on to Tomcat. The current configuration is such that Apache puts a ProxyPass on the ...
1
vote
2answers
411 views

Apache proxy to FTPS

I have a CentOS 6.4 server with Apache 2.2.15. I would like to do a proxy to ftps server. Bellow you can find my configuration: <VirtualHost *:8001> DocumentRoot /var/www/html/root ...
0
votes
1answer
151 views

apache mod_rewrite not working with mod proxy

I have a Rails 2.3.18 application running on http://0.0.0.0:3004/, it is running with Passenger module, and is deploying on Apache server with proxy module using the following configuration: ...
0
votes
1answer
215 views

mod_proxy not redirecting servlet redirect properly

I am very new to mod_proxy. Gone thru some tutorials and configured mod_proxy. Everything works great except this issue. Couldn't solve even after spending hrs in googling. Issue is - I have apache in ...
2
votes
2answers
661 views

JBoss7 load balancing with mod_proxy_balancer - session not working

I am trying to set up mod_proxy_balancer for routing requests to 2 jboss7-servers. For the time being I am testing this setup on my local machine, using following config in httpd.conf: ProxyRequests ...
1
vote
1answer
91 views

HTML Redirect issue with Apache2

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

How to restrict Apache Location directive to cetain sub-domain?

On our server www.example.com, we use the <Location> directive to proxy traffic to a back-end server: <Location /app1> ProxyPass http://192.168.1.20 </Location> Then we added a ...
3
votes
2answers
7k views

Apache URL rewriting in reverse proxy

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 ...
0
votes
1answer
1k views

Apache proxy to forward guacamole

I'm running a Ubuntu 13.04 64-bit server, on which I have some headless VirtualBox VMs running. In the past I have just forwarded the ports to access the VMs manually, but I want to use Guacamole to ...
1
vote
2answers
1k views

Apache Proxy HTTP CONNECT method enabled

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 - ...
0
votes
1answer
454 views

apache mod_proxy or mod_rewrite for hide a root of a webserver behind a path

I have 2 apache 2.2.21 one external and one internal, I need to map the internal apache behind a path in external apache, but I have some problems with absolute url. I tried these configurations: ...
0
votes
1answer
189 views

Apache mod_proxy with SSL not redirecting

I have a custom server running behind an apache reverse proxy. Since the custom server can only handle HTTP traffic, i am trying to use apache for wrapping proper SSL around it, and for some kind of ...
0
votes
1answer
411 views

ProxyPassMatch, regex to proxy dynamic content

I have a shared hosting server with some 2000 websites on it. I have a lightweight apache/event frontend that takes care of static content and locally proxies requests for dynamic content to a ...
0
votes
2answers
270 views

How do I configure my httpd rewrite/proxy to direct app1.example.com:443 to localhost:8080 and app2.example.com:443 to localhost:8081?

I have two Tomcat instances, one running on port 8080 and the other running on 8081. The both have deployed a web app called app.war but they are separated not only by different ports, but different ...
0
votes
0answers
520 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
2answers
857 views

Unable to configure apache to restrict access by IP for proxy

I added following into my httpd.conf (after VirtualHost): <VirtualHost *:80> ServerName XXX.XXX.XXX <Directory proxy:> Order allow,deny Allow from 10.52.208.221 ...
1
vote
0answers
264 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 ...