mod_rewite Rule: root/? root/app/views/home/home.php
- by Jonathon David Oates
I am shocking at mod_rewite, here's the scenario:
I need a rule that rewrites mydomain.com to mydomain.com/app/views/home/home.php.
The rule, or set of rules rather, must also rewite mydomain.com/signin to mydomain.com/app/views/signin/signin.php, and work in a similar fashion for any subdirectory, for example: mydomain.com/subdir must redirect…