]> ToastFreeware Gitweb - toast/tdyndns.git/blobdiff - doc/apache2.txt
Added documentation
[toast/tdyndns.git] / doc / apache2.txt
diff --git a/doc/apache2.txt b/doc/apache2.txt
new file mode 100644 (file)
index 0000000..b4458be
--- /dev/null
@@ -0,0 +1,17 @@
+# Add a virtual host similar than that:
+# (e.g. in /etc/apache2/sites-available/example.com.conf)
+
+<VirtualHost *:80>
+  SSLEngine Off
+  ServerName dyndns.example.com
+  ServerAdmin webmaster@example.com
+  DocumentRoot /var/www/dyndns
+  DirectoryIndex dyndns.py
+  ErrorLog /var/log/apache2/error.log
+  CustomLog /var/log/apache2/access.log combined
+  <Directory /var/www/dyndns>
+      SetHandler cgi-script
+      Options ExecCGI FollowSymLinks
+  </Directory>
+</VirtualHost>
+