Hi I use the following script to get rid of index.php on my localhost but this doesn’t work on my hosting for 1and1. Any one have an idea what can I change for it to not give me “Error 500 - Internal server error”
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
Thank you.