# close the php security hole... # not actually needed but probablly a good idea anyway php_flag register_globals off # first, enable the processing - Unless your ISP has it enabled # already. That might cause weird errors. RewriteEngine on # do the rewrite RewriteRule ^wiki5(.*)$ w5/index.php$1 [L] RewriteRule ^wiki(.*)$ w/index.php$1 [L] RewriteRule ^wysi(.*): wysi/index.xhtml [L,T=application/xhtml+xml] RewriteCond %{REQUEST_FILENAME} !-f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^wysi(.*)$ wysi/index.xhtml [L,T=application/xhtml+xml] #RewriteCond %{REQUEST_FILENAME} -f #RewriteRule ^web(.*)$ web/index.php$1 [last,nocase,qsappend]