RewriteEngine On
RewriteBase   /jogl-demos

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