Add alias targettest.indexdata.com
[irspy-moved-to-github.git] / web / conf / apache1.3 / newshawarma-proxy.conf
1 # $Id: newshawarma-proxy.conf,v 1.2 2007-05-01 16:34:00 mike Exp $
2 #
3 # A very simple configuration to proxy the IRSpy server to a separate
4 # Apache instance running on the same host.  This separation is useful
5 # to isolate IRSpy from other sites' errors and vice versa.
6
7 LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
8 <VirtualHost 83.133.64.64>
9     ServerName irspy.indexdata.com
10     ServerAlias targettest.indexdata.com
11     ProxyPass         / http://irspy.indexdata.com:81/
12     ProxyPassReverse  / http://irspy.indexdata.com:81/
13
14     # These are the logs for the proxying operation
15     ErrorLog     /var/log/apache/irspy-error.log
16     CustomLog    /var/log/apache/irspy-access.log combined
17 </VirtualHost>