source: MondoRescue/branches/3.3/ansible/roles/httpd/templates/project-builder.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: 3.5 KB
Line 
1<VirtualHost {{ ip_int }}>
2 ServerName www.project-builder.org
3 ServerAlias project-builder.org
4 ServerAdmin webmaster@project-builder.org
5 DocumentRoot /prj/www/html/project-builder
6 CustomLog /var/log/httpd/www.project-builder.org/access_log combined
7 Errorlog /var/log/httpd/www.project-builder.org/error_log
8 RewriteEngine On
9 RewriteRule ^/index\.html$ /index.shtml
10 RewriteRule ^/$ /index.shtml
11
12 <Directory "/prj/www/html/project-builder">
13 DirectoryIndex index.shtml
14 Options -Indexes +MultiViews +FollowSymLinks +Includes
15 AllowOverride None
16 Require all granted
17 </Directory>
18
19 <Directory "/var/www/cgi-bin">
20 AllowOverride All
21 Options +ExecCGI +FollowSymLinks
22 Require all granted
23 </Directory>
24
25 ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
26
27</VirtualHost>
28
29<VirtualHost {{ ip_int }}>
30 ServerName ftp.project-builder.org
31 ServerAdmin webmaster@project-builder.org
32 DocumentRoot /prj/ftp
33 CustomLog /var/log/httpd/www.project-builder.org/access_log combined
34 Errorlog /var/log/httpd/www.project-builder.org/error_log
35 <Directory "/prj/ftp">
36 Options +Indexes +MultiViews +FollowSymLinks
37 AllowOverride None
38 Require all granted
39 </Directory>
40</VirtualHost>
41
42<VirtualHost {{ ip_int }}>
43 ServerName trac.project-builder.org
44 DocumentRoot /prj/www/html/project-builder
45 DefaultInitEnv TRAC_ENV "/prj/trac/project-builder.env"
46 ServerAdmin webmaster@project-builder.org
47 CustomLog /var/log/httpd/www.project-builder.org/access_log combined
48 Errorlog /var/log/httpd/www.project-builder.org/error_log
49
50 <Directory "/var/www/cgi-bin">
51 AllowOverride All
52 Options +ExecCGI +FollowSymLinks
53 Require all granted
54 </Directory>
55
56 ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
57
58</VirtualHost>
59
60<VirtualHost {{ ip_int }}>
61 ServerName uuwl.project-builder.org
62 DocumentRoot /prj/www/html/project-builder
63 ServerAdmin webmaster@project-builder.org
64 CustomLog /var/log/httpd/uuwl.project-builder.org/access_log combined
65 Errorlog /var/log/httpd/uuwl.project-builder.org/error_log
66
67 <Directory "/var/www/cgi-bin">
68 AllowOverride All
69 Options +ExecCGI +FollowSymLinks
70 Require all granted
71 </Directory>
72
73 <Location "/">
74 SetEnv TRAC_ENV "/prj/trac/uuwl.env"
75 </Location>
76
77 ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
78
79</VirtualHost>
80
81<VirtualHost {{ ip_int }}>
82 ServerName pusk.project-builder.org
83 DocumentRoot /prj/www/html/project-builder
84 ServerAdmin webmaster@project-builder.org
85 CustomLog /var/log/httpd/pusk.project-builder.org/access_log combined
86 Errorlog /var/log/httpd/pusk.project-builder.org/error_log
87
88 <Directory "/var/www/cgi-bin">
89 AllowOverride All
90 Options +ExecCGI +FollowSymLinks
91 Require all granted
92 </Directory>
93
94 <Location "/">
95 SetEnv TRAC_ENV "/prj/trac/pusk.env"
96 </Location>
97
98 ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
99
100</VirtualHost>
101
102<VirtualHost {{ ip_int }}>
103 ServerName www1.project-builder.org
104 ServerAdmin webmaster@project-builder.org
105 DocumentRoot /prj/www/html/project-builder/test
106 CustomLog /var/log/httpd/www1.project-builder.org/access_log combined
107 Errorlog /var/log/httpd/www1.project-builder.org/error_log
108 <Directory "/prj/www/html/project-builder/test">
109 Options -Indexes +MultiViews +FollowSymLinks +Includes
110 AllowOverride None
111 Require all granted
112 </Directory>
113</VirtualHost>
Note: See TracBrowser for help on using the repository browser.