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

Proxy Exchange Server using mod_proxy

I'm having a problem getting my Exchange Server to work with mod_proxy. This is my current VirtualHost config: <VirtualHost *:80> ServerName mail.example.com ServerAlias www.mail.example.com ...
0
votes
0answers
138 views

Synology behind a proxy responding only with the https port connection

I have a debian vps that act as proxy with the apache2 mod_proxy to pass wan's requests to 3 local different vps systems and 1 synology nas. All works except the synology nas, that have open the ...
1
vote
0answers
100 views

Apache mod_proxy cuts off URLs at spaces

I have the following proxy rule on www.example.com/.htaccess RewriteEngine On RewriteRule ^(.*)$ http://www2.example.com/$1 [P] Requests for ...
2
votes
1answer
331 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
1answer
633 views

Apache mod_proxy_balancer health checking

I have 3 Apache web servers set up behind another Apache server running mod_proxy_balancer. During today, one of the web servers got rebooted. It took about 16 minutes to reboot. During that time, I ...
0
votes
0answers
116 views

Apache running out of memory with large amounts of ProxyPass entries

I'm experiencing the following problem: We use Apache as a reverse proxy in from of about 5000 different web servers thus we have 5000 ProxyPass and ProxyPassReverse directives in our configuration. ...
0
votes
0answers
92 views

How to set up an Apache ssl proxy for multiple sites using mod_rewrite or proxypass

(I asked this at stack overflow but no one even commented ;( perhaps it's better suited here I hope?) Some background: I wish to access some https sites on a separate VLAN to what my laptop is via a ...
0
votes
0answers
48 views

Move query string to path in proxy - Apache

I am setting up Apache to proxy files from Amazon S3. The initial urls have query strings, but query strings can't be passed to S3, so they are stored as paths with question marks in them (which then ...
1
vote
1answer
901 views

Apache load balancer didn't failover to hot spares

Found that our Apache load balancer didn't failover to the hot spares when the primary server's application was responding with a 500 error. This is how we had the proxy setup <Proxy ...
1
vote
1answer
1k views

Gunicorn behind apache link to localhost

I have a gunicorn serving a flask application behind Apache using mod_proxy. Gunicorn is on http://localhost:8080/. Let's say my server is on http://example.com/ Sometimes when I post an invalid ...
1
vote
0answers
77 views

Apache2 HTMLURLMap messes with AJAX requests

I need to proxy a web application from oldname.my.net to newname.my.net For that I use apache with the proxy module like this # PROXY TO INTERNAL SERVER ProxyPreserveHost On RequestHeader ...
0
votes
0answers
264 views

How do I only allow certain IP addresses into apache, and then require a password for a subset of that list?

How do I only allow certain IP addresses into apache, and then require a password for a subset of that list? (I'm also open to doing this all within Proxy or Location directive) My setup is an ...
0
votes
1answer
84 views

Apache mod_proxy

Uggh, I'm spewing that I can't figure this out, I'm so frustrated: <VirtualHost *:80> servername domain1.com.au ServerAdmin webmaster@localhost DocumentRoot ...
0
votes
0answers
116 views

Unable to do “big” POST request with Apache2 and ProxyPass

I have an apache2 server, configured with proxypass to access a servlet which runs under Jetty. Now I have a problem with large POST request (600KB). The configuration is as follows: <Location ...
1
vote
1answer
652 views

Apache 2.4/PHP-FPM ProxyPassMatch and access restriction

I've got Apache/PHP setup exactly like this: https://wiki.apache.org/httpd/PHP-FPM It includes the ProxyPassMatch rule as mentioned: ProxyPassMatch ^/(.*\.php)$ ...
0
votes
1answer
127 views

Proxy to sites that expect to be at root URL?

I have ActiveMQ and Accumulo running which each have their own web console. I'd like to put apache httpd in front of them. I setup mod_proxy and added the following to /etc/httpd/conf.d/proxy.conf ...
0
votes
2answers
208 views

FreeBSD Apache 2.4 rewrite/proxy module errors

Just set up a FreeBSD jail to run httpd in it and all works good except these two, rewrite/proxy modules. These are error logs excerpts: mod_rewrite error: [rewrite:crit] [pid 43447] ...
0
votes
1answer
37 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 ...
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 ...
2
votes
1answer
137 views

Apache: Difference between <Proxy> and ProxyPass

What is the difference between a ProxyPass directive: ProxyPass / http://localhost:8080/ nocanon ProxyPassReverse / http://localhost:8080/ And a <Proxy> directive: <Proxy ...
1
vote
1answer
233 views

Apache: Add a prefix to all URLs in a virtualhost

In one of my machines I have an internal server which listens at port 8090. I am using a virtualhost in Apache to proxy the internal server using a URL like servera.mydomain.com: <VirtualHost ...
0
votes
0answers
68 views

Can you do a masked URL rewrite to a different protocol (in Apache)

Apache 2.2.15; I want to do: RewriteCond %{HTTP_HOST} site1.com RewriteRule (.*) https://site2.com [R=301,P,L] But that does not work. I put the P in there thinking it might allow the mod_proxy ...
2
votes
1answer
2k 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 ...
0
votes
1answer
375 views

apache2 reverse proxy 404 error

I have set up an apache2 server. I am trying to enable a site to reverse proxy in which I will redirect /registry to :5000. I have apache2 up and running and am able to reach the default page () but ...
0
votes
1answer
397 views

Using Apache as a proxy with chunked encoding and digest authentication

I'm experiencing a strange problem. I'm using Apache as a proxy and submitting data using chunked encoding. The issue that when I try to use digest authentication in this configuration the proxy just ...
2
votes
1answer
204 views

disable auth digest for reverse proxy

I have digest auth set up on one of my domains but I would like to disable it for a reverse proxy. <VirtualHost *:80> ServerName example.org DocumentRoot /var/www/ <Directory ...
3
votes
2answers
486 views

YouTrack on Tomcat 7 using SSL

I have a running YouTrack instance deployed using Tomcat 7 and it works fine on http://example.com:8080/youtrack Apache is already configured to support SSL for the main domain (I have .pem file). ...
-1
votes
1answer
274 views

Make Node.js app port not accessible on other domains [closed]

I have a server with Parallels Plesk as Server Control Panel, apache2 (with mod_proxy and mod_http_proxy), nginx and Node.js installed. On this server I have multiple domains and subdomains, but only ...
0
votes
0answers
77 views

Linux Virtual Server or Mod_Proxy to get Sticky clients?

I am researching the loadbalancing subject and have tested two solutions: LVS (linux virtual server) with ipvsadm, ldirectord apache with mod_proxy Both solutions offer a way to "stick" a client ...
0
votes
1answer
795 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 ...
0
votes
0answers
104 views

Changing the current URL but serving content from another (same domain) - ProxyPass?

I've been banging my head against the wall with this for months now so I hope someone on here will be able to finally advise what is needed for this. I have some URL's like this:- ...
0
votes
0answers
103 views

Rewrite rule Mod_Proxy truncate file name

I search online for the solution, but nothing :(. I write this simple rule RewriteRule ^(.*)$ http://www.mysite.com/$1 [P,NE,QSA,L] In mysite.it i have an .htaccess with this rule and it's ok, but ...
0
votes
1answer
591 views

route port 3000 to apache2 alias

I have a meteor application running on port 3000. I can successfully connect to the program with www.myurl.com:3000, but would rather connect to it via www.myurl.com/myappname. I started with the ...
0
votes
2answers
200 views

rails app (via apache proxy) images from uploads directory missing

I am running Gitlab reverse-proxied through an Apache 2.2 server for my work group. Recently, we wanted to upload some group logos to use as project Avatars. The uploads all completed successfully ...
-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 ...
1
vote
1answer
1k views

How can I troubleshoot an Apache Server reverse proxy dropped connection?

We are suddenly seeing an intermittent, but very frequent, error while POSTing files to a Tomcat servlet over https via an Apache Server reverse proxy. The error only seems to occur while POSTing ...
1
vote
0answers
428 views

Apache Reverse Proxy Java Application Server CLOSE_WAIT Connections

I've got Apache setup as a reverse proxy for a Java Application server (GlassFish) and I noticed there are about 100 connections in the state CLOSE_WAIT even on an idle development system: sudo ...
0
votes
1answer
290 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
2answers
3k views

How to pass arguments through ProxyPass in Apache

What I'm trying to do and I've got stuck is: I've got apache server that will catch certain url's and for some of them, he will use ProxyPass (or mod_rewrite) to pass something as reverse proxy to ...
2
votes
1answer
2k views

Using ProxyPassMatch for FastCGI, results in connection refused on port 9000

I'm not certain if this is a php, apache, or iptables configuration issue but I receive the following error when trying to access a .php file. Please let me know if you need more information to help ...
0
votes
1answer
423 views

Apache 2.4 Proxy Connect - connection reset

I have a working setup with apache 2.2 server acting as a remote proxy. I'm using proxytunnel with two chained proxies: proxytunnel -q -X -p localproxy:8080 -r remoteproxy:443 -d destination:22 I had ...
0
votes
1answer
736 views

Dynamicly reverse proxy a subfolder to subdomain in Apache

I would like to dynamically proxy sub folders to sub domains on another host. For example, I have the following reverse proxy setup for a single sub folder to sub domain: ProxyRequests Off ...
1
vote
0answers
291 views

Apache mod_proxy not closing back-end sockets fast enough

I'm using Apache + mod_proxy for providing a chat application with Ejabberd. It's using Bosh (XMPP over HTTP). The issue is when a user closes its browser, Apache keeps the connection open with the ...
0
votes
1answer
89 views

How to access one background server (Webcit) from another server (Apache) within private network?

I try to access a running Webcit (needed by Citadel mailserver) by Apache's ProxyPass directive. This should only be possible within a private network while using port 2000. My ideas is to deny from ...
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 ...
0
votes
1answer
284 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 ...
1
vote
2answers
4k views

In Apache how to define multiple ProxyPass to different servers with the same context-root?

I have a requirement for my webapp to proxy to 2 external reporting servers. So I will have a menu-item for each external reporting server. But the browser-URL has too look like it's my server so I ...
0
votes
1answer
548 views

apache2 reverse proxy broken after modsecurity is installed ubuntu on 12.04.1

this is the first time I have run into issue like this one. I have a java application setting behind a apache2 using mod_ajp on 8009. I have noticed that I could not get the client's IP so I have ...
-1
votes
1answer
179 views

Reverse proxy without URL Rewriting

I have been asked to setup a reverse proxy but one of the requirements is that no URL Rewriting be performed. I'm trying to wrap my head around this since to me it seems that without rewriting the ...
0
votes
1answer
1k views

Apache: proxy an internal URL using regex

I have a few servlets listening on internal ports which are not accessible from outside. I use Apache's ProxyPass and ProxyPassReverse directives to serve them securely from port 443: ProxyPass ...