/etc/apache2/sites-available/rtpg.apache.conf is in rtpg-www 0.2.11-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | # This record exists in /etc/apache2/ports.conf by default (Debian system):
# NameVirtualHost *:80
<VirtualHost *:80>
ServerName rtpg
DocumentRoot /usr/share/rtpg-www/htdocs/
# Path to RTPG config. If not set then used by system default.
SetEnv RTPG_CONFIG /etc/rtpg/rtpg.conf
# Alias for "direct_link" option in rtpg.conf. If set, all completed files
# are accessible by "http://<ServerName>/complete" address.
# Alias /complete /mnt/torrent/complete
AddHandler cgi-script .cgi
<Directory /usr/share/rtpg-www/htdocs/>
DirectoryIndex index.cgi
Options FollowSymLinks ExecCGI
AddDefaultCharSet utf-8
AllowOverride All
# By default access only from localhost
Order deny,allow
allow from 127.0.0.1
deny from all
</Directory>
</VirtualHost>
# Use direct connection instead of XMLRPC over apache
#
# <VirtualHost *:80>
# ServerName rtpg-scgi.localhost
# SCGIMount /RPC2 127.0.0.1:5000
#
# <Location /RPC2>
# Order deny,allow
# allow from 127.0.0.1
# deny from all
# </Location>
# </VirtualHost>
|