# close the php security hole... php_flag register_globals off # first, enable the processing - Unless your ISP has it enabled # already. That might cause weird errors. RewriteEngine on RewriteRule ^(.*)$ index.php?foo=$1 [L,NC]