Re: mod_rewrite Redirection ignoring the explicite code

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

 



On Thu, May 6, 2010 at 6:48 PM, Karsten Bräckelmann
<guenther@xxxxxxxxxxxxx> wrote:
> On Fri, 2010-05-07 at 08:28 +1000, Igor Cicimov wrote:
>> Your RewriteRule is wrong it works with the URI part only and not the
>> full URL. Read the mod_rewrite docos and correct your rule.
>
> Argh! An RTFM response. I probably deserve it. But...
>
> I did read the docs. Lots of 'em. Still, I don't see why it behaves as
> it does, otherwise I wouldn't have bothered you in the first place.

The RewriteLog would show you why your rule never matches.  Hint: No
other example in the manual starts with anyting other then the "path"
part of the URL, as igor described.

> Also, which of the rules is wrong exactly? Or rather, why is it ok to
> ignore the explicit redirect code? Sorry, I really don't see how I
> should correct the rules. Any more detailed pointers?

That rule isn't generating the redirect.  Maybe you're seeing
mod_dirs' DirectorySlash

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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