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

Last change on this file since 3656 was 3656, checked in by Bruno Cornec, 7 years ago

More services up and runnig for the MondoRescue server

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 DefaultInitEnv TRAC_ENV "/prj/trac/mondorescue.env"
49 ServerAdmin webmaster@mondorescue.org
50 CustomLog /var/log/httpd/www.mondorescue.org/access_log combined
51 Errorlog /var/log/httpd/www.mondorescue.org/error_log
52
53 <Directory "/var/www/cgi-bin">
54 AllowOverride All
55 Options +ExecCGI +FollowSymLinks
56 Require all granted
57 </Directory>
58
59
60 ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
61</VirtualHost>
62
63<VirtualHost {{ ip_int }}>
64 ServerName oldwww.mondorescue.org
65 ServerAdmin webmaster@mondorescue.org
66 DocumentRoot /prj/www/html/oldmondorescue
67 CustomLog /var/log/httpd/oldwww.mondorescue.org/access_log combined
68 Errorlog /var/log/httpd/oldwww.mondorescue.org/error_log
69 <Directory "/prj/www/html/oldmondorescue">
70 Options -Indexes +MultiViews +FollowSymLinks +Includes
71 AllowOverride None
72 Require all granted
73 </Directory>
74</VirtualHost>
75
76<VirtualHost {{ ip_int }}>
77 ServerName www1.mondorescue.org
78 ServerAdmin webmaster@mondorescue.org
79 DocumentRoot /prj/www/html/testmondorescue
80 CustomLog /var/log/httpd/www1.mondorescue.org/access_log combined
81 Errorlog /var/log/httpd/www1.mondorescue.org/error_log
82 <Directory "/prj/www/html/testmondorescue">
83 Options -Indexes +MultiViews +FollowSymLinks +Includes
84 AllowOverride None
85 Require all granted
86 </Directory>
87</VirtualHost>
88
89<VirtualHost {{ ip_int }}>
90 ServerName mondorescue.hpintelco.org
91 ServerAdmin webmaster@mondorescue.org
92 DocumentRoot /prj/www/html/mondorescue
93 CustomLog /var/log/httpd/mondorescue.hpintelco.org/access_log combined
94 Errorlog /var/log/httpd/mondorescue.hpintelco.org/error_log
95 <Directory "/prj/www/html/mondorescue">
96 Options +Indexes +MultiViews +FollowSymLinks +Includes
97 AllowOverride None
98 Require all granted
99 </Directory>
100 <Directory "/prj/www/html/mondorescue/ftp">
101 Options +Indexes +MultiViews +FollowSymLinks
102 AllowOverride None
103 Require all granted
104 </Directory>
105
106</VirtualHost>
107
108<VirtualHost {{ ip_int }}>
109 ServerName www.mondorescue.com
110 ServerAlias mondorescue.com
111 ServerAdmin webmaster@mondorescue.com
112 DocumentRoot /prj/www/html/mondorescue
113 CustomLog /var/log/httpd/www.mondorescue.com/access_log combined
114 Errorlog /var/log/httpd/www.mondorescue.com/error_log
115 RewriteEngine On
116 RewriteRule ^/index\.html$ /index.shtml
117 RewriteRule ^/$ /index.shtml
118 <Directory "/prj/www/html/mondorescue">
119 DirectoryIndex index.shtml
120 Options -Indexes +MultiViews +FollowSymLinks +Includes
121 AllowOverride None
122 Require all granted
123 </Directory>
124 <Directory "/prj/www/html/mondorescue/ftp">
125 Options +Indexes +MultiViews +FollowSymLinks
126 AllowOverride None
127 Require all granted
128 </Directory>
129
130</VirtualHost>
131
132<VirtualHost {{ ip_int }}>
133 ServerName ftp.mondorescue.com
134 ServerAdmin webmaster@mondorescue.com
135 DocumentRoot /prj/www/html/mondorescue
136 CustomLog /var/log/httpd/www.mondorescue.com/access_log combined
137 Errorlog /var/log/httpd/www.mondorescue.com/error_log
138 RewriteEngine On
139 RewriteRule ^/index\.html$ /index.shtml
140 RewriteRule ^/$ /index.shtml
141 <Directory "/prj/www/html/mondorescue">
142 DirectoryIndex index.shtml
143 Options -Indexes +MultiViews +FollowSymLinks +Includes
144 AllowOverride None
145 Require all granted
146 </Directory>
147 <Directory "/prj/www/html/mondorescue/ftp">
148 Options +Indexes +MultiViews +FollowSymLinks
149 AllowOverride None
150 Require all granted
151 </Directory>
152
153</VirtualHost>
Note: See TracBrowser for help on using the repository browser.