projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ac49a
)
Add Apache2 proxy configuration for mkws and somesite.
author
Mike Taylor
<mike@indexdata.com>
Wed, 19 Jun 2013 16:09:30 +0000
(17:09 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 19 Jun 2013 16:09:30 +0000
(17:09 +0100)
etc/apache2/spclient-proxy
[new file with mode: 0644]
patch
|
blob
diff --git a/etc/apache2/spclient-proxy
b/etc/apache2/spclient-proxy
new file mode 100644
(file)
index 0000000..
eab9a02
--- /dev/null
+++ b/
etc/apache2/spclient-proxy
@@ -0,0
+1,20
@@
+<VirtualHost *:80>
+ ServerName mkws.indexdata.com
+ ServerAlias somesite.indexdata.com
+
+ ProxyRequests off
+ ProxyVia On
+ ProxyPreserveHost On
+ <Proxy *>
+ Order deny,allow
+ Allow from all
+ </Proxy>
+
+ ProxyPass / http://diane:80/
+ ProxyPassReverse / http://diane:80/
+
+ # These are the logs for the proxying operation
+ ErrorLog /var/log/apache2/mkws-proxy-error.log
+ CustomLog /var/log/apache2/mkws-proxy-access.log combined
+</VirtualHost>
+