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
11 views

Websocket proxy on Apache connecting, but not returning data to client

I've almost got a working websocket to share port 443 with both WSS and HTTPS requests via Apache's mod_proxy module. The websocket client (in a browser) shakes hands, and connects. But then the ...
0
votes
1answer
13 views

Webmin through apache2 SSL Proxy

I'm trying to make accessible my Webmin through a sub-domain https://webmin.example.com/ I'm using Cloudflare DNS and Cloudflare SSL Certification. Whenever i type the above URL, it's automatically ...
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. ...
0
votes
0answers
20 views

to set RequestHeader in apache httpd server is not working

I have a requirement, where I need to set the RequestHeader with a value retrieved from the querystring of the URI. Approach adopted is to write the RewriteCond and ReWriteRule where the condition ...
0
votes
5answers
5k views

Trying to redirect a url to another page by IP range

I'm having a bit of a trouble here. I have this several rewrite rules which I think does not work. My main purpose is to restrict pages and allow only specific IP or network block. RewriteEngine On ...
1
vote
2answers
449 views

apache httpd Redirecting URL based upon Server Name

We have a Jira and a Confluence system at my work. Both are running on the same servers. The actual URL to access Jira and Confluence are: http://foauslxapp05:8080/jira http;//foauslxapp05:8090/...
2
votes
2answers
11k views

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

** updated with workaround at bottom of this answer ** 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 ...
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
0answers
12 views

How do I configure Apache to proxy Tomcat using AJP?

I have a fresh install of Fedora 23 (Workstation) with fresh installs of Apache 2.4 and Tomcat 8. I'm attempting a very simple setup: A single instance of Apache will proxy all traffic for a single ...
0
votes
2answers
2k 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 Location:...
1
vote
2answers
1k 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 http://marvin....
0
votes
0answers
7 views

Disabling TLS1.0 in mod_proxy

We are using apache http server 2.2.29 and jboss 6.4. We are using Mod proxy for communication between web server and jboss application server. We are planning to disable TLSv1.0 in mod proxy ...
3
votes
1answer
1k views

GitLab CE 7 behind Debian 8/Apache 2 virtual host: can’t access assets

On Debian 8.0 I’m trying to have Apache 2.4.10 manage a GitLab CE 7.10 Omnibus installation as a virtual host. Setting and goal Apache 2 is already set-up and running several virtual hosts that all ...
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 ...
5
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 ...
9
votes
2answers
27k views

Intermittent error when using mod_proxy to do reverse proxy to SOAP service

I get this error every few minutes when using mod_proxy as a reverse proxy to a SOAP web service. There's probably 3 or 4 requests going per seconds so we're talking around 1 or 2 out of every ...
0
votes
1answer
20 views

Many 404 URLs when using mod_proxy[_html]

What I want to do Make all of http://cloud.example.com/ appear as http://webmail.example.com/cloud/ http://cloud.example.com : the targeted website http://webmail.example.com : the website where ...
1
vote
1answer
28 views

Remove double slash in gitlab address [closed]

I set up gitlab on my personal server and used this answer and this answer (along with some input from this to make it work with my apache installation. Everything works fine, when I go to gitlab....
0
votes
3answers
616 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 ...
1
vote
1answer
7k 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
1answer
51 views

ws protocol and apache mod_proxy_wstunnel configuration: error 500

I got an error 500 when trying to access to ws://localhost:8080/ via my Apache2 server. This server runs OpenSuse Leap 42.1 and Apache 2.4.16. These Apache2 modules are enabled: mod_proxy, ...
0
votes
0answers
10 views

Confused about the proxy directive

Reading the docs I'm still a little unsure of something: For example, the following will allow only hosts in yournetwork.example.com to access content via your proxy server: <Proxy *> ...
0
votes
1answer
47 views

ProxyPass - Invalid URL

I am creating a simple proxy pass in Apache 2.2 on CentOS 6 but that's not working and throwing error. I would be thankful if someone can please help: SSLProxyEngine On ProxyPass / https://ecuo-...
1
vote
0answers
22 views

How to use mod_cache with mod_proxy in Apache 2.4

The problem is getting proxied content to be cached by Apache 2.4. This problem was solved for Apache 2.2 (i.e. use mod_mem_cache). But in Apache 2.4 mod_mem_cache was removed. My upstream content ...
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 Unauthorized'...
0
votes
3answers
179 views

Proxying an address to another address

I am trying proxy an address to an ip with path. Here is what I have done; <VirtualHost 200.0.0.1:80> ServerAdmin admin@site-address.com ServerName app.example.com ServerAlias app....
0
votes
0answers
15 views

“service temporary unavailable” mod_proxy_balancer and sticky sessions

I have configured a Apache mod_proxy_balancer using a stickysession cookie. Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED <Proxy balancer://http-...
1
vote
2answers
2k 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
1answer
28 views

How to configure apache proxy with 2 contexts: “/” and “/dev”

I have 2 AJP services running in my server and a Apache 2.4 to proxy then. I want to map this: # in-development environment <Location "/dev"> ProxyPass ajp://127.0.0.1:3001/dev/ </...
0
votes
1answer
76 views

Apache ProxyPass: pass requested URL as GET parameter to destination URL

Hi I'm trying to set ProxyPass to pass requested URL as GET parameter to destination URL, but I can't figure out how to write it in the config file. I tried something like this: ProxyPass ^(.*)$ ...
0
votes
1answer
23 views

Can HTTP reverse proxies enable HTTP Keep-Alive on the client side and on the server side correlated?

I mean that all messages sent from a given ClientA<->RP tcp session will be forwaded to the same RP<->Server tcp session. (And that no other client tcp connection would be able to reuse the same ...
11
votes
7answers
20k 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
61 views

Apache2: How to restrict access to specific IP with ProxyPass?

I have an Apache2 Server configured as Reverse Proxy on my perimeter network. There are a lot of VirtualHost configured with the ProxyPas directive. For a specific one, I want to restrict access to ...
0
votes
0answers
30 views

How to reverse proxy a backend server's sub directory in apache

I created a reverse proxy with apache proxy_mod as below serving two webheads as backend servers. <VirtualHost example.co.uk:80> ProxyRequests off ServerName example.co.uk ServerAdmin ...
1
vote
1answer
51 views

What is the use of ProxyPassReverse Directive

Definition from apache.org says: This directive lets Apache httpd adjust the URL in the Location, Content-Location and URI headers on HTTP redirect responses. This is essential when Apache httpd ...
7
votes
2answers
5k views

Apache httpd workers retry

I have an Apache httpd web server running mod_proxy and mod_proxy_balancer. The whole of /somedir is sent to 2 worker machines which service the requests using the round robin scheduler. Each worker ...
0
votes
1answer
88 views

“No protocol handler valid for the URL” with httpd mod_proxy_balancer

I'm trying to set up failover for a reverse-proxied server with a localhost static copy of resources that would usually be served by a content management system. I've used wget to grab a static copy ...
0
votes
0answers
39 views

Why my websockets application deployed on tomcat is not getting the shibboleth headers?

My stack looks like this: Apache httpd server 2.4.12: with mod_shibd, mod_proxy_http & mod_proxy_wstunnel Shibboleth 2.5 Apache Tomcat 7.0.54 Our scenario looks like this: --------- ...
2
votes
1answer
26 views

Pass a 503 status code through a reverse proxy

I'm getting behavior I don't quite understand from my Apache reverse proxy. I have a back end server which returns a 503 using app_offline.htm during certain processes. When this occurs I receive ...
1
vote
0answers
108 views

Apache, Tomcat : How to use multiple SSL certificates on a single server

I am working on our Debian X64 server which is the endpoint for 5 domain-names. One of the domain-names is utilized by a web-project running on Apache web server. The remaining 4 domains have ...
0
votes
1answer
75 views

Apache refuses HTTP CONNECT over SSL on non default virtual host

I have an apache 2.4.18 server running with multiple vhosts. /etc/apache2/sites-enabled/000-default.conf: <VirtualHost *:80> DocumentRoot /var/www/html Redirect 400 / </VirtualHost&...
4
votes
1answer
4k views

Apache SSL reverse proxy to a Embed Tomcat

I'm trying to put in place a reverse proxy for an application that is running a tomcat embed server over SSL. The application needs to run over SSL on the port 9002 so I have no way of "disabling SSL" ...
0
votes
0answers
12 views

How do I diagnose a specific slow Apache proxy transaction?

I have four web servers acting as a load balancing proxy to some application servers. We have recently received some transactions that are taking over 10 seconds to service. (see access_log entry ...
0
votes
0answers
59 views

Apache proxy server not passing X-Forwarded-For

I am migrating some sites from one server to another. To avoid any downtime, I am proxying moved sites through the old server while the DNS updates. On the original (proxy) server, I have the ...
1
vote
0answers
15 views

Apache 2.4 mod_proxy DNS failure

I have very strange problems with apache 2.4.18 mod_proxy on Debian Linux Testing with kernel 4.3.0 (amd64). I am using it as a forward proxy: ProxyRequests On ProxyVia On ProxyBadHeader Ignore ...
0
votes
0answers
10 views

apache proxypass depending on querystring

I have two apps listening on ports :8085 and :8888 respectively. I am trying to serve either of the two apps depending on the presence of a querystring. My httpd-vhost looks like RewriteEngine On ...
1
vote
1answer
113 views

how to increase Apache mod_proxy Jetty 5minute timeout

we use Apache and Jetty to do install components behind a firewall. Some actions take a while ( 10-15 minutes ). Apache is the proxy and Jetty is the proxy target on some machines. Everything works ...
1
vote
0answers
21 views

Load balancing based on header value

I have apache2 load balancing working perfectly based on session affinity. Traffic does get directed properly to appropriate tomcat server. We are trying to use same servers to serve some REST API ...
0
votes
0answers
35 views

Apache2 proxy reverse broken Tomcat8 links

In my DigitalOcean vps, I have Apache2 (LAMP), phpmyadmin and Tomcat 8. Everything is running well. Now I'm trying to implement the reverse proxy so I can access the tomcat8 not by https: //mydominiam....
0
votes
0answers
34 views

Apache Rewrite and ProxyPass

I got a little problem with my apache configuration at the moment Got a Vhost like this: <VirtualHost *:80> ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9001/www/$1 ...