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

1
vote
0answers
221 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 ...
0
votes
0answers
34 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 : ...
1
vote
1answer
141 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 ...
1
vote
1answer
151 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 ...
0
votes
0answers
110 views

What does Nginx Proxy Filter in Fail2ban really do?

What does Nginx Proxy Filter in Fail2ban really do? I am currently setting up Fail2Ban for Nginx. Almost everywhere I've read, they all have included a setting for [nginx-proxy] proxy filter. From ...
-1
votes
1answer
158 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 ...
0
votes
1answer
271 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 ...
0
votes
1answer
123 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
151 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
118 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
392 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
790 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
136 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
107 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
51 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
1k 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 ...
2
votes
1answer
2k 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
85 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
278 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
85 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 ...
1
vote
0answers
142 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
695 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
159 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
219 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
41 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
3k 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
149 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
275 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
73 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 ...
3
votes
1answer
3k 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
437 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
434 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
224 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
536 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
295 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
87 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
938 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
107 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
680 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
216 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
438 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
347 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
3k 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
459 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
752 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
304 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
98 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 ...