summaryrefslogtreecommitdiff
path: root/hearth/apache2
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2012-10-18 07:11:32 +0200
committerJonas <dr@jones.dk>2012-10-18 07:11:32 +0200
commite59ed1dabc2d40a46cbc1d9bafcdf34c564487af (patch)
tree9298191d4452804ab5fcfe20d6ddd6be056d5099 /hearth/apache2
parent9635c9ac0b2a0a9d86c55587c3b104b592251f89 (diff)
Add helloearth setup.
Diffstat (limited to 'hearth/apache2')
-rw-r--r--hearth/apache2/helloearth.jones.dk29
1 files changed, 29 insertions, 0 deletions
diff --git a/hearth/apache2/helloearth.jones.dk b/hearth/apache2/helloearth.jones.dk
new file mode 100644
index 0000000..ad0cac1
--- /dev/null
+++ b/hearth/apache2/helloearth.jones.dk
@@ -0,0 +1,29 @@
+<VirtualHost *:80>
+ ServerName helloearth.jones.dk
+ ServerAdmin webmaster@jones.dk
+ DocumentRoot /var/www/vhosts/hearth/helloearth.jones.dk
+
+ <Location />
+ Options +MultiViews
+ DirectoryIndex index
+ </Location>
+ AddLanguage da .da
+
+ SuexecUserGroup hearth hearth
+ ScriptAlias /ikiwiki.cgi /var/www/cgi-vhosts/hearth/helloearth.jones.dk/ikiwiki.cgi
+ ScriptAlias /test.cgi /var/www/cgi-vhosts/hearth/helloearth.jones.dk/dlr-clickatell.cgi
+ ScriptAlias /dlr/clickatell /var/www/cgi-vhosts/hearth/helloearth.jones.dk/dlr-clickatell.cgi
+ ScriptAlias /dlr/routo /var/www/cgi-vhosts/hearth/helloearth.jones.dk/dlr-routo.cgi
+
+ ErrorLog /var/log/apache2/helloearth.jones.dk-error.log
+ CustomLog /var/log/apache2/helloearth.jones.dk-access.log combined
+</VirtualHost>
+<VirtualHost *:80>
+ ServerName www.helloearth.jones.dk
+ ServerAlias *.helloearth.jones.dk
+
+ RewriteEngine On
+ RewriteRule / http://helloearth.jones.dk/ [R]
+
+ CustomLog /var/log/apache2/redirect.log vhost_combined
+</VirtualHost>