Re: mod_rewrite Redirection ignoring the explicite code

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

 



Please do Cc me on every reply.  I'm subscribed to the allow post list,
but I am not subscribed to receive list posts. Can't stand yet another
mailing list at this point, just for one thread.

> >  "A dash indicates that no substitution should be performed (the
> >   existing path is passed through untouched). This is used when a flag
> >   (see below) needs to be applied without changing the path."
> > 
> > Applying an R=301 flag in my case seems to be the intended use-case for
> > the dash...

Eric Covener wrote:
> Not the intended case at all IMO and doesn't seem to work, although
> admittedly I only skimmed.

Yup, it does not work (with the R flag), as I just proved in detail. :)

> It's generally for flags like E= or T= that are not related to the
> substitution.

Well, the docs don't differentiate, and just state the dash to be used
in cases, where no substitution needs to be performed, but flags
applied. It does not state this to work with specific flags only.
According to the docs, the intention is to apply flags. Exactly what I
want to do...

But yeah, I admit I do not grok the full history and intention of
mod_rewrite, I just use it. ;)

  guenther


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


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