RewriteRule to send all URLs with mod in them to a directory moderator
How can I write a
RewriteCondition / RewriteRule that will send a URL like
http://www.example.com/mod/users to a directory called
moderator in the root, so no
mod_rewriting goes on any further in the
.htaccess file that is in the root directory of my project?
What I intend doing, is pass that URL to the folder called
moderator, so it can be handled by the
RewriteRules in the
.htaccess file in that folder, rather than be matched against rules in the main .htaccess folder.
It's all based on the part after the domain name - the
Does anyone know how to write a condition and rewrite rule for this?