source: MondoRescue/trunk/website/mondorescue.org.conf@ 824

Last change on this file since 824 was 794, checked in by Bruno Cornec, 18 years ago

merge -r781:793 $SVN_M/branches/stable

File size: 4.2 KB
Line 
1NameVirtualHost 10.3.252.23
2
3<VirtualHost 10.3.252.23>
4 ServerName www.mondorescue.org
5 #ServerAlias mondorescue.org
6 ServerAdmin webmaster@mondorescue.org
7 DocumentRoot /mondo/www/html/mondo
8 CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
9 Errorlog /var/log/httpd/www.mondorescue.org/error_log
10 RewriteEngine On
11 RewriteRule ^/index\.html$ /index.shtml
12 RewriteRule ^/$ /index.shtml
13
14 <Directory "/mondo/www/html/mondo">
15 DirectoryIndex index.shtml
16 Options -Indexes MultiViews FollowSymLinks +Includes
17 AllowOverride None
18 Order allow,deny
19 Allow from all
20 </Directory>
21
22 <Directory "/mondo/www/cgi-bin">
23 AllowOverride All
24 Options ExecCGI FollowSymLinks
25 Order allow,deny
26 Allow from all
27 </Directory>
28
29 ScriptAlias /cgi-bin/ "/mondo/www/cgi-bin/"
30
31 # fix mdk bug #16298
32 PassEnv LC_ALL
33 PassEnv LANG
34
35 # fix mdk bug #16298
36 <Directory "/usr/share/trac/htdocs/">
37 Options Indexes MultiViews
38 AllowOverride None
39 Order allow,deny
40 Allow from All
41 </Directory>
42
43 Alias /trac/ "/usr/share/trac/htdocs/"
44 <Location "/cgi-bin/trac.cgi">
45 SetEnv TRAC_ENV "/mondo/trac/mondorescue.env"
46 </Location>
47
48 # You need something like this to authenticate users
49 <Location "/cgi-bin/trac.cgi/login">
50 AuthType Basic
51 AuthName "MondoRescue"
52 AuthUserFile /etc/trac.htpasswd
53 Require valid-user
54 </Location>
55</VirtualHost>
56
57<VirtualHost 10.3.252.23>
58 ServerName trac.mondorescue.org
59 SetEnv TRAC_ENV "/mondo/trac/mondorescue.env"
60 DocumentRoot /mondo/www/cgi-bin/trac.cgi
61 ServerAdmin webmaster@mondorescue.org
62 CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
63 Errorlog /var/log/httpd/www.mondorescue.org/error_log
64
65 # fix mdk bug #16298
66 PassEnv LC_ALL
67 PassEnv LANG
68
69 <Directory "/mondo/www/cgi-bin">
70 AllowOverride All
71 Options ExecCGI FollowSymLinks
72 Order allow,deny
73 Allow from all
74 </Directory>
75
76 Alias /trac/ "/usr/share/trac/htdocs/"
77 ScriptAlias /cgi-bin/ "/mondo/www/cgi-bin/"
78
79 # You need something like this to authenticate users
80 <Location "/login">
81 AuthType Basic
82 AuthName "MondoRescue"
83 AuthUserFile /etc/trac.htpasswd
84 Require valid-user
85 </Location>
86</VirtualHost>
87
88<VirtualHost 10.3.252.23>
89 ServerName oldwww.mondorescue.org
90 ServerAdmin webmaster@mondorescue.org
91 DocumentRoot /mondo/www/html/oldwww
92 CustomLog /var/log/httpd/oldwww.mondorescue.org/access_log combined
93 Errorlog /var/log/httpd/oldwww.mondorescue.org/error_log
94 <Directory "/mondo/www/html/oldwww">
95 Options -Indexes MultiViews FollowSymLinks +Includes
96 AllowOverride None
97 Order allow,deny
98 Allow from all
99 </Directory>
100</VirtualHost>
101
102<VirtualHost 10.3.252.23>
103 ServerName www1.mondorescue.org
104 ServerAdmin webmaster@mondorescue.org
105 DocumentRoot /mondo/www/html/test
106 CustomLog /var/log/httpd/www1.mondorescue.org/access_log combined
107 Errorlog /var/log/httpd/www1.mondorescue.org/error_log
108 <Directory "/mondo/www/html/test">
109 Options -Indexes MultiViews FollowSymLinks +Includes
110 AllowOverride None
111 Order allow,deny
112 Allow from all
113 </Directory>
114</VirtualHost>
115
116<VirtualHost 10.3.252.23>
117 ServerName mondo.hpintelco.org
118 ServerAdmin webmaster@mondorescue.org
119 DocumentRoot /var/www/html
120 CustomLog /var/log/httpd/mondo.hpintelco.org/access_log combined
121 Errorlog /var/log/httpd/mondo.hpintelco.org/error_log
122 <Directory "/var/www/html">
123 Options -Indexes MultiViews FollowSymLinks +Includes
124 AllowOverride None
125 Order allow,deny
126 Allow from all
127 </Directory>
128</VirtualHost>
129
130<VirtualHost 10.3.252.23>
131 ServerName www.mondorescue.com
132 ServerAdmin webmaster@mondorescue.com
133 DocumentRoot /mondo/www/html/mondo
134 CustomLog /var/log/httpd/www.mondorescue.com/access_log combined
135 Errorlog /var/log/httpd/www.mondorescue.com/error_log
136 <Directory "/mondo/www/html/mondo">
137 DirectoryIndex index.shtml
138 Options -Indexes MultiViews FollowSymLinks +Includes
139 AllowOverride None
140 Order allow,deny
141 Allow from all
142 </Directory>
143</VirtualHost>
Note: See TracBrowser for help on using the repository browser.