- Code: Select all
RewriteRule ^/([a-zA-Z]+)/([a-zA-Z]+)$ /$1.php?do=$2
I want it to take mysite.com/somepage/whatToDo/ and make it somepage.php?do=whatToDo.
When I tried it, it says "No input file specified.".
I tried to the with only one "([a-zA-Z]+)", like
- Code: Select all
RewriteRule ^/([a-zA-Z]+)$ /$1.php
***EDIT***
After a while on google, I found this. http://forums.pligg.com/installation-up ... ified.html
Basically, it says add
- Code: Select all
Options -MultiViews