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