I have a .htaccess file with one simple RewriteRule:
RewriteEngine on RewriteRule ^([A-Za-z0-9-]+)$ ?site=$1
I checked this rule with an RewriteRule tester which gave me the results I want to achieve. On my local development system it works well too.
But on a remote server the URLs just give me a 404 error. Other more simple rewrite rules are working with no problems, so everything must be set up correctly (I think..). The problem is that I don't have access to any error logs or the server configs. So the only thing I can do is to guess...
Can anyone tell me if theres something wrong with this rule? Or anything else I can do or test to solve this? Or has someone an idea what could be wrong on the server?