yeah, this is perfectly acceptable! could you give me an example setup doing this? forwarding every url requested to http://mycgi.server/cgi-bin/download.sh?http://original.request/ so i could pick $QUERY_STRING in download.sh...
this way squid could use external download accelerator to download files ... On Thursday 31 July 2003 10:13, Henrik Nordstrom wrote: > On Wednesday 30 July 2003 23.59, Bob Arctor wrote: > > hello. > > is it possible to configure squid to execute shell command with > > requested URL as an parameter, and give output to the client? > > Yes and no. > > You can set up Squid to forward the request to a CGI program running > on a web server of yours. This is done via a redirector helper > rewriting the URL making it to be forwarded to your CGI script > instead of the original requested URL. > > The URL the request is forwarded to does not need to be a CGI script. > It can also be a static page, or any other type of web contents. > Squid does not really care how the selected web server generates the > content. > > Regards > Henrik -- --
