source: trunk/website/mondorescue.org.conf @ 448

Last change on this file since 448 was 448, checked in by bcornec, 13 years ago

merge -r435:447 $SVN_M/branches/stable

File size: 2.1 KB
Line 
1#
2# Apache Virtual Host Configuration File
3#
4NameVirtualHost *
5
6<VirtualHost *>
7    ServerName www.mondorescue.org
8    #ServerAlias mondorescue.org
9    ServerAdmin webmaster@mondorescue.org
10    DocumentRoot /mondo/www/html/mondo
11    CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
12    Errorlog /var/log/httpd/www.mondorescue.org/error_log
13    RewriteEngine On
14    RewriteRule     ^/index\.html$  /index.shtml
15    RewriteRule     ^/$  /index.shtml
16    <Directory "/mondo/www/html/mondo">
17    DirectoryIndex index.shtml
18        Options -Indexes MultiViews FollowSymLinks +Includes
19        AllowOverride None
20        Order allow,deny
21        Allow from all
22    </Directory>
23</VirtualHost>
24
25<VirtualHost *>
26    ServerName oldwww.mondorescue.org
27    ServerAdmin webmaster@mondorescue.org
28    DocumentRoot /mondo/www/html/oldwww
29    CustomLog /var/log/httpd/oldwww.mondorescue.org/access_log combined
30    Errorlog /var/log/httpd/oldwww.mondorescue.org/error_log
31    <Directory "/mondo/www/html/oldwww">
32        Options -Indexes MultiViews FollowSymLinks +Includes
33        AllowOverride None
34        Order allow,deny
35        Allow from all
36    </Directory>
37</VirtualHost>
38
39<VirtualHost *>
40    ServerName www1.mondorescue.org
41    ServerAdmin webmaster@mondorescue.org
42    DocumentRoot /mondo/www/html/test
43    CustomLog /var/log/httpd/www1.mondorescue.org/access_log combined
44    Errorlog /var/log/httpd/www1.mondorescue.org/error_log
45    <Directory "/mondo/www/html/test">
46        Options -Indexes MultiViews FollowSymLinks +Includes
47        AllowOverride None
48        Order allow,deny
49        Allow from all
50    </Directory>
51</VirtualHost>
52
53<VirtualHost *>
54    ServerName www.mondorescue.com
55    ServerAdmin webmaster@mondorescue.com
56    DocumentRoot /mondo/www/html/mondo
57    CustomLog /var/log/httpd/www.mondorescue.com/access_log combined
58    Errorlog /var/log/httpd/www.mondorescue.com/error_log
59    <Directory "/mondo/www/html/mondo">
60    DirectoryIndex index.shtml
61        Options -Indexes MultiViews FollowSymLinks +Includes
62        AllowOverride None
63        Order allow,deny
64        Allow from all
65    </Directory>
66</VirtualHost>
Note: See TracBrowser for help on using the repository browser.