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
70 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
999 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
164 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
405 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
920 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
335 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
151 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
316 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
44 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
73 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
411 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
396 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
217 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
312 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
157 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
808 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
834 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
159 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
100 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
312 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
0answers
73 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
1answer
134 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
183 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
486 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 ...
0
votes
0answers
129 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 ...
1
vote
1answer
83 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
90 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 ...
0
votes
0answers
62 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 ...
2
votes
2answers
5k 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 ...
0
votes
2answers
817 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
351 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
149 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
380 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
251 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
413 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
540 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
227 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 ...
0
votes
1answer
79 views

Can I set a content type if the origin doesn't send one in mod_proxy?

I have a misbehaving origin that when it has an error page it is not setting a content-type header. This is then a problem as we're sitting behind Edgecast and they default to ...
0
votes
2answers
172 views

Glassfish3 Apache mod_proxy_ajp and missing headers

I got Apache 2.2.22 with mod_proxy and mod_proxy_ajp. Here is my configuration of mod_proxy: ProxyRequests Off ProxyPreserveHost On ProxyErrorOverride On ProxyPass / ...
0
votes
1answer
1k views

Apache Request Header Read Timeout (Reverse Proxy)

I keep seeing this in my apache 2.2.22 (Ubuntu) log files and don't know why it is occurring or how to fix it [debug] ssl_engine_kernel.c(1884): OpenSSL: Write: SSL negotiation finished successfully ...
0
votes
1answer
92 views

Are there security concerns when using Apache's mod_proxy as a gateway?

In order to cope with same-origins policy for AJAX calls I want to allow for mod_rewrite and mod_proxy to handle these calls in a similar way as described in another answer: rewriteEngine on ...
0
votes
1answer
69 views

Apache reverse proxy logic based on arbitrary header

I have apache running on a natting fw, that authenticates, reverse proxies, and provides an ssl wrapper for 2 webapps on the back end. This works with virtual hosting and proxies back based on the ...
0
votes
0answers
94 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 ...
0
votes
2answers
55 views

Apache Proxy to show another Website

I need to proxy the URL http://de.domain.com/article1/foobar/ to http://de.foobar.domain.com/article1/. How can I do this within getting and setting the subdomain language part? Examples: ...
0
votes
1answer
423 views

modsecurity whitelist to allow file downloads?

I have a site that has modsecurity enabled but I am receiving 403 Forbidden when trying to access PDF documents on the server through the web site. Is there a way to whitelist pdf files to allowed to ...
0
votes
1answer
47 views

Apache mod_proxy with hostname

I need to proxy the URL http://de.domain.com/article1/foobar/ to http://de.foobar.domain.com/article1/. I already have this config. ProxyPassMatch ^/([a-zA-Z0-9]+)/foobar/$ ...
1
vote
1answer
440 views

Trouble configuring apache server to proxy an SSL connection

I'm running an application on Tomcat7 with Apache Portable Runtime, I bought an SSL certificate and configured it correctly - when I try to connect through the ip:port combination, it connects fine ...
0
votes
1answer
49 views

Rewriting domain part in a reverse proxy - mod_proxy

I have a couple of internal websites that I want to make them available to the Internet with new domain names. I'm thinking of a reverse proxy frontend and I need it to direct all requests like so: ...