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

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

Static Tomcat Cluster become unresponsive on a JDBC procedure call

StackOverflow has been a way of life for me but this time its a question rather than looking for an answer as I have probably exhausted all options. Apologies as this will a long description of the ...
1
vote
3answers
5k 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
8 views

Adding client certificate to RequestHeader in Apache load balancer, but get “401 Full authentication required”

I have a network that looks like this: |------------| |---------------|/ ---------- | Client | --- https --> | Load Balancer | ---- https --> | server | |--------...
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
1k views

apache2 reverse proxy 404 error

I have set up an apache2 server. I am trying to enable a site to reverse proxy in which I will redirect /registry to :5000. I have apache2 up and running and am able to reach the default page () but ...
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....
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 ...
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 ...
2
votes
1answer
295 views

Does mod_proxy support HTML5 Server Side Events / EventSource?

I am stuck with apache2. I've read that mod_proxy doesn't support websockets. Does it support EventSource? https://issues.apache.org/bugzilla/show_bug.cgi?id=47485
-1
votes
0answers
8 views

CORS headers and Apache proxy

I need to send a CORS header from my map server (QGIS mapserver) that use a fast cgi with Apache 2.4.* on the port 8080. I configured the with a simple <VirtualHost *:8080> [...] Header ...
0
votes
1answer
20 views

Apache mod_proxy with Tomcat 8.5 using http2

Is it possible to use mod_proxy in front of an Apache Tomcat 8.5 with the http2 protocol? If yes it would be nice to see an example configuration.
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
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 ...
1
vote
0answers
212 views

What does Nginx Proxy Filter in Fail2ban really do?

What does Nginx Proxy Filter in Fail2ban really do? I am currently setting up Fail2Ban for Nginx. Almost everywhere I've read, they all have included a setting for [nginx-proxy] proxy filter. From ...
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
0answers
20 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
23 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 ...
0
votes
0answers
59 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
460 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 ...
0
votes
0answers
29 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
0answers
13 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 ...
9
votes
2answers
28k 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
24 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
33 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
627 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
1answer
97 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
96 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
44 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
3answers
182 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
18 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
33 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
106 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
32 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
21k 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
115 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
33 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
55 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
226 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
47 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
36 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
116 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
90 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" ...