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

2
votes
2answers
239 views

only port working with mod_proxy is 8009, trying to use with tomcat and httpd, dont know why

I am trying to use mod_proxy with httpd and tomcat. If I leave tomcat ajp to run on 8009 in the server.xml of tomcat and in the httpd.conf of apache httpd everything works great but once I change it ...
0
votes
1answer
1k 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
4k 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
917 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 ...
1
vote
1answer
2k 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 ...
5
votes
1answer
2k 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 ...
0
votes
0answers
12 views

How do I stop httpd mod_proxy forwarding authentication to target server?

I've got the following setup on httpd <VirtualHost 1.2.3.4:443> SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP SSLCertificateFile ...
0
votes
1answer
2k 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 ...
1
vote
0answers
16 views

How to use mod_proxy to proxy one call to multiple endpoints?

We are in the process of migrating jobs from an old Jenkins CI server to a newly built one. In the meantime most of the repositories on our Git server (Stash) are configured to invoke a git-hook on ...
0
votes
1answer
37 views

Apache losing VirtualHost configurations “randomly”

I am hoping someone might be able to shed some light on this issue that I have had no luck solving elsewhere. We are running an Apache (2.2.15) server used for basic load balancing, but ultimately ...
1
vote
1answer
979 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. ...
7
votes
6answers
10k 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 ...
0
votes
0answers
39 views

Is there a way to redirect HTTP to HTTPS using mod_proxy_ajp or this could be done only at mod_rewrite side?

What is the easiest way to redirect http to https when mod_proxy_ajp is used? I have the configuration below for mod_proxy_ajp: ProxyPass /home ajp://localhost:8080/home ProxyPassReverse /home ...
0
votes
0answers
12 views

SSRS 2012 Native Through Apache Proxy

I am trying to find a solution for getting MS SQL Reporting Services working through an Apache proxy. I have been at this about a week now and narrowed down what I can and cannot do quite a bit. I ...
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 ...
0
votes
2answers
338 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
0answers
28 views

How to Setup Apache as a reverse proxy to another ip

I have a wordpress site example.com running from apache on server1 and example.com/forum running on a different server(server2). I have a Single Domain SSL Certificate which is not limited to a ...
0
votes
1answer
62 views

How to share a Single Domain SSL certificate across 2 ip addresses

I have a wordpress website example.com. I have a single domain SSL certificate that can be used across multiple servers. When a user visits example.com, or any subfolder expect forum , they access ...
0
votes
1answer
41 views

Possible to map a directory to another server (for independant Wordpress install)?

We have EC2 instances that I would like to not contain a wordpress install, and instead ideally map a folder to a different server, and run it under the same domain. For some reason, this is ...
0
votes
1answer
69 views

Apache 2.4.12 Redirect Wordpress subfolder to another server ip address

I am running wordpress inside the laravel public folder which acts as the root of my site. How do I redirect to another server ip address i.e. (xx.xx.xx.xxx) when one accesses the following subfolder: ...
0
votes
0answers
26 views

Disable connection pooling on apache 2.2

Recently I've setup 2 new Reverse Proxy with apache 2.2 to access an application hosted in Jboss. In front of apaches there is a Load Balancer with just Round Robin, and between the apaches and Jboss ...
0
votes
0answers
25 views

Apache Proxy & Basic Auth

Im trying to set up an Apache Proxy which also does LDAP Basic Auth: <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin webmaster@localhost ...
0
votes
0answers
63 views

Apache - Reverse Proxy and Rewrite Content

I'm looking for some hint or mash-up example on how to configure Apache to be able to encrypt and decrypt values, more or less injecting my code when loading the page or by parsing the page on the ...
0
votes
0answers
18 views

One session data for two domains

i have two different domains: domain1.com domain2.com I need to display a website from domain2.com on domain1.com. Now i use mod_proxy for this, like this: RewriteEngine on RewriteCond ...
0
votes
0answers
23 views

Apache mod_proxy ProxyRemote to round-robin DNS - always the same subnet

I set forward proxy server using apache mod_proxy, which connects to 20 other proxy servers using ProxyRemote feature. You can set just one URL for ProxyRemote , in my case it's ...
0
votes
4answers
3k 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 ...
7
votes
1answer
15k views

Apache proxy not working for a localhost port

I have Apache 2.2.15 running on port 80 and want to proxy a servlet engine on localhost port 8983. I have the setup running on another server, but have moved to a CentOS 6 machine. It's not working ...
2
votes
2answers
1k views

disable mod_proxy for subdirectory (apache)

I have apache with one folder used for reverse proxy: <VirtualHost *:80> ... ProxyPass /site http://server.local:8989/site ProxyPassReverse /site http://server.local:8989/site ...
0
votes
1answer
182 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 ...
3
votes
1answer
3k views

Proxy Pass not working

I am attempting to get ProxyPass to work on my OpenSUSE 13.1 install. I have tried: a2enmod proxy a2enmod proxy_http a2enmod proxy_connect systemctl restart apache2 systemctl reload apache2 (All ...
2
votes
2answers
2k views

Apache Redirect To Another Server with subdomain

I am currently running CentOS which hosts my web and gitlab server and a windows machine that is hosting a subsonic server. Currently, my ip points to the CentOS but does not redirect correctly. I am ...
1
vote
1answer
33 views

mod_proxy - Alter single path before sending to proxy

I am using a simple ProxyPass configuration: ProxyPreserveHost On ProxyPass /somedir http://proxy.example/somedir ProxyPassReverse /somedir http://proxy.example/somedir Is it possible to change the ...
1
vote
0answers
14 views

mod_proxy_balancer does not remove dead servers

We use the current configuration (slightly obfuscated) to balance 2 web servers against 4 application (Tomcat) servers, using JSESSIONID; each web server has this exact same configuration for ...
0
votes
1answer
64 views

Session lost in Jetty using Apache as proxy [closed]

I have an application based on eXist-db. It's basically a Java web application that uses Jetty. It runs on the remote Linux server behind Apache proxy. I use the following Apache configuration: ...
3
votes
1answer
1k views

Apache configuration to make NTLM authentication work through a Proxy

I'm running an application server behind an Apache proxy with the following sort of thing in my Apache config: ProxyPass /app http://myapplication:8080/myapp ProxyPassReverse /app ...
1
vote
0answers
21 views

Enable/allow Proxy From Different Server With SSL

I have a node.js app on server A (http://sub.domainA). My customer wants to use this solution without redirecting. The configuration in .htaccess for the node.js service on server A looks like this. ...
1
vote
1answer
5k views

Apache SSLProxyEngine

Dear Folks, I have to configure a reverse proxy to redirect the HTTPs Request to another host which is also running HTTPs,,,But I get stuck Here is the virtualhost configuration on my Apache as the ...
0
votes
1answer
32 views

Apache2 proxypassreverse directive appending virtualhost port?

I have been trying to setup a reverse proxy using apache 2 mod_proxy and the proxypass & proxypassreverse directives. I am installing WSO2 Identity Server and wish to access that app using a url ...
0
votes
0answers
57 views

proxy subdomain with Apache

I have setup ghost on my Digital Ocean server and it works for localhost:2368, but I am having trouble setting it up so that when I enter blog.mydomain.com it will redirect to local localhost:2368. I ...
0
votes
1answer
736 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
3answers
357 views

icecast and apache on the same port (mod_proxy, mod_rewrite)

I have an icecast server running on port 8000. I can access the server fine as LINK1 (see below) from the internet. In addition, I created a small HTML page with some info that also embeds the HTML5 ...
0
votes
1answer
81 views

Reverse proxy Apache rewrite rule doesn't work

I've an apache reverse proxy and i try to make a rules for redirects few urls of example2 to example1 but my rewrite rules doesn't work. I've try this in the vhost of example2 : ProxyPass / ...
0
votes
1answer
873 views

How to use mod_proxy to let my index of Apache go to Tomcat ROOT and be able to browse my other Apache sites

I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder. I used sth like this in httpd.conf: ...
0
votes
0answers
15 views

Apache mod_rewrite with proxy to HTTPS from HTTPS host

I am trying to use the mod_proxy to rewrite internal one URL to another in this way: RewriteCond %{HTTP_HOST} ^www\.domain\.de$ RewriteCond %{SERVER_PORT} ^443 RewriteRule ^blog/(.*)$ ...
-1
votes
1answer
1k views

Reverse proxy 502 bad gateway

I have setup a subdomain to proxy my plesk panel, but when saving pages I am getting 502 Bad Gateway error instead of a completion message. I am running CentOS 6. Here is my vhost.conf configuration ...
0
votes
0answers
50 views

Dynamically Adding BalancerMembers to Proxy

Running Apache 2.4 I would like to be able to dynamically add BalanaceMembers via API to a balancer group in the proxy_balancer module. There are hints that this is possible. The documentation for ...
0
votes
0answers
22 views

Apache mod_proxy redirect with absolute domain

I am using the example from apache to rewrite a url with proxy: RewriteRule ^widget/(.*)$ http://product.example.com/widget/$1 [P] I want to set a absolute domain for this: RewriteRule ...
0
votes
1answer
174 views

whitelist URI on mod_security enabled apache reverse proxy

I have an apache 2.2.29-1.4 with mod_security 2.8.0-5.25 which is a reverse proxy with mod_proxy_http for a local java application. I have false positive on some urls and would like to whitelist some ...
0
votes
1answer
144 views

Tomcat Clustering With Apache-[warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy

I am new to apache and tomcat, and trying to implement clustering with mod_proxy and able get run multiple tomcat instances but got stuck. Here is my config: httpd.conf: LoadModule proxy_module ...
0
votes
0answers
10 views

IIS - 1 website, multple domains, wildcard ssl or another method?

First of all I am a bit of a beginner but I am hopefully using the right terminology below. A lot of this will be guess work. We use a CMS which has a master portal (with many sub-portals) which is ...