New file: main Apache installation uses this to proxy requests onto
authorMike Taylor <mike@indexdata.com>
Thu, 22 Mar 2007 11:44:51 +0000 (11:44 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 22 Mar 2007 11:44:51 +0000 (11:44 +0000)
a separate dedicated installation.

web/conf/apache1.3/newshawarma-proxy.conf [new file with mode: 0644]

diff --git a/web/conf/apache1.3/newshawarma-proxy.conf b/web/conf/apache1.3/newshawarma-proxy.conf
new file mode 100644 (file)
index 0000000..34ede26
--- /dev/null
@@ -0,0 +1,16 @@
+# $Id: newshawarma-proxy.conf,v 1.1 2007-03-22 11:44:51 mike Exp $
+#
+# A very simple configuration to proxy the IRSpy server to a separate
+# Apache instance running on the same host.  This separation is useful
+# to isolate IRSpy from other sites' errors and vice versa.
+
+LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
+<VirtualHost 83.133.64.64>
+    ServerName irspy.indexdata.com
+    ProxyPass         / http://irspy.indexdata.com:81/
+    ProxyPassReverse  / http://irspy.indexdata.com:81/
+
+    # These are the logs for the proxying operation
+    ErrorLog     /var/log/apache/irspy-error.log
+    CustomLog    /var/log/apache/irspy-access.log combined
+</VirtualHost>