source: branches/3.3/ansible/roles/httpd/templates/project-builder.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: 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    ServerAdmin webmaster@project-builder.org
46    CustomLog /var/log/httpd/www.project-builder.org/access_log combined
47    Errorlog /var/log/httpd/www.project-builder.org/error_log
48
49    <Directory "/var/www/cgi-bin">
50        AllowOverride All
51        Options +ExecCGI +FollowSymLinks
52        Require all granted
53    </Directory>
54
55    <Location "/">
56        SetEnv TRAC_ENV "/prj/trac/project-builder.env"
57    </Location>
58
59    ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
60
61</VirtualHost>
62
63<VirtualHost {{ ip_int }}>
64    ServerName uuwl.project-builder.org
65    DocumentRoot /prj/www/html/project-builder
66    ServerAdmin webmaster@project-builder.org
67    CustomLog /var/log/httpd/uuwl.project-builder.org/access_log combined
68    Errorlog /var/log/httpd/uuwl.project-builder.org/error_log
69
70    <Directory "/var/www/cgi-bin">
71        AllowOverride All
72        Options +ExecCGI +FollowSymLinks
73        Require all granted
74    </Directory>
75
76    <Location "/">
77        SetEnv TRAC_ENV "/prj/trac/uuwl.env"
78    </Location>
79
80    ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
81
82</VirtualHost>
83
84<VirtualHost {{ ip_int }}>
85    ServerName pusk.project-builder.org
86    DocumentRoot /prj/www/html/project-builder
87    ServerAdmin webmaster@project-builder.org
88    CustomLog /var/log/httpd/pusk.project-builder.org/access_log combined
89    Errorlog /var/log/httpd/pusk.project-builder.org/error_log
90
91    <Directory "/var/www/cgi-bin">
92        AllowOverride All
93        Options +ExecCGI +FollowSymLinks
94        Require all granted
95    </Directory>
96
97    <Location "/">
98        SetEnv TRAC_ENV "/prj/trac/pusk.env"
99    </Location>
100
101    ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
102
103</VirtualHost>
104
105<VirtualHost {{ ip_int }}>
106    ServerName www1.project-builder.org
107    ServerAdmin webmaster@project-builder.org
108    DocumentRoot /prj/www/html/project-builder/test
109    CustomLog /var/log/httpd/www1.project-builder.org/access_log combined
110    Errorlog /var/log/httpd/www1.project-builder.org/error_log
111    <Directory "/prj/www/html/project-builder/test">
112        Options -Indexes +MultiViews +FollowSymLinks +Includes
113        AllowOverride None
114        Require all granted
115    </Directory>
116</VirtualHost>
Note: See TracBrowser for help on using the repository browser.