SuexecUserGroup "#1000" "#1001"
ServerName redmine.domain.tld
ServerAlias www.redmine.domain.tld
ServerAlias webmail.redmine.domain.tld
ServerAlias admin.redmine.domain.tld
DocumentRoot /home/domain/domains/redmine.domain.tld/redmine/public
ErrorLog /home/domain/domains/redmine.domain.tld/apache-logs/redmine.domain.tld_error_log
CustomLog /home/domain/domains/redmine.domain.tld/apache-logs/redmine.domain.tld_access_log combined
ScriptAlias /cgi-bin/ /home/domain/domains/redmine.domain.tld/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
Options -Indexes +IncludesNOEXEC +FollowSymLinks
allow from all
AllowOverride All
allow from all
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.redmine.domain.tld
RewriteRule ^(.*) https://redmine.domain.tld:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.redmine.domain.tld
RewriteRule ^(.*) https://redmine.domain.tld:10000/ [R]