1 | <VirtualHost {{ ip_int }}>
|
---|
2 | ServerName www.dploy.org
|
---|
3 | ServerAlias dploy.org
|
---|
4 | ServerAdmin webmaster@dploy.org
|
---|
5 | DocumentRoot /prj/www/html/dploy
|
---|
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 |
|
---|
12 | <Directory "/prj/www/html/dploy">
|
---|
13 | DirectoryIndex index.shtml
|
---|
14 | Options -Indexes +MultiViews +FollowSymLinks +Includes
|
---|
15 | AllowOverride None
|
---|
16 | Require all granted
|
---|
17 | </Directory>
|
---|
18 |
|
---|
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">
|
---|
26 | AllowOverride All
|
---|
27 | Options +ExecCGI +FollowSymLinks
|
---|
28 | Require all granted
|
---|
29 | </Directory>
|
---|
30 |
|
---|
31 | </VirtualHost>
|
---|
32 |
|
---|
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
|
---|
40 | AllowOverride None
|
---|
41 | Require all granted
|
---|
42 | </Directory>
|
---|
43 | </VirtualHost>
|
---|
44 |
|
---|
45 | <VirtualHost {{ ip_int }}>
|
---|
46 | ServerName trac.dploy.org
|
---|
47 | DocumentRoot /prj/www/html/dploy
|
---|
48 | DefaultInitEnv TRAC_ENV "/prj/trac/ploy.env"
|
---|
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 |
|
---|
53 | <Directory "/var/www/cgi-bin">
|
---|
54 | AllowOverride All
|
---|
55 | Options +ExecCGI +FollowSymLinks
|
---|
56 | Require all granted
|
---|
57 | </Directory>
|
---|
58 |
|
---|
59 |
|
---|
60 | ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
|
---|
61 | </VirtualHost>
|
---|
62 |
|
---|
63 | <VirtualHost {{ ip_int }}>
|
---|
64 | ServerName www1.dploy.org
|
---|
65 | ServerAdmin webmaster@dploy.org
|
---|
66 | DocumentRoot /prj/www/html/dploytest
|
---|
67 | CustomLog /var/log/httpd/www1.dploy.org/access_log combined
|
---|
68 | Errorlog /var/log/httpd/www1.dploy.org/error_log
|
---|
69 | <Directory "/prj/www/html/dploytest">
|
---|
70 | Options -Indexes +MultiViews +FollowSymLinks +Includes
|
---|
71 | AllowOverride None
|
---|
72 | Require all granted
|
---|
73 | </Directory>
|
---|
74 | </VirtualHost>
|
---|