setup rewriterules to avoid ugly index.php urls