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
10 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 ...
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 ...
0
votes
0answers
13 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
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 ...
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
1answer
13 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, ...
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
40 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
40 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 ...
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 ...
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
1answer
41 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
0answers
51 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
50 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
107 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 ...
1
vote
2answers
360 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 ...
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
75 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 ...
1
vote
2answers
46 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
2answers
120 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
votes
1answer
133 views

503 service unavailable. Apache crashes once in 7-10 days

I use Apache server on Ubuntu 14.04. In order redirect all requests from mypage.com to mypage.com:8080/myapp I use mod_proxy. My 000-default.conf looks as follows: <VirtualHost *:80> # The ...
2
votes
1answer
69 views

Apache RewriteRule 502 Error on dev server, works on live

I'm on Apache 2.2.15. My vhost.conf contains a RewriteRule to handle article URLs; # handling for neat article titles RewriteRule ^/news/[0-9]{4}/[A-za-z]{3}/([0-9a-zA-Z-]*)/([0-9]{4})([0-9]{6})/?$ ...
0
votes
1answer
46 views

Apache proxy balancer not working properly

I am having two wildfly server instances up on my linux server and i want to balance load on both by using apache proxy balancer. But the balancer is not working properly its send request to wildfly ...
0
votes
0answers
50 views

2-Way SSL Apache Forward Proxy

I would like to configure Apache to act as a Forward Proxy server between clients (browsers) and the internet. The traffic between the client and the proxy server needs to be encrypted, while the ...
0
votes
1answer
32 views
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
0answers
60 views

Apache mod_proxy + mod_cache (socache and disk)

I have here a three node apache mod_proxy load balancing cluster. now i want enable mod_cache to get more load from the backend to the frontend. So thats my config for the cache: <IfModule ...
0
votes
0answers
11 views

tcpsndbuf causing max cpu load (using proxy_mod on openvz)

I do run a web application, which I stripped to the max to avoid a high tcpsndbuf values. Still a failcnt on tcpsndbuf will be reached after a few days and very, very little traffic. I initially ...
0
votes
0answers
27 views

Prevent Apache from rewriting URLs with ProxyPass

I have some strange wizardry happening with apache2 proxy_http on a Debian server. When I request http://my-server.com/notgames/hextris/ the URL is rewritten to http://my-server.com/games/hextris/. ...
0
votes
1answer
156 views

ProxyPass HTTPS to other server

I have a server frontend.example.com with public IP. It's Apache (2.4) should proxy the traffic coming for service1.example.com (DNS alias to frontend.example.com). service1.example.com is a VM on a ...
1
vote
1answer
493 views

How can I fix recurring PHP 503 Errors on my Apache-mod_proxy_fcgi-PHP-FPM Server?

i'm having trouble with my php-fpm setup. Maybe you guys can point me in the right direction. First off, everything is working fine. But every now and then, I'll get 503 Errors. Those errors are gone ...
0
votes
0answers
23 views

Redirect from different domains on SSL without URL rewriting

Problem I have two domains hosted on hostgator (on different servers): Domain A is using cloudflare for DNS and flex SSL. This is hosting a product page with info about product. Domain B is using ...
0
votes
1answer
50 views

apache forward proxy - how to override a destination address?

I'm running apache as a forward proxy to do header injection, URL manipulation, and request logging for some Android apps and I'd need to override the destination for some requests. For example, ...
0
votes
1answer
197 views

proxy giving error 502 when uploading files to tomcat backend

So, I have an apache 2.2.16 (64 bit) installed on a Debian Server. I have configured a proxy, for a specific url to map to my backend Tomcat 7 server. Everything works fine for all of the GET/POST ...
0
votes
0answers
71 views

Reverse Proxy URL repeating

I am a bit of a beginner at all of this ... and some early success made me think I had a handle on this. I am trying to reverse proxy, where the server with the reverse proxy is trying to redirect to ...
1
vote
1answer
61 views

How can I force mod_rewrite to send user info component of a URI?

A colleague recommended I repost this from StackOverflow to ServerFault: This has been driving me crazy. I have a web application that's being served via Apache Web Server. The database server that ...
0
votes
1answer
24 views

Reverse proxy settings ignored

After switching from Windows 8 Apache 2.2 or 2.4 (don't remember), 32bit to Apache 2.4.9, 64 bit, Windows 8.1 my proxy settings are ignored. All requests end up going to the default C:/wamp/www. The ...
0
votes
1answer
54 views

Reverse proxy requests based on http:// or ws:// in request header

From a previously asked question I know that I can route requests to a different servers with reverse proxy, such as mod_proxy for apache. My question is, before I dig deeper into its setup, which of ...
0
votes
0answers
131 views

Apache reverse proxy with form authentication

using mod_auth_form and mod_proxy I'd like to publish one of our SharePoint sites. I want Apache to offer form authentication and pass credentials via the AuthFormFakeBasicAuth option. The relevant ...
3
votes
0answers
99 views

Multiple Client Certificates in SSLProxyMachineCertificateFile

Here is my use case. I want to learn how to setup Apache, so this is just for learning. Feel free to suggest better alternatives. I'm using Apache 2.4 in RHEL5. I want to use a ProxyPassMatch to ...