<VirtualHost *:80>
ServerName hbsportsco.com
ServerAlias www.hbsportsco.com
DocumentRoot /var/www
Options Indexes IncludesNOEXEC FollowSymLinks ExecCGI
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
RewriteEngine on
RewriteCond % {REQUEST_METHOD}^(TRACE|TRACK)
RewriteRule .* - [F]
RewriteRule ^/zoperoot(.*) http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/VirtualHostRoot/_vh_zoperoot$1 [P,L]
RewriteCond %{REQUEST_URI} !^/webmail(.*)
RewriteCond %{REQUEST_URI} !^/cgi-bin(.*)
RewriteCond %{REQUEST_URI} !^/awstats(.*)
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats /usr/lib/cgi-bin
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/hbsports/VirtualHostRoot/$1 [L,P]
 <IfModule mod_proxy.c>
    ProxyVia On
    # prevent the webserver from beeing used as proxy
    <LocationMatch "^[^/]">
      Deny from all
    </LocationMatch>
  </IfModule>

  # this caches every file with the correct caching informations starting at /
  <IfModule mod_disk_cache.c>
    CacheEnable disk /
  </IfModule>

  # compression (disabled)
  <IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
  </IfModule>
</VirtualHost>

