0
votes
0answers
54 views

When trying to ProxyPass with SSL on Virtual Host (Apache2) I receive AH01630: client denied by server configuration: /var/www/

To give a little background; I am on EC2. I am running Apache2 version 2.4.7. I have also opened port 443 on my security group to allow SSL traffic. What I am trying to do in the long run is have a ...
0
votes
1answer
244 views

Is there a syntax error or other error in this Apache site configuration?

I have a Django Gunicorn server running on an Ubuntu VPS at 0.0.0.0:8000, and while there are some problems with it, it appears to be accepting localhost connections. I have the following in my ...
1
vote
0answers
71 views

Apache ProxyPass to custom port

The problem is following: I have an index.html file that is located under /www/site/ and I want to be able to serve all appropriate content from that folder under custom port lets say :8085. It is ...
2
votes
1answer
139 views

Setting up custom error pages for nginx with https and virtual hosts

We have an nginx (OpenResty 1.4.2.7) instance acting as a load balancer. It has two server directives, one to serve one specific site (let's call it www.our-special-host.com) and one wildcard for ...
1
vote
2answers
544 views

Apache reverse proxy for Cloud9 using ServerName

I am trying to setup a reverse proxy to a Cloud9 instance running locally on my server using Apache. I have the following setup: <VirtualHost *:80> ProxyPreserveHost On ProxyPass / ...
1
vote
0answers
122 views

reverse proxy on apache for a single virtual host

Preamble: I've configured a publicly accessible server with multiple virtual hosts. The requests for one virtual host need to be sent to a backend server. All the other requests need to be served ...
0
votes
1answer
38 views

Apache: Forward to another port only for one website

I did install GitLab on my Apache server using this script https://github.com/gitlabhq/gitlabhq/issues/3626 and I configured Apache to forward everything incoming on port 8080 to port 3000 like this: ...
0
votes
1answer
122 views

apache client cert conditionally

seems to me very strange I couldn't find information neither questions but I'm in the situation of serving some sites over an apache reverse proxy. I have to switch all the traffic (also lan) over ...
0
votes
1answer
135 views

Apache2 VirtualDocumentRoot and Proxy

I use a very simple /etc/apache2/sites-enabled/000-default configuration like <VirtualHost 117.121.241.184> UseCanonicalName Off VirtualDocumentRoot /srv/www/%0 Options All ExecCGI LogFormat ...
1
vote
1answer
3k views

apache2 reverse proxy 2 virtual hosts & ssl

I have 2 servers: app1.example.biz & app2.example.biz I need to do the following using apache2 as a reverse proxy redirect all traffic coming from internet to the appropriate server & use ...
2
votes
2answers
3k views

Displaying custom error pages on different VirtualHosts in Apache

I have a reverse proxy Apache that is moving the request to a Tomcat servlet. The configuration on the Virtual Host in Apache is: <VirtualHost 10.10.10.10:80> ProxyPass /Site1/ServLet1 ...
1
vote
1answer
628 views

Varnish doesn't work with Apache Virtualhosts

I've setup Varnish as a reverse proxy on port 80 before Apache 2.2.22 + VirtualHosts on port 81. When I enter my websites from port 81 it's all ok, then when I try to enter from port 80 I got Apache2 ...
2
votes
1answer
1k views

How can I protect a Tomcat webapp that's reverse proxied in an Apache2 virtual host using basic authentication?

I'm having trouble figuring out how to adding basic HTTP authentication to password-protect a development testing environment running on a production web server. Both the main site and the testing ...
0
votes
1answer
1k views

Redirecting a folder in a VirtualHost with Apache2

I've set up Apache2 on a small home server and I'm trying to get Transmission running through it. I've got it working just fine, but I'm having an issue where the redirect I've set up for the ...
1
vote
1answer
316 views

Set Timeout for a specific host in an Apache HTTPS reverse-proxy, single VirtualHost, many real hosts configuration

I'm running Apache as an HTTPS reverse proxy, with many real hosts proxied through a single VirtualHost (single public IP, wildcard certificate), using mod_rewrite and mod_proxy. Basically, something ...
1
vote
1answer
2k views

Apache: Reverse proxy the whole domain

I asked the same question a while ago, but I guess I didn't put my question right. I'm trying to reverse proxy one whole virtual host domain to a subdirectory of another virtual host, something like ...
0
votes
1answer
739 views

Apache Virtual Host redirect to other server

This is the situation: Server A hosts "http://internal.intranet" Server B hosts the internal application on "http://servernameb.intranet/foo/bar" Server A needs to redirect all incoming http trafic ...
5
votes
2answers
5k views

Apache virtual hosts and reverse proxy

I have many virtual hosts whose domain names map to a single Apache server (let's call it server1). Under certain circumstances, all URLs for a certain virtual host should be served by a different ...