| 1 | NameVirtualHost 10.3.252.23 |
|---|
| 2 | |
|---|
| 3 | <VirtualHost 10.3.252.23> |
|---|
| 4 | ServerName www.dploy.org |
|---|
| 5 | ServerAdmin webmaster@dploy.org |
|---|
| 6 | DocumentRoot /mondo/dploy/www/html/dploy |
|---|
| 7 | CustomLog /var/log/httpd/www.dploy.org/access_log combined |
|---|
| 8 | Errorlog /var/log/httpd/www.dploy.org/error_log |
|---|
| 9 | RewriteEngine On |
|---|
| 10 | RewriteRule ^/index\.html$ /index.shtml |
|---|
| 11 | RewriteRule ^/$ /index.shtml |
|---|
| 12 | |
|---|
| 13 | <Directory "/mondo/dploy/www/html/dploy"> |
|---|
| 14 | DirectoryIndex index.shtml |
|---|
| 15 | Options -Indexes MultiViews FollowSymLinks +Includes |
|---|
| 16 | AllowOverride None |
|---|
| 17 | Order allow,deny |
|---|
| 18 | Allow from all |
|---|
| 19 | </Directory> |
|---|
| 20 | |
|---|
| 21 | <Directory "/mondo/dploy/www/cgi-bin"> |
|---|
| 22 | AllowOverride All |
|---|
| 23 | Options ExecCGI FollowSymLinks |
|---|
| 24 | Order allow,deny |
|---|
| 25 | Allow from all |
|---|
| 26 | </Directory> |
|---|
| 27 | |
|---|
| 28 | ScriptAlias /cgi-bin/ "/mondo/dploy/www/cgi-bin/" |
|---|
| 29 | |
|---|
| 30 | # fix mdk bug #16298 |
|---|
| 31 | PassEnv LC_ALL |
|---|
| 32 | PassEnv LANG |
|---|
| 33 | |
|---|
| 34 | # fix mdk bug #16298 |
|---|
| 35 | <Directory "/usr/share/trac/htdocs/"> |
|---|
| 36 | Options Indexes MultiViews |
|---|
| 37 | AllowOverride None |
|---|
| 38 | Order allow,deny |
|---|
| 39 | Allow from All |
|---|
| 40 | </Directory> |
|---|
| 41 | |
|---|
| 42 | Alias /trac/ "/usr/share/trac/htdocs/" |
|---|
| 43 | <Location "/cgi-bin/trac.cgi"> |
|---|
| 44 | SetEnv TRAC_ENV "/mondo/dploy/trac/dploy.env" |
|---|
| 45 | </Location> |
|---|
| 46 | |
|---|
| 47 | # You need something like this to authenticate users |
|---|
| 48 | <Location "/cgi-bin/trac.cgi/login"> |
|---|
| 49 | AuthType Basic |
|---|
| 50 | AuthName "Dploy" |
|---|
| 51 | AuthUserFile /usr/local/etc/dploy.htpasswd |
|---|
| 52 | Require valid-user |
|---|
| 53 | </Location> |
|---|
| 54 | </VirtualHost> |
|---|
| 55 | |
|---|
| 56 | <VirtualHost 10.3.252.23> |
|---|
| 57 | ServerName trac.dploy.org |
|---|
| 58 | SetEnv TRAC_ENV "/mondo/dploy/trac/dploy.env" |
|---|
| 59 | DocumentRoot /mondo/dploy/www/cgi-bin/trac.cgi |
|---|
| 60 | ServerAdmin webmaster@dploy.org |
|---|
| 61 | CustomLog /var/log/httpd/www.dploy.org/access_log combined |
|---|
| 62 | Errorlog /var/log/httpd/www.dploy.org/error_log |
|---|
| 63 | |
|---|
| 64 | # fix mdk bug #16298 |
|---|
| 65 | PassEnv LC_ALL |
|---|
| 66 | PassEnv LANG |
|---|
| 67 | |
|---|
| 68 | <Directory "/mondo/dploy/www/cgi-bin"> |
|---|
| 69 | AllowOverride All |
|---|
| 70 | Options ExecCGI FollowSymLinks |
|---|
| 71 | Order allow,deny |
|---|
| 72 | Allow from all |
|---|
| 73 | </Directory> |
|---|
| 74 | |
|---|
| 75 | Alias /trac/ "/usr/share/trac/htdocs/" |
|---|
| 76 | ScriptAlias /cgi-bin/ "/mondo/dploy/www/cgi-bin/" |
|---|
| 77 | |
|---|
| 78 | # You need something like this to authenticate users |
|---|
| 79 | <Location "/login"> |
|---|
| 80 | AuthType Basic |
|---|
| 81 | AuthName "Dploy" |
|---|
| 82 | AuthUserFile /usr/local/etc/trac.htpasswd |
|---|
| 83 | Require valid-user |
|---|
| 84 | </Location> |
|---|
| 85 | </VirtualHost> |
|---|
| 86 | |
|---|
| 87 | <VirtualHost 10.3.252.23> |
|---|
| 88 | ServerName www1.dploy.org |
|---|
| 89 | ServerAdmin webmaster@dploy.org |
|---|
| 90 | DocumentRoot /mondo/dploy/www/html/test |
|---|
| 91 | CustomLog /var/log/httpd/www1.dploy.org/access_log combined |
|---|
| 92 | Errorlog /var/log/httpd/www1.dploy.org/error_log |
|---|
| 93 | <Directory "/mondo/dploy/www/html/test"> |
|---|
| 94 | Options -Indexes MultiViews FollowSymLinks +Includes |
|---|
| 95 | AllowOverride None |
|---|
| 96 | Order allow,deny |
|---|
| 97 | Allow from all |
|---|
| 98 | </Directory> |
|---|
| 99 | </VirtualHost> |
|---|