1 # A very simple configuration to proxy the irspy
4 ServerName irspy.indexdata.com
5 ServerAlias irspy-dev.indexdata.com
7 # Remove the X-Forwarded-For header, as the proxy appends to it,
8 # and we need a clean ip address for the statistics
9 # RequestHeader unset X-Forwarded-For early
18 Deny from 50.19.170.116
20 Deny from 212.192.34.113
21 # added 25-06-2013 --malc
22 Deny from 173.208.168.14
26 ProxyPass / http://berwick:80/
27 ProxyPassReverse / http://berwick:80/
29 # These are the logs for the proxying operation
30 ErrorLog /var/log/apache2/irspy-error.log
31 CustomLog /var/log/apache2/irspy-access.log combined
34 # Redirect legacy URLs
36 ServerName targettest.indexdata.com
38 Redirect permanent / http://irspy.indexdata.com/
40 ErrorLog /var/log/apache2/irspy-legacy-error.log
41 CustomLog /var/log/apache2/irspy-legacy-access.log combined