Re: RewriteRule ignored in .htaccess file in Apache 2.2.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux