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