Make sure mod_rewrite is installed and .htaccess works.