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
2answers
14 views

Cloudfront origin direct requests to a parent path

I'm trying to set up mydomain.com/help that should pull content from mydomainhelp.otherdomain.com I was told to use a apache mod_proxy, but I'm not a big fan of that approach. I was wondering if I ...
0
votes
0answers
7 views

mod-proxy by query string to load balancer

Given a balancer which currently proxies all requests: <Proxy balancer://java-app> ProxySet lbmethod=bybusyness BalancerMember https://java1:8443 route=java-app1 BalancerMember ...
2
votes
1answer
2k views

Apache2 proxy Tomcat6 prevent 503 error while starting

While tomcat6 is starting up all my http requests are retained by the server and sends the response when the server is up. But when I use an apache2 as a proxy the apache2 responds inmediatly a 503 ...
1
vote
1answer
2k views

Apache mod_proxy_balancer + Tomcat load balancing - Should not redirect until web applications are ready

I am using apache2 mod_proxy and mod_proxy_balancer to balance the load to 4 seperate tomcat8 instances on different servers. I am using different AJP ports for each tomcat instance and using jvmRoute ...
0
votes
1answer
2k 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
1answer
5k views

502: proxy: pass request body failed

Sometimes I get the following error (in apache's error.log) when viewing my site over https: (502)Unknown error 502: proxy: pass request body failed to xxx.xxx.xxx.xxx:443 I'm not entirely sure what ...
0
votes
0answers
13 views

An equivalent to ProxyPreserveHost in .htaccess? [migrated]

I am moving a website from one shared host to another. The site is all files. I have already copied the files to the new host. I'd like to redirect all HTTP requests from the old host to the new ...
3
votes
1answer
668 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 ...
0
votes
0answers
12 views

Tomcat 8 / Websockets mod_proxy_wstunnel / Bitnami

I guess this is more of a configuration question, I understand what I'm trying to do, but I am a bit unfamiliar with the way Bitnami Tomcat configuration is laid out. I see that the module I need is ...
0
votes
1answer
2k views

HTTP proxy - expect 100 and authentication

I have an issue with Apache2 which I use as a proxy. My software sends HTTP PUT for protected resource with Expect: 100-continue Transfer-Encoding: chunked And instead of getting '401 ...
0
votes
2answers
29 views

Apache VirtualHost Redirect Host + Path

I need to redirect all requests from http://example.com/app to http://app.example.com/. In VirtualHost I can only specify a ServerName as example.com. I only want requests from the host plus a ...
2
votes
1answer
620 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 ...
1
vote
1answer
1k 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. ...
2
votes
1answer
1k 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 ...
0
votes
1answer
12 views

Redirecting subdomain to utorrent server

I have the subdomain: ut.domain.com The virtual host is set up below. <VirtualHost *:80> ServerName ut.domain.com ProxyRequests Off <Proxy *> Order deny,allow Allow from all ...
0
votes
1answer
38 views

Port based reverse proxy in Apache Web server

I have two web applications http://app1:8080 and http://app2:3000 running on two different ports and different machines. I have to pass the applications traffic through Apache web server, ...
0
votes
2answers
1k 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 ...
4
votes
2answers
1k views

mod proxy not working on apache

I am trying to install Mod_Proxy Apache module on WHM/CPanel CeEntOS Linux Server. Here is system info: CentOS release 5.6 (Final) Server version: Apache/2.2.21 (Unix) Cpanel::Easy::Apache v3.7.2 ...
8
votes
6answers
15k views

Apache2 Proxy timeout

I have Apache2 with PHP + PHP-FPM configured according to: http://wiki.apache.org/httpd/PHP-FPM I am writing a script that will take a long time to execute on an internal Vhost, but keep getting ...
1
vote
1answer
1k views

route port 3000 to apache2 alias

I have a meteor application running on port 3000. I can successfully connect to the program with www.myurl.com:3000, but would rather connect to it via www.myurl.com/myappname. I started with the ...
1
vote
1answer
1k 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 ...
1
vote
1answer
3k views

Apache Virtual Host SSL Behind Reverse Proxy

I have a web server (Apache reverse proxy) in front of my app server (Apache) and I'm trying to pass common name for SSL. My web server (Apache reverse proxy) is setup to preserve hostname ...
0
votes
0answers
38 views

Apache times out unexpectedly ( despite setting Timeout in httpd.conf )

I've a PHP script (on centos, apache 2.2, php 5.4 & apache-mod-php5) that its execution takes about 2 minutes, but 1 minute after sending request, my connection to apache server times out and ...
1
vote
0answers
29 views

How to use Apache web server through proxy (hide real ip) on windows? [closed]

What I want to do is: (1) internet -> domain name -> proxyip:port -> apache web server (and) (2) apache web server -> proxyip:port -> internet Looks like I have already set (1) with the help of ...
0
votes
1answer
17 views

Dynamic virtual hosts with different backend port in Apache

I'm looking to create a series of subdomains for an application, each of the subdomains get their own backend server via mod_proxy. I'd like to avoid generating a new vhost every time this happens, ...
0
votes
1answer
17 views

Php FPM + Apache. Customize 404 for PHP files

I have setup a small Apache instance and configured PHP with FPM. I am using the ProxyPassMatch directive. Now, when FPM does not find the requested file, it will just print out "File not found" and ...
0
votes
0answers
14 views

Forward request with Apache Server

My current scenario is as follow: I have an Apache server that is being run on Windows Server 2008 R2 in the DMZ that listens on port 80 for incoming connections, IP is 155.15.22.90. I then have an ...
1
vote
0answers
18 views

mod_rewrite and double slash issue

I am getting mod_rewrite and double slash issue can you please help me out. # ProxyPass /balancer-manager ! RewriteRule /phoenix/^(.*) ...
0
votes
0answers
38 views

Can Tomcat 8 Rewrite Valve be used to forward access to specific ports?

I have a server (server.mycompany.com) which have (among others) several java applications running in tomcat containers, each on it's own port. On port 80 is an Atlassian Confluence wiki, installed in ...
0
votes
1answer
39 views

SSL mod_proxy issues in <location> bracket

I am having trouble with getting proxypass to work in apache. My configuration file is as follows: <VirtualHost 1.2.3.4:443> ServerName example.com ServerAlias www.example.org ...
1
vote
1answer
29 views

Apache mod_proxy AH00927 messages

I was hoping someone could help me with my apache2 and mod_proxy. I have the following setup: Python web server 1 (HTTP) Python web server 2 (HTTP) Python web server n (HTTP) Apache (2.4.7) with ...
0
votes
1answer
22 views

apache reverse proxy: following redirects?

Is it possible to make apache (2.2) mod_proxy follow upstream redirects (http 301, 302)? Usually one would configure a reverse proxy like: ProxyPass /foo http://upstream.example.com/bar ...
0
votes
1answer
39 views

Two reverse proxies with apache 2.4 and mod_proxy

I'm Trying to configure a environment with two proxies. The idea is that the first proxy redirects to the second and the second to the final web. The configuration works for normal request. but I ...
0
votes
0answers
39 views

Is “ap_proxy_connect_backend disabling worker” significant for mod_cluster?

Im getting an error message in my apache logs when I stop jboss - AH00959: ap_proxy_connect_backend disabling worker for () for 60s My configuration is - LoadModule proxy_module ...
3
votes
1answer
244 views

Apache reverse proxy location based access control not working

I'm running a small web server with Ubuntu 12.05.5 LTS and Apache 2.2.22 and ran into this problem recently: For an IIS server on a virtual machine I have the following reverse proxy config: ...
0
votes
1answer
19 views

Globally change mod_proxy reset time?

Im running a server configuration where apache(win 2.4) is acting as a load balancer for a 2 jboss servers. The load balancer is running unadvertised balancer, and my two servers are pointing towards ...
1
vote
2answers
119 views

Run Apache http, Apache tomcat and nodejs on same port

I'm a web developer and for a project I need to run tomcat and nodejs without using port. I've seen some posts about proxy module in httpd, so I've created two virtual hosts as follow : ...
1
vote
1answer
40 views

How to set up a Apache forward proxy with persistent connections?

We have a Apache forward proxy sending requests to thousands of back end servers. The servers are faulty, in that they require both the initial challenge request (without authentication) and the next ...
1
vote
2answers
351 views

ReverseProxy not working on OSX El Capitan

I am attempting to access my plex web ui through a cleaner url. Currently, you can access it at http://marvin.boldlygoingnowhere.org:32400/web/index.html. I want it to be at ...
2
votes
2answers
831 views

How to stop bots from overloading my slow-performing web application?

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

apache mod_proxy call back to content server with client certificate

Setup ServerA Apache running a HTTPS site, which requires a client certificate to connect. see infos below regarding /etc/apache2/sites-available/secure.site.conf and ...
0
votes
1answer
49 views

SSL offloading with Apache and tomcat giving infinite looping | mod_proxy_ajp

I am working on a setup with following configurations Load Balancer -> Apache Web server ( 2) -> Application deployed on tomcat ( 5 nodes by clustering) In the deployed application, we do ...
0
votes
0answers
41 views

Proxy mod with apache2 on Centos 6

When I visit page I get 500 error... Here is what I found in error logs: [warn] proxy: No protocol handler was valid for the URL /index.php. If you are using a DSO version of mod_proxy, make sure ...
1
vote
1answer
105 views

How to add new module to apache2 Centos6

When I compiled apache I forget to add proxy_http_module how can I add it now? My apache is installed here: /usr/local/apache2 I tried to compile again and get this error: make[1]: Leaving ...
3
votes
1answer
29 views

How to secure an open proxy (mod_proxy) for demoing service

A client has a service that requires a bit javascript to be added to a customer's page. As a marketing tool to show prospective customers, I created a web app that demonstrates how the customer's page ...
1
vote
2answers
45 views

Build and install apache mod_proxy with custom PROXY_WORKER_MAX_NAME_SIZE

I am having a problem with a vhost (php-fpm/apache) config. It throws the error below: name ProxyPass worker name ...
1
vote
0answers
54 views

haproxy anonymous frontend, authorized backend with NTLM

Need to provide an anonymous readonly access to an svn repository AFAIK, haproxy cannot auth on backend by itself. There's a working configuration for haproxy with basic auth. How to migrate it to ...
0
votes
1answer
74 views

Use of ProxyPassReverse to change Location response header

I am implementing a reverse http proxy: proxy.example.com This will forward requests to servers based on URI: proxy.example.com/server1 -> server1.example.com When a user requests ...
0
votes
1answer
570 views

How to correctly configure Apaches mod_proxy for GitLab under a suburl in combination with other suburls

I have a server on which I want to run GitLab beside other services. After googling around for some time I found out that I need to do some mod_proxy tricks to get Apache2 to forward requests to ...
5
votes
1answer
3k views

How to configure apache's mod_proxy_html to work as an ajax proxy?

I'm trying to build a web site that let's you view and manipulate data from any page in any other website. To do that, I have to bypass 'Allow Origin' problems: i'm loading the other domain's content ...