#php_flag magic_quotes_gpc Off #php_flag register_globals Off #php_flag session.use_trans_sid Off # Make sure you have Options FollowSymLinks # and Allow on RewriteEngine On #Rewrites page.shtml as index.php?page RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-d [NC] RewriteRule ^(.+)$ index.php?page=$1 [QSA]