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

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

New MondoRescue site managed with ansible now

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