### begin - web of 'domain.com' - do not remove/modify this line
UrlToolkit {
ToolkitID = redirect_domain_com
RequestURI exists Return
Match ^/kloxo(/|$) Redirect https://domain.com:7777/$1
Match ^/kloxononssl(/|$) Redirect http://domain.com:7778/$1
Match ^/webmail(/|$) Redirect http://webmail.domain.com/$1
Match ^/cp(/|$) Redirect http://cp.domain.com/$1
Match ^/stats(/|$) Redirect http://domain.com/awstats/awstats.pl
}
## cp for 'domain.com'
VirtualHost {
set var_user = apache
UseGZfile = yes
FollowSymlinks = no
Hostname = cp.domain.com
WebsiteRoot = /home/kloxo/httpd/cp
EnablePathInfo = yes
TimeForCGI = 3600
Alias = /error:/home/kloxo/httpd/error
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
ExecuteCGI = yes
UseFastCGI = php_for_var_user
#StartFile = index.php
UseToolkit = findindexfile, permalink
## still not work for 'microcache'
## add 'header("X-Hiawatha-Cache: 10");' to index.php
#CustomHeader = X-Hiawatha-Cache:10
}
## webmail for 'domain.com'
VirtualHost {
set var_user = apache
UseGZfile = yes
FollowSymlinks = no
Hostname = webmail.domain.com
WebsiteRoot = /home/kloxo/httpd/webmail
EnablePathInfo = yes
TimeForCGI = 3600
Alias = /error:/home/kloxo/httpd/error
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
ExecuteCGI = yes
UseFastCGI = php_for_var_user
#StartFile = index.php
UseToolkit = findindexfile, permalink
## still not work for 'microcache'
## add 'header("X-Hiawatha-Cache: 10");' to index.php
#CustomHeader = X-Hiawatha-Cache:10
}
## web for 'domain.com'
VirtualHost {
set var_user = web4
UseGZfile = yes
FollowSymlinks = no
WrapCGI = web4_wrapper
Hostname = domain.com, www.domain.com
WebsiteRoot = /home/web4/domain.com
EnablePathInfo = yes
Alias = /__kloxo:/home/web4/kloxoscript
### MR -- disable perl until fix hardlinks issue
Alias = /cgi-bin:/home/web4/domain.com/cgi-bin
AccessLogfile = /home/httpd/domain.com/stats/domain.com-custom_log
ErrorLogfile = /home/httpd/domain.com/stats/domain.com-error_log
Alias = /awstats:/home/kloxo/httpd/awstats/wwwroot/cgi-bin
Alias = /awstatscss:/home/kloxo/httpd/awstats/wwwroot/css
Alias = /awstatsicons:/home/kloxo/httpd/awstats/wwwroot/icon
UserWebsites = yes
TimeForCGI = 3600
Alias = /error:/home/kloxo/httpd/error
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
ExecuteCGI = yes
UseFastCGI = php_for_var_user
#StartFile = index.php
UseToolkit = redirect_domain_com, findindexfile, permalink
## still not work for 'microcache'
## add 'header("X-Hiawatha-Cache: 10");' to index.php
#CustomHeader = X-Hiawatha-Cache:10
}
## cp for 'domain.com'
VirtualHost {
set var_user = apache
UseGZfile = yes
FollowSymlinks = no
Hostname = cp.domain.com
WebsiteRoot = /home/kloxo/httpd/cp
EnablePathInfo = yes
SSLcertFile = /home/web4/ssl/domain.com.pem
TimeForCGI = 3600
Alias = /error:/home/kloxo/httpd/error
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
ExecuteCGI = yes
UseFastCGI = php_for_var_user
#StartFile = index.php
UseToolkit = findindexfile, permalink
## still not work for 'microcache'
## add 'header("X-Hiawatha-Cache: 10");' to index.php
#CustomHeader = X-Hiawatha-Cache:10
}
## webmail for 'domain.com'
VirtualHost {
set var_user = apache
UseGZfile = yes
FollowSymlinks = no
Hostname = webmail.domain.com
WebsiteRoot = /home/kloxo/httpd/webmail
EnablePathInfo = yes
SSLcertFile = /home/web4/ssl/domain.com.pem
TimeForCGI = 3600
Alias = /error:/home/kloxo/httpd/error
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
ExecuteCGI = yes
UseFastCGI = php_for_var_user
#StartFile = index.php
UseToolkit = findindexfile, permalink
## still not work for 'microcache'
## add 'header("X-Hiawatha-Cache: 10");' to index.php
#CustomHeader = X-Hiawatha-Cache:10
}
## web for 'domain.com'
VirtualHost {
set var_user = web4
UseGZfile = yes
FollowSymlinks = no
WrapCGI = web4_wrapper
Hostname = domain.com, www.domain.com
SSLcertFile = /home/web4/ssl/domain.com.pem
WebsiteRoot = /home/web4/domain.com
EnablePathInfo = yes
Alias = /__kloxo:/home/web4/kloxoscript
### MR -- disable perl until fix hardlinks issue
Alias = /cgi-bin:/home/web4/domain.com/cgi-bin
AccessLogfile = /home/httpd/domain.com/stats/domain.com-custom_log
ErrorLogfile = /home/httpd/domain.com/stats/domain.com-error_log
Alias = /awstats:/home/kloxo/httpd/awstats/wwwroot/cgi-bin
Alias = /awstatscss:/home/kloxo/httpd/awstats/wwwroot/css
Alias = /awstatsicons:/home/kloxo/httpd/awstats/wwwroot/icon
UserWebsites = yes
TimeForCGI = 3600
Alias = /error:/home/kloxo/httpd/error
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
ErrorHandler = 404:/error/404.html
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html
ExecuteCGI = yes
UseFastCGI = php_for_var_user
#StartFile = index.php
UseToolkit = redirect_domain_com, findindexfile, permalink
## still not work for 'microcache'
## add 'header("X-Hiawatha-Cache: 10");' to index.php
#CustomHeader = X-Hiawatha-Cache:10
}
### end - web of 'domain.com' - do not remove/modify this line