httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Br├Ąckelmann <>
Subject Re: [users@httpd] mod_rewrite Redirection ignoring the explicite code
Date Fri, 07 May 2010 23:37:42 GMT
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. ;)


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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message