source: branches/3.2/website/mondorescue.org.conf @ 3617

Last change on this file since 3617 was 3617, checked in by bruno, 3 years ago

Fix http support for ftp.mondorescue.org

File size: 5.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 /prj/www/html/mondorescue
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 "/prj/www/html/mondorescue">
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 "/prj/www/html/mondorescue/ftp">
23        Options Indexes MultiViews FollowSymLinks
24        AllowOverride None
25        Order allow,deny
26        Allow from all
27    </Directory>
28
29    <Directory "/var/www/cgi-bin">
30        AllowOverride All
31        Options ExecCGI FollowSymLinks
32        Order allow,deny
33        Allow from all
34    </Directory>
35
36</VirtualHost>
37
38<VirtualHost 10.3.252.23>
39    ServerName ftp.mondorescue.org
40    DocumentRoot /prj/ftp
41    CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
42    Errorlog /var/log/httpd/www.mondorescue.org/error_log
43    <Directory "/prj/ftp">
44        Options Indexes MultiViews FollowSymLinks
45        AllowOverride None
46        Order allow,deny
47        Allow from all
48    </Directory>
49</VirtualHost>
50
51<VirtualHost 10.3.252.23>
52    ServerName trac.mondorescue.org
53    DocumentRoot /prj/www/html/mondorescue
54    ServerAdmin webmaster@mondorescue.org
55    CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
56    Errorlog /var/log/httpd/www.mondorescue.org/error_log
57
58    <Directory "/var/www/cgi-bin">
59        AllowOverride All
60        Options ExecCGI FollowSymLinks
61        Order allow,deny
62        Allow from all
63    </Directory>
64
65    <Location "/">
66        SetEnv TRAC_ENV "/prj/trac/mondorescue.env"
67    </Location>
68
69    ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
70</VirtualHost>
71
72<VirtualHost 10.3.252.23>
73    ServerName oldwww.mondorescue.org
74    ServerAdmin webmaster@mondorescue.org
75    DocumentRoot /prj/www/html/oldmondorescue
76    CustomLog /var/log/httpd/oldwww.mondorescue.org/access_log combined
77    Errorlog /var/log/httpd/oldwww.mondorescue.org/error_log
78    <Directory "/prj/www/html/oldmondorescue">
79        Options -Indexes MultiViews FollowSymLinks +Includes
80        AllowOverride None
81        Order allow,deny
82        Allow from all
83    </Directory>
84</VirtualHost>
85
86<VirtualHost 10.3.252.23>
87    ServerName www1.mondorescue.org
88    ServerAdmin webmaster@mondorescue.org
89    DocumentRoot /prj/www/html/testmondorescue
90    CustomLog /var/log/httpd/www1.mondorescue.org/access_log combined
91    Errorlog /var/log/httpd/www1.mondorescue.org/error_log
92    <Directory "/prj/www/html/testmondorescue">
93        Options -Indexes MultiViews FollowSymLinks +Includes
94        AllowOverride None
95        Order allow,deny
96        Allow from all
97    </Directory>
98</VirtualHost>
99
100<VirtualHost 10.3.252.23>
101    ServerName mondo.hpintelco.org
102    ServerAdmin webmaster@mondorescue.org
103    DocumentRoot /prj/www/html/mondorescue
104    CustomLog /var/log/httpd/mondo.hpintelco.org/access_log combined
105    Errorlog /var/log/httpd/mondo.hpintelco.org/error_log
106    <Directory "/prj/www/html/mondorescue">
107        Options Indexes MultiViews FollowSymLinks +Includes
108        AllowOverride None
109        Order allow,deny
110        Allow from all
111    </Directory>
112    <Directory "/prj/www/html/mondorescue/ftp">
113        Options Indexes MultiViews FollowSymLinks
114        AllowOverride None
115        Order allow,deny
116        Allow from all
117    </Directory>
118
119</VirtualHost>
120
121<VirtualHost 10.3.252.23>
122    ServerName www.mondorescue.com
123    ServerAlias mondorescue.com
124    ServerAdmin webmaster@mondorescue.com
125    DocumentRoot /prj/www/html/mondorescue
126    CustomLog /var/log/httpd/www.mondorescue.com/access_log combined
127    Errorlog /var/log/httpd/www.mondorescue.com/error_log
128    RewriteEngine On
129    RewriteRule     ^/index\.html$  /index.shtml
130    RewriteRule     ^/$  /index.shtml
131    <Directory "/prj/www/html/mondorescue">
132    DirectoryIndex index.shtml
133        Options -Indexes MultiViews FollowSymLinks +Includes
134        AllowOverride None
135        Order allow,deny
136        Allow from all
137    </Directory>
138    <Directory "/prj/www/html/mondorescue/ftp">
139        Options Indexes MultiViews FollowSymLinks
140        AllowOverride None
141        Order allow,deny
142        Allow from all
143    </Directory>
144
145</VirtualHost>
146
147<VirtualHost 10.3.252.23>
148    ServerName ftp.mondorescue.com
149    ServerAdmin webmaster@mondorescue.com
150    DocumentRoot /prj/www/html/mondorescue
151    CustomLog /var/log/httpd/www.mondorescue.com/access_log combined
152    Errorlog /var/log/httpd/www.mondorescue.com/error_log
153    RewriteEngine On
154    RewriteRule     ^/index\.html$  /index.shtml
155    RewriteRule     ^/$  /index.shtml
156    <Directory "/prj/www/html/mondorescue">
157    DirectoryIndex index.shtml
158        Options -Indexes MultiViews FollowSymLinks +Includes
159        AllowOverride None
160        Order allow,deny
161        Allow from all
162    </Directory>
163    <Directory "/prj/www/html/mondorescue/ftp">
164        Options Indexes MultiViews FollowSymLinks
165        AllowOverride None
166        Order allow,deny
167        Allow from all
168    </Directory>
169
170</VirtualHost>
Note: See TracBrowser for help on using the repository browser.