I have an account (say "user1") where httpd.conf contains an Alias to another account's folder:
I'd like to apply RewriteRules in .htaccess for the /redir folder, but .htaccess sems to just ignore the rules I try. For instance rewriting redir/test to the test.php for user1:Code:Alias /redir /home/user2/public_html/
This rule seems to simply be ignored - the URL redir/test goes to user2/public_html/test.php, if it exists, following the Alias. I also tried it with the full pathCode:RewriteRule redir/test.php test.php
What is the correct way to write RewriteRules that can override the Alias directive?Code:RewriteRule redir/test.php /home/user1/public_html/test.php











Bookmarks