So...let me start by specifying that I am using 1and1 shared Linux hosting for this project. Unfortunately i am stuck with this...so working within their system is a must. Sadly they do not provide any way to find out what the server logs say the real problem is behind my error 500 i get with the below modRewrite (lots of other stuff in my .htaccess file too...but this part is the problem and is the current only thing pertaining to rewrite rules).
With no problems, I can go to www.demo.com/view.php
If i add the following line to my .htaccess file, I can go to www.demo.com/testpath/ with no problems:
RewriteRule ^testpath/$ /view.php [NC,L]
If i remove the line above and replace it with the following (which i expect would identify the same string (plus others) and try to visit www.demo.com/testpath/ i get Server Error 500:
RewriteRule ^([a-z0-9\-/]+)$ /view.php [NC,L]
What am i doing wrong?
This is actually a MUCH larger regex/set of rewrites, but i have stripped it down this far and am still erroring out...so let's start here and see what happens... HELP!