Hook Handler P is a small alternative to the htaccess mod_rewrite option where it is not available.