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

Can I set a content type if the origin doesn't send one in mod_proxy?

I have a misbehaving origin that when it has an error page it is not setting a content-type header. This is then a problem as we're sitting behind Edgecast and they default to ...
0
votes
2answers
207 views

Glassfish3 Apache mod_proxy_ajp and missing headers

I got Apache 2.2.22 with mod_proxy and mod_proxy_ajp. Here is my configuration of mod_proxy: ProxyRequests Off ProxyPreserveHost On ProxyErrorOverride On ProxyPass / ...
0
votes
1answer
2k views

Apache Request Header Read Timeout (Reverse Proxy)

I keep seeing this in my apache 2.2.22 (Ubuntu) log files and don't know why it is occurring or how to fix it [debug] ssl_engine_kernel.c(1884): OpenSSL: Write: SSL negotiation finished successfully ...
0
votes
1answer
120 views

Are there security concerns when using Apache's mod_proxy as a gateway?

In order to cope with same-origins policy for AJAX calls I want to allow for mod_rewrite and mod_proxy to handle these calls in a similar way as described in another answer: rewriteEngine on ...
0
votes
1answer
74 views

Apache reverse proxy logic based on arbitrary header

I have apache running on a natting fw, that authenticates, reverse proxies, and provides an ssl wrapper for 2 webapps on the back end. This works with virtual hosting and proxies back based on the ...
0
votes
0answers
107 views

mod_proxy when no file exists for request

I have a lighttpd server where static files will be generated by a NodeJS process. The Node server will be running express on port 3000 (same computer). I would like lighttpd to serve the static ...
0
votes
2answers
60 views

Apache Proxy to show another Website

I need to proxy the URL http://de.domain.com/article1/foobar/ to http://de.foobar.domain.com/article1/. How can I do this within getting and setting the subdomain language part? Examples: ...
0
votes
1answer
504 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
1answer
47 views

Apache mod_proxy with hostname

I need to proxy the URL http://de.domain.com/article1/foobar/ to http://de.foobar.domain.com/article1/. I already have this config. ProxyPassMatch ^/([a-zA-Z0-9]+)/foobar/$ ...
1
vote
1answer
548 views

Trouble configuring apache server to proxy an SSL connection

I'm running an application on Tomcat7 with Apache Portable Runtime, I bought an SSL certificate and configured it correctly - when I try to connect through the ip:port combination, it connects fine ...
0
votes
1answer
61 views

Rewriting domain part in a reverse proxy - mod_proxy

I have a couple of internal websites that I want to make them available to the Internet with new domain names. I'm thinking of a reverse proxy frontend and I need it to direct all requests like so: ...
0
votes
1answer
2k views

nginx reverse proxy, ssl offloading, caching and pagespeed all in one.

We currently host everything on windows IIS 7 servers. We just moved to Azure, and like many clouds hosting windows is more expensive than hosting linux. Azure has its own limitations for virtual ...
0
votes
0answers
47 views

Handling user state across servers

I have two servers running Apache for the same domain name. Server A runs most of the web site (www.domain.com), except for one sub-directory (www.domain.com/photos/) that is set up as an HTTP proxy ...
0
votes
2answers
964 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
vote
1answer
209 views

Apache as a proxy fowarder to dynamic IP

I've looking aroung the web, but I can't figure out how to do what I'm looking for. So what I'm looking for is a proxy on which will foward the HTTP query based on the IP address I've put in the url ...
3
votes
1answer
60 views

Secure Apache when using mod_proxy_http and mod_rewrite

We have an Apache server that works as a proxy for apps running on different ports. For example: domain.com/app1/service1 > localhost:101 domain.com/app1/service2 > localhost:102 ...
2
votes
1answer
533 views

Apache as a proxy for Nexus, Jenkins and Foreman (Several VirtualHosts on same domain, IP and Port)

I'd like to configure Apache to be used as a proxy for Nexus, Jenkins and Foreman which are installed and running on the same server. Here is an example of the Virtual host config file for Foreman, ...
0
votes
1answer
462 views

Apache proxy configuration in which a subpath is a proxy for a different port

I wish to have the following happen: http://www.example.com/wiki be a proxy for http://www.example.com:8090/ http://www.example.com/ be a proxy for http://www.example.com:8080/ I have the ...
2
votes
1answer
363 views

Is it possible for a reverse proxy to make its request to another proxy and rewrite the urls in the response content?

I'm currently looking into reverse proxies and don't have a specific one in mind yet. I am trying to forward my requests from a reverse proxy through another proxy on the web with authentication. The ...
1
vote
1answer
2k views

Apache server : Reverse proxy and websockets via mod_proxy_wstunnel

I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel. The httpd.conf : <VirtualHost ...
0
votes
1answer
182 views

mod rewrite on apache on virtualhost to point to jboss

I set my apache server with ajp to connect to my jboss server and it is working fine. But when I go to my domain http://mydomain.com, I see the jboss root page. I was wondering if I could use mod ...
1
vote
1answer
255 views

Why are http headers not set when I use proxypass on apache2.2

I have an apache2.2 server with mod_proxy and mod_headers installed. On a request running with a ProxyPass directive, none of the Header set directives work, ie the header's aren't set in the ...
0
votes
1answer
247 views

Apache httpd.conf redirection. How to “balance” app

This is probably a simple problem but I just can't seem to solve it! I have a website running 2 Apache Tomcats on different ports (e.g. 8080, 8085). However since my customers cannot access specific ...
0
votes
2answers
2k views

How to Exclude an URL for Apache Mod_proxy?

We have two Apache server as front-end and 4 tomcat server as back-end configured using mod_proxy module as load balancer. Now, we want to exclude an single tomcat url from the mod_proxy load ...
1
vote
0answers
43 views

Proxy requests using Apache transparently

I am using Apache to forward an URL to another URL using mod_proxy transparently. To illustrate what I am doing, this is my Apache configuration file: <VirtualHost *:80> ServerName ...
0
votes
1answer
536 views

apache module to perform search and replace operations on response bodies?

I am trying to do search and replace operation on response bodies using a transparent apache reverse proxy configuration, the below config using "mod_substitute" and "mod_proxy" works as expected : ...
0
votes
1answer
73 views

Apache rewrite rule (mod_proxy or mod_rewrite)

I need to rewrite a incoming request for a particular file. The file will have a suffix of .rtfx and I need to remove the host (http://www.host.com/) and replace it with another. Request *.rtfx file ...
3
votes
0answers
186 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
1k 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
4k views

How to pass a request from one apache server to another

I have two Apache Servers with mod_proxy enabled. I want to know how to "pass the request" from "Apache Server A" to "Apache Server B" using the same port (80). In "server A" with internal ip: ...
0
votes
1answer
941 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 ...
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 ...
0
votes
1answer
664 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
698 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 ...
3
votes
1answer
662 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
157 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 ...
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
944 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
466 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
982 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
299 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
144 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 ...
4
votes
5answers
6k 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
147 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
65 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
537 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
119 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 ...