summaryrefslogtreecommitdiff
path: root/apache/vhosts.d
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-10-31 15:03:25 +0000
committerJonas Smedegaard <dr@jones.dk>2002-10-31 15:03:25 +0000
commit23c389b6a533858f75101c8bbbb2b07e66e9cc41 (patch)
tree76076a682201742baa70153422fb9c303167e904 /apache/vhosts.d
parentf7b5970c667b05831dc8c4b2eb04cd59206bbaa4 (diff)
apache: Add some more example vhosts, and add mailman stuff to vhost mail.
Diffstat (limited to 'apache/vhosts.d')
-rw-r--r--apache/vhosts.d/horde212
-rw-r--r--apache/vhosts.d/mail24
-rw-r--r--apache/vhosts.d/stats26
-rw-r--r--apache/vhosts.d/wiki12
4 files changed, 70 insertions, 4 deletions
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>