You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jerry Baker <je...@weirdness.com> on 2001/08/05 21:21:11 UTC

RedirectMatch Horked???

The following rule (from the Apache docs) fails miserably:

RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg

Instead of returning "Location: http://www.anotherserver.com/bob.jpg"
for a request for /bob.gif, it instead returns "Location: /bob.jpg".
It's leaving out the entire http://www.anotherserver.com.

-- 
Jerry Baker

PGP Key: http://keyserver.pgp.com/pks/lookup?op=get&search=0x48D96D45

LAME MP3 Encoder Binaries: http://www.jerrybaker.org/lame/
Apache 2.0 Web server Installer: http://www.jerrybaker.org/apache/

Re: RedirectMatch Horked???

Posted by Jerry Baker <je...@weirdness.com>.
Cynic wrote:
>
> btw, am I the only one here whose mail client (Eudora 5.1) puts
> the list address in To: twice instead of the list and the
> sender? I couldn't figure out what combination of headers
> causes this...

Netscape refuses to put the sender in any field if I hit "Reply All". It
just puts the list address in once though.

-- 
Jerry Baker

PGP Key: http://keyserver.pgp.com/pks/lookup?op=get&search=0x48D96D45

LAME MP3 Encoder Binaries: http://www.jerrybaker.org/lame/
Apache 2.0 Web server Installer: http://www.jerrybaker.org/apache/

Re: RedirectMatch Horked???

Posted by Greg Marr <gr...@alum.wpi.edu>.
At 03:54 PM 08/05/2001, Cynic wrote:
>btw, am I the only one here whose mail client (Eudora 5.1) puts the 
>list address in To: twice instead of the list and the sender? I 
>couldn't figure out what combination of headers causes this...

Nope, new-httpd's configuration is broken, it includes a Reply-to: 
new-httpd@apache.org header.  Thus, the list is inserted because it 
was one of the recipients, and is inserted again because replies to 
the author are being redirected to the list.  The APR list works 
correctly and doesn't include this header.

-- 
Greg Marr
gregm@alum.wpi.edu
"We thought you were dead."
"I was, but I'm better now." - Sheridan, "The Summoning"


Re: RedirectMatch Horked???

Posted by Cynic <cy...@mail.cz>.
ah, sorry, the other list. :|

btw, am I the only one here whose mail client (Eudora 5.1) puts 
the list address in To: twice instead of the list and the 
sender? I couldn't figure out what combination of headers 
causes this...

At 21:52 8/5/2001, new-httpd@apache.org, new-httpd@apache.org wrote the following:
-------------------------------------------------------------- 
>what version of apache?
>
>At 21:21 8/5/2001, Jerry Baker wrote the following:
>-------------------------------------------------------------- 
>>The following rule (from the Apache docs) fails miserably:
>>
>>RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg
>>
>>Instead of returning "Location: http://www.anotherserver.com/bob.jpg"
>>for a request for /bob.gif, it instead returns "Location: /bob.jpg".
>>It's leaving out the entire http://www.anotherserver.com.



cynic@mail.cz
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
    - Book of Installation chapt 3 sec 7 


Re: RedirectMatch Horked???

Posted by Jerry Baker <je...@weirdness.com>.
2.0.23-dev

Cynic wrote:
> 
> what version of apache?
> 
> At 21:21 8/5/2001, Jerry Baker wrote the following:
> --------------------------------------------------------------
> >The following rule (from the Apache docs) fails miserably:
> >
> >RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg
> >
> >Instead of returning "Location: http://www.anotherserver.com/bob.jpg"
> >for a request for /bob.gif, it instead returns "Location: /bob.jpg".
> >It's leaving out the entire http://www.anotherserver.com.
> >
> >--
> >Jerry Baker

-- 
Jerry Baker

PGP Key: http://keyserver.pgp.com/pks/lookup?op=get&search=0x48D96D45

LAME MP3 Encoder Binaries: http://www.jerrybaker.org/lame/
Apache 2.0 Web server Installer: http://www.jerrybaker.org/apache/

Re: RedirectMatch Horked???

Posted by Cynic <cy...@mail.cz>.
what version of apache?

At 21:21 8/5/2001, Jerry Baker wrote the following:
-------------------------------------------------------------- 
>The following rule (from the Apache docs) fails miserably:
>
>RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg
>
>Instead of returning "Location: http://www.anotherserver.com/bob.jpg"
>for a request for /bob.gif, it instead returns "Location: /bob.jpg".
>It's leaving out the entire http://www.anotherserver.com.
>
>-- 
>Jerry Baker
>
>PGP Key: http://keyserver.pgp.com/pks/lookup?op=get&search=0x48D96D45
>
>LAME MP3 Encoder Binaries: http://www.jerrybaker.org/lame/
>Apache 2.0 Web server Installer: http://www.jerrybaker.org/apache/ 
------end of quote------ 


cynic@mail.cz
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
    - Book of Installation chapt 3 sec 7