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
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 ...
0
votes
1answer
1k 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 ...
2
votes
0answers
29 views

Efficient setup for fronting application servers with Apache

I have to front various application servers (in the beginning this will be JBoss 6, Tomcat 8 standalone and Tomcat 8 embedded into spring boot 1.2 apps) with an Apache 2.4. Because of this I decided ...
4
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
1answer
15 views

Force httpd 2.0 mod_ssl to use TLSv1 for proxied handshakes

I have an instance of httpd (version 2.0) that uses mod_proxy to transform incoming http requests to https. My problem is that I need my proxy to connect to a server that only supports SSLv3/TLSv1 ...
1
vote
1answer
21 views

Force Apache proxy_balancer to specific worker

I would like to have two tomcat servers behind a proxy_balancer so I can do rolling deploys. I have this working so I can take down one tomcat and the other takes futire requests <Proxy ...
0
votes
1answer
814 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
1answer
28 views

Apache Tomcat + Apache2 + mod_proxy: Issues regarding cluster

I have a Tomcat 7.0.57 cluster setup behind an Apache2 using mod_proxy. Setup: Apache2: 192.168.2.139 Tomcat Node1: ajp://192.168.2.166:8010 (http connector also defined on port 8082) Tomcat Node2: ...
0
votes
1answer
41 views

Setting up basic proxy from https to http via Apache

I need to proxy some remote api https://example.com/api/ to be accessible locally as http://localhost/api/ I tried putting this line in httpd.conf: ProxyPass /api/ https://example.com/api/ ...
1
vote
1answer
1k 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
1answer
32 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 ...
0
votes
0answers
10 views

mod_proxy_html rewriting html tag

I am having an issue with mod_proxy_html for apache and a page not displaying correctly. The setup is a Scientific Linux 6.5 x86_64 server running httpd 2.2.15 and proxying to a back-end web server ...
1
vote
1answer
2k views

apache2 mod_proxy without 301 moved permanently?

Is it possible to not send a 301 moved permanently response to the client when using mod_proxy? I would like the client to deal with the reverse proxy as opaquely as possible. My Virtual Host ...
1
vote
1answer
3k 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
398 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
0answers
53 views

Nginx always gives “502 Bad Gateway”

I am using axis2 web server. I want to access it through Nginx. Here is my nginx configs server { listen 443; server_name malintha.com; ssl on; ssl_certificate ...
0
votes
1answer
867 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
2answers
36 views

ProxyPass only if file doesn't exist

I've seen this example: RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://app_cluster%{REQUEST_URI} [P,QSA,L] I need a similar thing that will delegate to ...
0
votes
1answer
43 views

apache mod proxy_wstunnel invalid utf8 during websocket upgrade

I am experiencing an intermittent problem when connecting the jetty web-socket client to the server. The good people at Jetty assure me it is not a problem with Jetty. On the server side I have ...
0
votes
1answer
823 views

Is it possible to match more than one regular expression with a single <ProxyMatch> rule?

I have a production, testing, and development server for a site that I maintain. All three servers are running Apache 2.2.16 on Debian 6 GNU/Linux. I have set up a new version of our company site on ...
1
vote
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 ...
4
votes
2answers
983 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 ...
2
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 ...
0
votes
2answers
1k views

Apache RewriteRule - Proxy flag not working

I'm having a problem running Apache 2.2.20 on a Linux Mint distro. I've got the following rule in my .htaccess file: RewriteEngine on RewriteRule old1/old2 http://localhost/new1 [P] When I browse ...
0
votes
1answer
208 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
170 views

apache reverse proxy 404 image error

I have some error with my apache reverse proxy. Currently I am doing reverse proxy to 4 websites. 1.1.1.1/a 1.1.1.2/b 1.1.1.3/c 1.1.1.4/d I am having no problem when reverse proxy to a and b ...
1
vote
1answer
26 views

ProxyPass Not working (No errors)

I am attempting to forward one of my apache domains onto a different port (which is hosting an Nginx-backed rails app) In my http.conf for the particular virtual host I have: <VirtualHost ...
3
votes
1answer
45 views

Apache Reverse Proxy Unescapes URL

I am running Apache 2.2.15 as a reverse proxy in my DMZ. I have an application on the internal network that I make available on the Internet for staff to use by going through the reverse proxy. As ...
0
votes
0answers
37 views

Apache HTTPD accept requests different destination IP and HTTP Host header

We've built and brought up a new version of a web application. The legacy web application still exists and is still used by legacy clients. Now we want to migrate these old legacy clients to use the ...
1
vote
3answers
3k views

Jira access with AJP-Proxy

I want to configure the Jira-Access over AJP-Proxy. I 'm following this howto In the server.xml I activate the AJP: <Connector port="8089" redirectPort="8444" enableLookups="false" ...
0
votes
0answers
56 views

Creating 503 redirect using htaccess while using proxypass

I have an external server (a) that is performing a proxypass reverse to an internal server (b) IP here is my config in default-ssl <Location /> AllowOverride All ProxyPass ...
0
votes
1answer
76 views

Setup Cas authentication for Zabbix ui through mod_proxy

I try to implement setup a CAS authentication for Zabbix UI. So i configured Zabbix authentication to http-based authentication I have a first (and public) httpd server, i setup here mod_proxy, ...
0
votes
0answers
21 views

Apache: How I can redirect to one or other URL depending on the client IP address? [duplicate]

Scenario: The client A asks for (http or https) /xxxx/yyy -> Apache redirects to (http or https) /qqqq/yyyy The client B asks for (http or https) /xxxx/yyy -> Apache redirects to (http or https) ...
0
votes
2answers
101 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
2answers
1k views

Using Apache httpd to redirect context path?

I'd like to proxy http://localhost:1006/ as http://example.com/public/ to the outside world. Here is my configuration: RewriteEngine On # Append a slash if necessary RewriteRule ^/public$ public/ ...
-1
votes
1answer
28 views

Reverse proxy for 2 domain with same context path

I have 2 different domains my.domain1.com and my.domain2.com and both have context name /app1 and this should be routed to two different backend boxes. Problem here is my.domain1.com is running on ...
2
votes
2answers
4k views

Apache as proxy generates failure.

We are using apache proxy to enable our application servers to reach specific web sites over the internet. The setup is as follows: application servers --> apache proxy --> Internet website ...
2
votes
1answer
1k 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

How to Apache SSL proxy to openerp 7 running in VM?

I have installed openerp v7 in an ubuntu 12.04 Virtual machine from launchpad.i.e server, web, addons. I configured SSL reverse proxy on virtual machine and my configuration for virtual host *:443 ...
2
votes
0answers
30 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: ...
1
vote
0answers
93 views

Lighttpd and Discourse (Docker): configuring mod_proxy

I have trouble configuring Lighttpd to serve the various services hosted on my server. Lighttpd acts as a front, and I have several DNS records, each for a different subdomain, redirecting to the same ...
2
votes
1answer
189 views

Server returns http 504 error code for specific script

I have 3 servers all set up identically load balancing a single site with apache, mod_proxy_fcgi, php5-fpm and mysql/mariaDB galera cluster running on ubuntu 14.04 server. Everything seams to work ...
0
votes
0answers
13 views

Apache ProxyPass to Domain which Redirects

i have been struggling hard to make this working. if a user hit A.com on my local apache i want to silent proxy to B.com (ProxyPassReverse): ProxyPass / http : //B.com ProxyPassReverse / http : ...
0
votes
1answer
81 views

RabbitMQ behind Apache mod_proxy not resolving deep link

I have RabbitMQ running behind Apache mod_proxy so I can access the web management interface over port 80: <VirtualHost *:80> ServerName rabbit.example.com ProxyRequests Off ...
1
vote
2answers
285 views

Invisible Apache redirect

I would like subdomain.mydomain.com to invisibly redirect to https://[myServerIP]:2083. (There is an SSL issue here). So far I managed to do it, but the redirection is visible and I don't want it: ...
1
vote
1answer
69 views

Can't serve gollum wiki with Apache

EDIT: Finally I solved the problem and posted the solution below. I have a gollum wiki served by a sinatra server on a localhost port 4567. I want to make it accessible from outside world at ...
3
votes
1answer
2k 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" ...
1
vote
4answers
3k views

Password protect and serve Apache site by port number?

I'm trying to set-up a password protected development version of a clients web site (Plone CMS driven). The live site serves on port 7373, and is mapped to the public www port 80. The 'dev' site ...
-1
votes
1answer
110 views

Apache & mod_proxy - What's wrong?

I am limited to one external IP on my server thus to run a mail server alongside with other Apache instance for web hosting, I believe I am forced to use mod_proxy. I tried using mod_proxy in the ...
1
vote
1answer
55 views

Apache http + Jboss + mod_proxy or mod_proxy_html

I am developing a Java EE web app running on JBOSS. I want users to authenticate in my web app using their smartcard's X.509 authentication certificate yo access the web content. I have decided to ...