On 4/24/07, uxwrstre <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to