On 4/24/07, uxwrstre <uxwrstre@xxxxxxxxxxxxx> wrote:
I tried to use RewriteRule in a .htaccess file and it does not work. Its totally ignored by mod_rewrite. And its strange because in the configuration file of Apache it works.
RewriteRule ^/intranet$ /internet [R]
Prefix matching rules are different in .htaccess files. See the "Per-directory Rewrites" box under http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule In particular, you'll likely need to remove the leading slash. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx