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
115 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
260 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
86 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
0answers
33 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
1answer
64 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
67 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
52 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 ...
1
vote
2answers
1k 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
558 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
418 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
239 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
95 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
284 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
210 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
200 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
138 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 ...
0
votes
0answers
34 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 ...
1
vote
0answers
187 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
52 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
0answers
64 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
2answers
108 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
763 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
72 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
54 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
66 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
0answers
18 views

Apache mod_rewrite no further rules after proxy

I have this config RewriteCond %{HTTP_HOST} ^([^.]+)\.domain.com RewriteRule ([a-zA-Z0-9]+)/([a-zA-Z0-9]+) http://%1.$2.domain.com/$1 [P,L] which should show me the content of ...
0
votes
2answers
53 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
311 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
40 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/$ ...
0
votes
0answers
110 views

Replace header Host in lighttpd, when proxying

How do you replace the Host header of a request in lighttpd? I know of mod_setenv, which can add a Host header. I've tried to use the following configuration: setenv.add-request-header = ( "Host" ...
1
vote
1answer
257 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
36 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: ...
0
votes
1answer
1k views

nginx reverse proxy, ssl offloading, caching and pagespeed all in one.

We currently host everything on windows IIS 7 servers. We just moved to Azure, and like many clouds hosting windows is more expensive than hosting linux. Azure has its own limitations for virtual ...
0
votes
0answers
163 views

debian: apache proxy pass subdomain to webmin with ssl

I am having an issue setting up a subdomain to proxypass using apache2 to webmin. I can currently access webmin the following ways: https://mydomain.com:10000 https://webmin.mydomain.com:10000 ...
0
votes
0answers
46 views

Handling user state across servers

I have two servers running Apache for the same domain name. Server A runs most of the web site (www.domain.com), except for one sub-directory (www.domain.com/photos/) that is set up as an HTTP proxy ...
0
votes
1answer
378 views

Using Apache httpd to redirect context path?

I'd like to proxy http://localhost:1006/ as http://example.com/public/ to the outside world. Here is my configuration: RewriteEngine On # Append a slash if necessary RewriteRule ^/public$ public/ ...
1
vote
1answer
106 views

Apache as a proxy fowarder to dynamic IP

I've looking aroung the web, but I can't figure out how to do what I'm looking for. So what I'm looking for is a proxy on which will foward the HTTP query based on the IP address I've put in the url ...
3
votes
1answer
42 views

Secure Apache when using mod_proxy_http and mod_rewrite

We have an Apache server that works as a proxy for apps running on different ports. For example: domain.com/app1/service1 > localhost:101 domain.com/app1/service2 > localhost:102 ...
1
vote
1answer
265 views

Apache as a proxy for Nexus, Jenkins and Foreman (Several VirtualHosts on same domain, IP and Port)

I'd like to configure Apache to be used as a proxy for Nexus, Jenkins and Foreman which are installed and running on the same server. Here is an example of the Virtual host config file for Foreman, ...
0
votes
1answer
317 views

Apache proxy configuration in which a subpath is a proxy for a different port

I wish to have the following happen: http://www.example.com/wiki be a proxy for http://www.example.com:8090/ http://www.example.com/ be a proxy for http://www.example.com:8080/ I have the ...
2
votes
1answer
224 views

Is it possible for a reverse proxy to make its request to another proxy and rewrite the urls in the response content?

I'm currently looking into reverse proxies and don't have a specific one in mind yet. I am trying to forward my requests from a reverse proxy through another proxy on the web with authentication. The ...
1
vote
1answer
1k views

Apache server : Reverse proxy and websockets via mod_proxy_wstunnel

I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel. The httpd.conf : <VirtualHost ...
0
votes
1answer
116 views

mod rewrite on apache on virtualhost to point to jboss

I set my apache server with ajp to connect to my jboss server and it is working fine. But when I go to my domain http://mydomain.com, I see the jboss root page. I was wondering if I could use mod ...
1
vote
1answer
118 views

Why are http headers not set when I use proxypass on apache2.2

I have an apache2.2 server with mod_proxy and mod_headers installed. On a request running with a ProxyPass directive, none of the Header set directives work, ie the header's aren't set in the ...
0
votes
1answer
157 views

Apache httpd.conf redirection. How to “balance” app

This is probably a simple problem but I just can't seem to solve it! I have a website running 2 Apache Tomcats on different ports (e.g. 8080, 8085). However since my customers cannot access specific ...
0
votes
2answers
886 views

How to Exclude an URL for Apache Mod_proxy?

We have two Apache server as front-end and 4 tomcat server as back-end configured using mod_proxy module as load balancer. Now, we want to exclude an single tomcat url from the mod_proxy load ...
1
vote
0answers
37 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 ...
0
votes
1answer
253 views

apache module to perform search and replace operations on response bodies?

I am trying to do search and replace operation on response bodies using a transparent apache reverse proxy configuration, the below config using "mod_substitute" and "mod_proxy" works as expected : ...
0
votes
1answer
54 views

Apache rewrite rule (mod_proxy or mod_rewrite)

I need to rewrite a incoming request for a particular file. The file will have a suffix of .rtfx and I need to remove the host (http://www.host.com/) and replace it with another. Request *.rtfx file ...
2
votes
0answers
138 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 ...