Defect #8551 » vhost.txt
| 1 |
SuexecUserGroup "#1000" "#1001" |
|---|---|
| 2 |
ServerName redmine.domain.tld |
| 3 |
ServerAlias www.redmine.domain.tld |
| 4 |
ServerAlias webmail.redmine.domain.tld |
| 5 |
ServerAlias admin.redmine.domain.tld |
| 6 |
DocumentRoot /home/domain/domains/redmine.domain.tld/redmine/public |
| 7 |
ErrorLog /home/domain/domains/redmine.domain.tld/apache-logs/redmine.domain.tld_error_log |
| 8 |
CustomLog /home/domain/domains/redmine.domain.tld/apache-logs/redmine.domain.tld_access_log combined |
| 9 |
ScriptAlias /cgi-bin/ /home/domain/domains/redmine.domain.tld/cgi-bin/ |
| 10 |
DirectoryIndex index.html index.htm index.php index.php4 index.php5 |
| 11 |
<Directory /home/domain/domains/redmine.domain.tld/public_html> |
| 12 |
Options -Indexes +IncludesNOEXEC +FollowSymLinks |
| 13 |
allow from all |
| 14 |
AllowOverride All |
| 15 |
</Directory> |
| 16 |
<Directory /home/domain/domains/redmine.domain.tld/cgi-bin> |
| 17 |
allow from all |
| 18 |
</Directory> |
| 19 |
RewriteEngine on |
| 20 |
RewriteCond %{HTTP_HOST} =webmail.redmine.domain.tld
|
| 21 |
RewriteRule ^(.*) https://redmine.domain.tld:20000/ [R] |
| 22 |
RewriteCond %{HTTP_HOST} =admin.redmine.domain.tld
|
| 23 |
RewriteRule ^(.*) https://redmine.domain.tld:10000/ [R] |