RewriteCond %{REQUEST_FILENAME} !-f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^wysi(.*)$ wysi/index.xhtml [L,T=application/xhtml+xml]