From 23c389b6a533858f75101c8bbbb2b07e66e9cc41 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard 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 @@ + + 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 + 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] + + + Options FollowSymLinks + AllowOverride None + + + + order deny,allow + allow from all + + + Include /etc/horde/apache.conf + Include /etc/imp/apache.conf + Include /etc/squirrelmail/apache.conf +# Include /etc/sympa/httpd.conf-cgi 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 @@ + + ServerName stats.vega.dk + ServerAlias stats + ServerAdmin webmaster@vega.dk + DocumentRoot /home/jonas/websites/stats.vega.dk + Alias /awstats-icon /usr/share/awstats/icon + + + Options +Indexes +MultiViews +ExecCGI + DirectoryIndex index + ServerSignature Email + + +# +# AuthUserFile /var/www/VIRTUAL/stats.jones.dk/www/COMMON/.htpasswd +# AuthGroupFile /dev/null +# AuthType Basic +# AuthName "Stats access" +# require user jonas rordk +# + + + order allow,deny + allow from all + + 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 @@ + + 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] + -- cgit v1.2.3