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
1k views

Tomcat 7 with mod_jk

I am at cross roads in deciding whether to use mod_jk or mod_proxy for setting up a load balancing system with Apache 2 and Tomcat 7. I read the usual comparison that mod_jk is more powerful but ...
1
vote
1answer
1k views

Apache reverse proxy causing ~40 second delay on first access after idle

I have a simple Apache 2.2 reverse proxy setup on OSX with three virtual hosts all providing SSL and Open Directory authentication before forwarding everything to their respective back end servers. ...
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 ...
1
vote
4answers
506 views

httpd: how to dynamically delay request forwarding to proxy?

I have Apache httpd (2.2.22) configured as reverse proxy. There is a situation in which I need to take my web server (the receiver of the proxied requests) offline for a few milliseconds. During this ...
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 ...
0
votes
1answer
323 views

Apache2 mod_proxy modifies content-type for some reason

I am using a local proxy using apache2 to do some development work (OSX 10.8): SSLProxyEngine on ProxyPass /app https://my.server.org/app ProxyPass /web https://my.server.org/web Everything works ...
0
votes
0answers
150 views

apache ProxyPassReverse: redirect from http to https

I have a Tomcat instance proxied by Apache. I also use ProxyPassReverse to adjust tomcat redirects The problem comes when http request needs to be redirected to https, so I need something like ...
5
votes
5answers
7k 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
0answers
170 views

set up apache http server in windows as proxy to access another domain

I know this should be very basic and simple in theory, but I need to complete this task, I'm new to this and for some reason I can't find a suitable example that works for me. I am running apache 2.2 ...
0
votes
0answers
75 views

Apache ProxyPass to folder on separate server

I'm having a problem trying to do the following. We have a domain name, example.com, pointing to a server which hosts our brochure sites. I know I can redirect using apache mod_proxy to a different ...
2
votes
2answers
591 views

Can I get Apache 2.2 to set a particular response header if some other response header is missing

I have an Apache 2.2 server running mod_proxy. We had a scenario where a response came through from the origin corrupted, it didn't have any content-type or cache-control headers. This meant that ...
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 ...
1
vote
0answers
1k views

“ajp_read_header: ajp_ilink_receive failed”

We have Apache 2.2.24 in front of Tomcat 7.0.33. We're using AJP connectors with APR/native configured. I recently noticed a number of 500 errors in the Apache access logs for a small proportion ...
2
votes
3answers
129 views

Apache Proxying Setup

I have a scenario as below: I have a URL with DNS Entry, say http://example.com When the user enters http://example.com/portal, (s)he lands on Apache (2.2) Web Server (say AWS 1). There I have a ...
2
votes
1answer
630 views

How to turn on mod_cache with mod_proxy or mod_jk

I'm trying to setup apache+mod_jk/mod_proxy with mod_cache. But it looks like all proxied requests are ignored by mod_cache. May be it is related to module handling order or something else? Apache ...
0
votes
0answers
371 views

Lose some HTTP Headers contents when using mod_proxy

I lose some HTTP Headers contents when using mod_proxy on reverse proxy my internal tomcat server. Here is the environment of my server: Apache2.2.10-2.24.5 on SuSE Linux 11 SP 1 Tomcat 6.0 ...
1
vote
0answers
3k views

How to reverse proxy specific ports to a different server behind a firewall using Apache mod_proxy

I have two Web severs, one Apache 2 and the other IIS 8, and both are on a LAN behind a firewall. I have ports 80, 443, and 8080-8088 open on the firewall. I have an externally hosted DNS A record ...
0
votes
1answer
40 views

Apache website Subfolder served by another server, not on the same local network

I'm setting up 2 ubuntu servers in different locations, one blog, one forum. I was going to use a subdomain for the forum but decided instead to make it a subfolder, example.com/forum. Is there a way ...
0
votes
1answer
261 views

Mod_proxy preserve request protocol

I have an apache reverse proxy server with two balancer members - one for non-secure and one for secure. I want to 'reverse' the request to the machine inside the firewall using the original ...
4
votes
1answer
3k 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
1answer
164 views

How does mod_proxy determine which IP address to load from when there are multiple A records

So I have mod_proxy setup pointing at ProxyPass / http://www.mydomain.com/ ProxyPassReverse / http://www.mydomain.com/ and www.mydomain.com has 4 A records (ie DNS load balancing) will mod_proxy ...
2
votes
1answer
4k views

Use apache as a HTTPS to HTTP Proxy

I'm trying to configure Apache on Centos 6 to proxy and reverse proxy traffic to an http server of a third party provider. The setup should work like this: https://mydomain.com/proxy/ proxies all ...
0
votes
1answer
56 views

mod_proxy module in tomcat for development environment

I've a webapp deployed on tomcat server A, which is dependent on a couple of wars deployed on a different tomcat server B. I've a proxy web server (apache) which I've configured to redirect requests ...
0
votes
0answers
306 views

How to redirect public URL request to private internal URL?

I've got a staging environment in my local network, all websites or apps are accessed by prefixing the final domain, this happens because we've got a DNS resolver running locally. For example, ...
0
votes
1answer
160 views

ProxyPass with 2 cases

Having these two rules works good: ProxyPass / http://localhost:8080/app ProxyPassReverse / http://localhost:8080/app When client visits, domain.com, Apache calls app server and it works as ...
0
votes
1answer
309 views

Apache 2 reverse proxy to ssl local networked lamp app server - 95% working, except first page login redirection

Dived into the joys of using apache as a proxy. Awesome. There is a learning curve to deal with but the payoff is well worth it! I took the virtual host approach to benefit from having the same urls ...
0
votes
1answer
3k views

Using apache ProxyPass to forward URL on new site to old webserver

We are currently moving our site to a CMS, and in the process moving to a different server. There is some code on the older server that we do not want to move to the new server. We want the URLs to be ...
-1
votes
2answers
56 views

Apache 2- Forward all the request from a specific Domain to a different Server in the intranet

I have two servers: A (192.168.1.100:80) B (192.168.1.200:8080) Both are behind firewall and only port 80 is open and forwarded to server A. People from outside type www.mydomain.com to access my ...
1
vote
0answers
214 views

Apache mod_proxy + xinetd redirection to firewalled host + expecting JNLP back to client

My goal is fairly typical, so I am hoping that someone else may have implemented a similar setup before. External client Foo will be connecting to Bar, which is a server with an appropriate firewall ...
1
vote
2answers
2k views

Setting timeout for all the ProxyPass mappings in Apache Server mod_proxy directive

What I have and works: I'm using Apache HTTPD 2.2 for proxy requests. I have multiple ProxyPass mappings: ProxyRequests On <Proxy *> AddDefaultCharset off Order deny,allow Allow from ...
0
votes
1answer
737 views

Transparent redirect or proxy in Apache, preserving incoming request

When a user first hits our server, we want to capture some information about the incoming request: GET parameters, Referer header, &c. The general idea is that when we get an incoming request that ...
0
votes
1answer
80 views

See requests to real server with mod_proxy

My setup involves using apache with mod_cache and mod_proxy to proxy and cache xml data between my iOS app and a web service. Right now I'm using awstats to see how many requests my iOS app is making ...
0
votes
1answer
116 views

Apache 500 error, I dont fully understand the error log

I'm trying to connect a backend server(gitorious running in https) to my frontend apache2 server running on ubuntu server. I believe that I have the vhost file and proxy config setup right but it ...
2
votes
0answers
609 views

Apache 2.2: RewriteMap, ProxyPass interpolation and Keep-Alive

I have an Apache httpd used as a SSL reverse proxy frontend for a lot of backends. I compute the name of the backend from the path given by the user. e.g: https://myhostname.com/myaccount translates ...
1
vote
1answer
437 views

simple Apache2mod_proxy a backend server

Hello I'm trying to figure out mod_proxy in apache to access an backend web server on a virtual machine running Gitorious. I have looked at examples and tried them but I still can't figure it out. ...
0
votes
1answer
80 views

What is the easiest way to obtain a script-driven hot failover system?

I need to reconfigure a prod env to provide hot failover for a db driven web app written in Perl that is currently running on an Apache HTTPD server, on a Linux OS. The app is not designed to run in ...
2
votes
1answer
49 views

apache balancer, workers on internal IPs

I'm planning to build my first balancer for one of our website, using apaches mod_proxy and mod_proxy_balancer. Having not so many external IP's I'm thinking about to use each machines Internal IP ...
0
votes
2answers
2k 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
210 views

Unable to use Apache's mod_proxy to forward to a virtual machine

I would like to use mod_proxy to test a website I am building on a local virtual machine from my phone. My network looks like this: Host: IP 1: 10.10.10.2 IP 2: 10.211.55.2 OSX 10.8.2 / Apache 2.2.22 ...
1
vote
1answer
546 views

Apache2/glassfish|tomcat: Redirecting some (but not all) requests on 80 to glassfish on port 8080, where is the admin screen?

Using that answer: How to redirect traffic on port 80 to Tomcat port 8080 whilst still allowing the server to send/receive on port 80 I've configured my apache2 server to redirect some requests to ...
2
votes
0answers
1k views

Apache mod_proxy to ssl backend not working properly

I'm getting the following errors when trying to do a proxy to an SSL backend server: [Thu Jan 03 14:44:26 2013] [error] (502)Unknown error 502: proxy: pass request body failed to 192.168.1.10:8443 ...
1
vote
1answer
317 views

Apache2 mod_proxy with gitlab on different server

I am desperately trying to configure gitlabhq in multi tier set-up, I have one proxy server websrv01.kosare.perlur.cz where I run Apache2 with mod_proxy, and then I have multiple Web Applications ...
1
vote
1answer
742 views

Graphiti / Graphite using Apache with Proxy and BasicAuth requests auth for every URL / request

We have a server with apache set up as an authentication front end for a backend web service running on the same box. The setup seemed to work at first, but we soon realised that apache was asking ...
1
vote
1answer
497 views

Apache mod_auth and mod_proxy not working together

I am trying to set up apache as an authentication front end for a web backend running on port 8080. The backend has no authentication, so if you curl localhost:8080 you get the website. Port 8080 is ...
1
vote
0answers
444 views

apache proxyremote and http

ProxyRemote syntax is: <remote-server> = <protocol>://<hostname>[:port] So, I have to put protocol before hostname. But my proxy server is x.y.z.n:1234 (without http) And when I ...
0
votes
2answers
490 views

proxy pass domain FROM default apache port 80 TO nginx on another port

Im still learning server things so hope the title is descriptive enough. Basically i have sub.domain.com that i want to run on nginx at port 8090. I want to leave apache alone and have it catch all ...
1
vote
0answers
155 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
0
votes
1answer
93 views

Why do I have to do a setenforce 0 to cluster tomcat on Scientific Linux using mod_proxy

Why do I have to do a setenforce 0 to cluster tomcat on Scientific Linux using mod_proxy I am using Scientific Linux release 6.2 and trying to get mod_proxy working with httpd and tomcat. I want ...
1
vote
1answer
227 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 ...
1
vote
2answers
309 views

trying to use mod_proxy with httpd and tomcat

I been trying to use mod_proxy with httpd and tomcat... I have on VirtualBox running Scientific Linux which has httpd and tomcat 6 on it.. I made two nodes of tomcat6. I followed this guide like 10 ...