source: MondoRescue/branches/3.3/ansible/roles/httpd/templates/dploy.org.conf@ 3872

Last change on this file since 3872 was 3776, checked in by Bruno Cornec, 4 years ago

setup dploy.org web presence

File size: 2.2 KB
RevLine 
[3655]1<VirtualHost {{ ip_int }}>
2 ServerName www.dploy.org
[3776]3 ServerAlias dploy.org
[3655]4 ServerAdmin webmaster@dploy.org
[3776]5 DocumentRoot /prj/www/html/dploy
[3655]6 CustomLog /var/log/httpd/www.dploy.org/access_log combined
7 Errorlog /var/log/httpd/www.dploy.org/error_log
8 RewriteEngine On
9 RewriteRule ^/index\.html$ /index.shtml
10 RewriteRule ^/$ /index.shtml
11
[3776]12 <Directory "/prj/www/html/dploy">
[3655]13 DirectoryIndex index.shtml
14 Options -Indexes +MultiViews +FollowSymLinks +Includes
15 AllowOverride None
16 Require all granted
17 </Directory>
18
[3776]19 <Directory "/prj/www/html/dploy/ftp">
20 Options +Indexes +MultiViews +FollowSymLinks
21 AllowOverride None
22 Require all granted
23 </Directory>
24
25 <Directory "/var/www/cgi-bin">
[3655]26 AllowOverride All
27 Options +ExecCGI +FollowSymLinks
28 Require all granted
29 </Directory>
30
[3776]31</VirtualHost>
[3655]32
[3776]33<VirtualHost {{ ip_int }}>
34 ServerName ftp.dploy.org
35 DocumentRoot /prj/ftp
36 CustomLog /var/log/httpd/www.dploy.org/access_log combined
37 Errorlog /var/log/httpd/www.dploy.org/error_log
38 <Directory "/prj/ftp">
39 Options +Indexes +MultiViews +FollowSymLinks
[3655]40 AllowOverride None
41 Require all granted
42 </Directory>
43</VirtualHost>
44
45<VirtualHost {{ ip_int }}>
46 ServerName trac.dploy.org
[3776]47 DocumentRoot /prj/www/html/dploy
48 DefaultInitEnv TRAC_ENV "/prj/trac/ploy.env"
[3655]49 ServerAdmin webmaster@dploy.org
50 CustomLog /var/log/httpd/www.dploy.org/access_log combined
51 Errorlog /var/log/httpd/www.dploy.org/error_log
52
[3776]53 <Directory "/var/www/cgi-bin">
[3655]54 AllowOverride All
55 Options +ExecCGI +FollowSymLinks
56 Require all granted
57 </Directory>
58
59
[3776]60 ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
[3655]61</VirtualHost>
62
63<VirtualHost {{ ip_int }}>
64 ServerName www1.dploy.org
65 ServerAdmin webmaster@dploy.org
[3776]66 DocumentRoot /prj/www/html/dploytest
[3655]67 CustomLog /var/log/httpd/www1.dploy.org/access_log combined
68 Errorlog /var/log/httpd/www1.dploy.org/error_log
[3776]69 <Directory "/prj/www/html/dploytest">
[3655]70 Options -Indexes +MultiViews +FollowSymLinks +Includes
71 AllowOverride None
72 Require all granted
73 </Directory>
74</VirtualHost>
Note: See TracBrowser for help on using the repository browser.