ServerAdmin webmaster@mentalitea.com ServerAlias awis-islamic-research.org ServerAlias www.awis-islamic-research.org ServerSignature On CustomLog /var/log/apache2/awis-deutschland.org-access.log combined ErrorLog /var/log/apache2/awis-deutschland.org-error.log LogLevel warn # log the deflate compression rate to a file #CustomLog /var/log/apache2/deflate_log deflate RewriteEngine On # use RewriteLog to debug problems with your rewrite rules # disable it after you found the error our your harddisk will be filled *very fast* # RewriteLog "/var/log/apache2/rewrite_log" # RewriteLogLevel 2 # serving icons from apache 2 server RewriteRule ^/icons/ - [L] # rewrite any access to manage to a secure server #RewriteRule ^/(.*)/manage(.*) \ #https://secure.mentalitea.com/zope/AWIS/$1/manage$2 [NC,R=301,L] #RewriteRule ^/manage(.*) \ #https://secure.mentalitea.com/zope/AWIS/manage$1 [NC,R=301,L] # rewrite any other access to the zope server using a proxy [P] and add the VMH magic keywords # use %{SERVER_NAME} instead of example.com to avoid busting the ServerAlias # %{HTTP_HOST} is bad because it may contain the port RewriteRule ^/(.*) \ http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/AWIS/VirtualHostRoot/$1 [L,P] ProxyVia On # prevent the webserver from beeing used as proxy Deny from all # caching (disabled) # this caches every file with the correct caching informations starting at / #CacheEnable disk / # compression (disabled) #SetOutputFilter DEFLATE