[11325] in www-talk@info.cern.ch
Re: GET problem with CGI
daemon@ATHENA.MIT.EDU (Rodent of Unusual Size)
Fri Jun 11 13:40:33 1999
Date: Fri, 11 Jun 1999 13:40:16 -0400
From: Rodent of Unusual Size <Ken.Coar@Golux.Com>
To: Phil Burk <philburk@softsynth.com>, www-talk@w3.org
Resent-From: www-talk@w3.org
Phil Burk wrote:
>
> But when I try to download a complex URL like this one from mp3.com:
>
> http://chooser.mp3.com/cgi-bin/download/mp3-download.cgi?fmt=0&path=/mp3s/the_bran_another_plight_of_medics_pos/shiitor.mp3&genre=1080&id=116148&ds=8
No, that's not what you requested.
> My GET request was simply:
>
> GET cgi-bin/download/..snip..148&ds=8 HTTP/1.0<Cr><Lf>
> <Cr><Lf>
Put simply, put a '/' in front of the 'cgi-bin' in order to
make it a proper URI. Put more complexly, make it at
least an HTTP/1.0 request rather than HTTP/0.9 by adding
" HTTP/1.0" at the end. (This probably won't make a
difference, but it's a good idea anyway.)
--
#ken P-)}
Ken Coar <http://Web.Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>