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
0answers
138 views

Reloading php-fpm and apache without interrupting current requests/scripts

I got Apache 2.4 with mod_proxy_fastcgi, PHP 5.4 with PHP-fpm installed and i've separated every site with a pool. I got a page that posts info to a php application that runs a script on the ...
2
votes
1answer
521 views

mod_proxy proxy and redirect to specific path

Today I have two Apache Servers, Server A (192.168.0.5), Server B (192.168.0.10), both running at the same 80 port. The actual request is from server a and the with my configuration it pass to server ...
1
vote
1answer
2k views

How to pass the request from one apache server to another

I have two Apache Servers with mod_proxy enabled. What I want to know is how can I "pass the request" from Apache Server A" to "Apache Server B" using the same 80 port. In my "server A" with ...
0
votes
1answer
493 views

Apache proxy, ProxyPreserveHost On , keep looping

i have two domain Domain A : www.fakedomain.com , this is the domain in the client, the idea is just proxy to mainblog when the url is http://www.fakedomain.com/blog Domain B : www.mainblog.com ...
1
vote
1answer
2k 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 ...
0
votes
1answer
290 views

Add a request header on mod_proxy based on the value of another request header

I have a server running mod_proxy and I need to essentially rename a request header. A proxy closer to the origin is stripping off the X-Forwarded-For header, but we need that data to persist, so I ...
0
votes
1answer
459 views

Apache ProxyPass Virtual host

I'm trying to do a similar setup to the one discussed in this older thread. I've enabled the proxy_module, proxy_connect_module, proxy_http_module, and rewrite_module. It worked, but now when I go ...
2
votes
1answer
363 views

Mongrel over mod_proxy unacceptably slow

Here is the situation C:\>ab -n 100 -c 5 http://webserver/track/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, ...
0
votes
0answers
111 views

Apache rewrite rules fails when in heavy load (possibly)

We have a page made with STRUTS, JQUERY, etc. in a JBOSS 7. We created a layer with Apache 2.4.2 that connects to that JBOSS 7. We use some re-write rules with the context of the JBOSS, lets call it ...
1
vote
2answers
514 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
491 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. ...
1
vote
1answer
1k 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
337 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 ...
1
vote
1answer
665 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
141 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
120 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 ...
3
votes
5answers
4k 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
85 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
44 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
414 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
1k 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
804 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
96 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
348 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
202 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
2k 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
38 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
185 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 ...
2
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" ...
0
votes
1answer
116 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
1k 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
52 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
189 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
142 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
241 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
2k 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
53 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
143 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
945 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
456 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
64 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
98 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
427 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 ...
0
votes
0answers
474 views

Apache 2.2 Proxy pass 503 errors - redirect/rewrite/proxy local path to another URL

I've been struggling with this for a while, but please forgive my ignorance, I'm fairly new to Apache 2.2 configuration.... Basically I am trying to somehow get a local path to forward/rewrite/proxy ...
0
votes
1answer
303 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
72 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
46 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
648 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
152 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
435 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 ...