I'm trying to limit the scoop of a .htaccess file to only it's current directory, but cannot seem to get it to work. I know I have to use the tag, and put my folder there. So this is what I've come up with, but it doesn't work:
<Directory "/home/user12345/domains/testing.com/public_html">
RewriteEngine on
RewriteRule ^Home index.php?show_page=home
RewriteRule ^Contact index.php?show_page=contact
</Directory>
I've also tried removing the folders at the beginning of the path, with no success. Also I would like to know if I have to add the whole path to my RewriteRule like this:
RewriteRule ^Home home/user12345/domains/testing.com/public_html/index.php?show_page=home
Is that necessary?
Any help is greatly appreciated!