RewriteEngine On RewriteBase /gluegen RewriteRule ^$ www/ [R=301,L,NE] RewriteRule ^index\.html$ www/index.html [R=301,L,NE]