source: branches/3.3/ansible/roles/httpd/templates/mondorescue.org.conf @ 3655

Last change on this file since 3655 was 3655, checked in by bruno, 2 years ago

New MondoRescue? site managed with ansible now

File size: 5.0 KB
Line 
1<VirtualHost {{ ip_int }}>
2    ServerName www.mondorescue.org
3    ServerAlias mondorescue.org
4    ServerAdmin webmaster@mondorescue.org
5    DocumentRoot /prj/www/html/mondorescue
6    CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
7    Errorlog /var/log/httpd/www.mondorescue.org/error_log
8    RewriteEngine On
9    RewriteRule     ^/index\.html$  /index.shtml
10    RewriteRule     ^/$  /index.shtml
11
12    <Directory "/prj/www/html/mondorescue">
13    DirectoryIndex index.shtml
14        Options -Indexes +MultiViews +FollowSymLinks +Includes
15        AllowOverride None
16        Require all granted
17    </Directory>
18
19    <Directory "/prj/www/html/mondorescue/ftp">
20        Options +Indexes +MultiViews +FollowSymLinks
21        AllowOverride None
22        Require all granted
23    </Directory>
24
25    <Directory "/var/www/cgi-bin">
26        AllowOverride All
27        Options +ExecCGI +FollowSymLinks
28        Require all granted
29    </Directory>
30
31</VirtualHost>
32
33<VirtualHost {{ ip_int }}>
34    ServerName ftp.mondorescue.org
35    DocumentRoot /prj/ftp
36    CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
37    Errorlog /var/log/httpd/www.mondorescue.org/error_log
38    <Directory "/prj/ftp">
39        Options +Indexes +MultiViews +FollowSymLinks
40        AllowOverride None
41        Require all granted
42    </Directory>
43</VirtualHost>
44
45<VirtualHost {{ ip_int }}>
46    ServerName trac.mondorescue.org
47    DocumentRoot /prj/www/html/mondorescue
48    ServerAdmin webmaster@mondorescue.org
49    CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
50    Errorlog /var/log/httpd/www.mondorescue.org/error_log
51
52    <Directory "/var/www/cgi-bin">
53        AllowOverride All
54        Options +ExecCGI +FollowSymLinks
55        Require all granted
56    </Directory>
57
58    <Location "/">
59        SetEnv TRAC_ENV "/prj/trac/mondorescue.env"
60    </Location>
61
62    ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
63</VirtualHost>
64
65<VirtualHost {{ ip_int }}>
66    ServerName oldwww.mondorescue.org
67    ServerAdmin webmaster@mondorescue.org
68    DocumentRoot /prj/www/html/oldmondorescue
69    CustomLog /var/log/httpd/oldwww.mondorescue.org/access_log combined
70    Errorlog /var/log/httpd/oldwww.mondorescue.org/error_log
71    <Directory "/prj/www/html/oldmondorescue">
72        Options -Indexes +MultiViews +FollowSymLinks +Includes
73        AllowOverride None
74        Require all granted
75    </Directory>
76</VirtualHost>
77
78<VirtualHost {{ ip_int }}>
79    ServerName www1.mondorescue.org
80    ServerAdmin webmaster@mondorescue.org
81    DocumentRoot /prj/www/html/testmondorescue
82    CustomLog /var/log/httpd/www1.mondorescue.org/access_log combined
83    Errorlog /var/log/httpd/www1.mondorescue.org/error_log
84    <Directory "/prj/www/html/testmondorescue">
85        Options -Indexes +MultiViews +FollowSymLinks +Includes
86        AllowOverride None
87        Require all granted
88    </Directory>
89</VirtualHost>
90
91<VirtualHost {{ ip_int }}>
92    ServerName mondorescue.hpintelco.org
93    ServerAdmin webmaster@mondorescue.org
94    DocumentRoot /prj/www/html/mondorescue
95    CustomLog /var/log/httpd/mondorescue.hpintelco.org/access_log combined
96    Errorlog /var/log/httpd/mondorescue.hpintelco.org/error_log
97    <Directory "/prj/www/html/mondorescue">
98        Options +Indexes +MultiViews +FollowSymLinks +Includes
99        AllowOverride None
100        Require all granted
101    </Directory>
102    <Directory "/prj/www/html/mondorescue/ftp">
103        Options +Indexes +MultiViews +FollowSymLinks
104        AllowOverride None
105        Require all granted
106    </Directory>
107
108</VirtualHost>
109
110<VirtualHost {{ ip_int }}>
111    ServerName www.mondorescue.com
112    ServerAlias mondorescue.com
113    ServerAdmin webmaster@mondorescue.com
114    DocumentRoot /prj/www/html/mondorescue
115    CustomLog /var/log/httpd/www.mondorescue.com/access_log combined
116    Errorlog /var/log/httpd/www.mondorescue.com/error_log
117    RewriteEngine On
118    RewriteRule     ^/index\.html$  /index.shtml
119    RewriteRule     ^/$  /index.shtml
120    <Directory "/prj/www/html/mondorescue">
121    DirectoryIndex index.shtml
122        Options -Indexes +MultiViews +FollowSymLinks +Includes
123        AllowOverride None
124        Require all granted
125    </Directory>
126    <Directory "/prj/www/html/mondorescue/ftp">
127        Options +Indexes +MultiViews +FollowSymLinks
128        AllowOverride None
129        Require all granted
130    </Directory>
131
132</VirtualHost>
133
134<VirtualHost {{ ip_int }}>
135    ServerName ftp.mondorescue.com
136    ServerAdmin webmaster@mondorescue.com
137    DocumentRoot /prj/www/html/mondorescue
138    CustomLog /var/log/httpd/www.mondorescue.com/access_log combined
139    Errorlog /var/log/httpd/www.mondorescue.com/error_log
140    RewriteEngine On
141    RewriteRule     ^/index\.html$  /index.shtml
142    RewriteRule     ^/$  /index.shtml
143    <Directory "/prj/www/html/mondorescue">
144    DirectoryIndex index.shtml
145        Options -Indexes +MultiViews +FollowSymLinks +Includes
146        AllowOverride None
147        Require all granted
148    </Directory>
149    <Directory "/prj/www/html/mondorescue/ftp">
150        Options +Indexes +MultiViews +FollowSymLinks
151        AllowOverride None
152        Require all granted
153    </Directory>
154
155</VirtualHost>
Note: See TracBrowser for help on using the repository browser.