From 23c389b6a533858f75101c8bbbb2b07e66e9cc41 Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Thu, 31 Oct 2002 15:03:25 +0000
Subject: apache: Add some more example vhosts, and add mailman stuff to vhost
 mail.

---
 apache/vhosts.d/horde2 | 12 ++++++++++++
 apache/vhosts.d/mail   | 24 ++++++++++++++++++++----
 apache/vhosts.d/stats  | 26 ++++++++++++++++++++++++++
 apache/vhosts.d/wiki   | 12 ++++++++++++
 4 files changed, 70 insertions(+), 4 deletions(-)
 create mode 100644 apache/vhosts.d/horde2
 create mode 100644 apache/vhosts.d/stats
 create mode 100644 apache/vhosts.d/wiki

(limited to 'apache')

diff --git a/apache/vhosts.d/horde2 b/apache/vhosts.d/horde2
new file mode 100644
index 0000000..f776794
--- /dev/null
+++ b/apache/vhosts.d/horde2
@@ -0,0 +1,12 @@
+<VirtualHost *>
+	ServerName	horde.vega.dk
+	ServerAlias	horde
+	ServerAlias	homebase.horde.vega.dk
+	ServerAlias	louiz.horde.vega.dk
+	ServerAlias	lab.horde.vega.dk
+	ServerAlias	jones.horde.vega.dk
+	ServerAlias     vega.horde.vega.dk
+	ServerAdmin     webmaster@vega.dk
+	DocumentRoot    /usr/share/horde2
+	Include		/etc/horde2/apache.conf
+</VirtualHost>
diff --git a/apache/vhosts.d/mail b/apache/vhosts.d/mail
index 394e4ea..6a7e3bd 100644
--- a/apache/vhosts.d/mail
+++ b/apache/vhosts.d/mail
@@ -4,10 +4,26 @@
 	ServerAdmin	webmaster@107b.dk
 	DocumentRoot	/home/web/websites/mail.107b.dk
 
-Include /etc/horde/apache.conf
-Include /etc/imp/apache.conf
-Include /etc/squirrelmail/apache.conf
-
 Alias /postaci/ /var/www/postaci/
 
+	Alias		/lists/archive /var/lib/mailman/archives/public
+	ScriptAlias	/lists /usr/lib/mailman/cgi-bin
+	ScriptAlias	/mailman /usr/lib/mailman/cgi-bin
+	RewriteEngine	on
+	RewriteRule	^/lists(/)?$ /lists/listinfo [R]
+
+	<Directory />
+		Options FollowSymLinks
+		AllowOverride None
+	</Directory>
+
+	<Location /doc/mailman/images/>
+		order deny,allow
+		allow from all
+	</Location>
+
+	Include /etc/horde/apache.conf
+	Include /etc/imp/apache.conf
+	Include /etc/squirrelmail/apache.conf
+#	Include /etc/sympa/httpd.conf-cgi
 </VirtualHost>
diff --git a/apache/vhosts.d/stats b/apache/vhosts.d/stats
new file mode 100644
index 0000000..1d0db6b
--- /dev/null
+++ b/apache/vhosts.d/stats
@@ -0,0 +1,26 @@
+<VirtualHost *>
+	ServerName	stats.vega.dk
+	ServerAlias	stats
+	ServerAdmin	webmaster@vega.dk
+	DocumentRoot	/home/jonas/websites/stats.vega.dk
+	Alias		/awstats-icon /usr/share/awstats/icon
+
+	<Location />
+		Options +Indexes +MultiViews +ExecCGI
+		DirectoryIndex index
+		ServerSignature Email
+	</Location>
+
+#	<Location /www.ror.dk/>
+#		AuthUserFile /var/www/VIRTUAL/stats.jones.dk/www/COMMON/.htpasswd
+#		AuthGroupFile /dev/null
+#		AuthType Basic
+#		AuthName "Stats access"
+#		require user jonas rordk
+#	</Location>
+
+	<Location /doc/analog/images>
+		order allow,deny
+		allow from all
+	</Location>
+</VirtualHost>
diff --git a/apache/vhosts.d/wiki b/apache/vhosts.d/wiki
new file mode 100644
index 0000000..e4e026f
--- /dev/null
+++ b/apache/vhosts.d/wiki
@@ -0,0 +1,12 @@
+<VirtualHost *>
+	ServerName      wiki.vega.dk
+	ServerAlias	wiki
+	ServerAdmin     webmaster@vega.dk
+	DocumentRoot    /home/jonas/websites/wiki.vega.dk
+	user            jonas
+	group           jonas
+	Alias		/wiki/ /usr/share/moin/htdocs/
+	ScriptAlias	/moin /home/jonas/webscripts/wiki.vega.dk/moin.cgi
+	RewriteEngine	on
+	RewriteRule	^/$ /moin [R]
+</VirtualHost>
-- 
cgit v1.2.3