b4458bebbe5e4a97cf04520f70749da8eda22cd5
[toast/tdyndns.git] / doc / apache2.txt
1 # Add a virtual host similar than that:
2 # (e.g. in /etc/apache2/sites-available/example.com.conf)
3
4 <VirtualHost *:80>
5   SSLEngine Off
6   ServerName dyndns.example.com
7   ServerAdmin webmaster@example.com
8   DocumentRoot /var/www/dyndns
9   DirectoryIndex dyndns.py
10   ErrorLog /var/log/apache2/error.log
11   CustomLog /var/log/apache2/access.log combined
12   <Directory /var/www/dyndns>
13       SetHandler cgi-script
14       Options ExecCGI FollowSymLinks
15   </Directory>
16 </VirtualHost>
17