RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} ^pages/ RewriteRule ^(.*)$ dispatch.cgi [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^events RewriteRule ^(.*) http://www.sleeter.com:8080/VirtualHostBase/http/www.mysite.com:80/VirtualHostRoot/$1 [P,L]