New file: main Apache installation uses this to proxy requests onto
[irspy-moved-to-github.git] / web / conf / apache1.3 / newshawarma-proxy.conf
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>