RE: [squid-users] PURGE doesn't work on POST url's..

From: Andreas Piesk <apiesk@dont-contact.us>
Date: Mon, 5 Nov 2001 17:33:11 +0100

> From: Klavs Klavsen [mailto:ktk@metropol.dk]
> Sent: Monday, November 05, 2001 4:58 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] PURGE doesn't work on POST url's..
>
>
> I'm trying to purge a search result where the origin-server
> returned a 200
> - but a bum page:
> it doesn't work, as I get a 404 Not found :-(
>
> Even though I copied the URL from the log.. and I also tried
> to copy the
> url from the list of in memory cache-objects..
>
> I enter this command:
> /usr/local/squid/bin/client -m PURGE -p 80
> http://www.aok.dk/page/gen?
> _template=/search/result_calendar.html&search_type=3&search_na
me=Dansk&class,custom_page_count,template_page_count,name&start_day=30&end_d
ay=30> &start_month=Nov&end_month=Nov&start_year=2001&end_year=2001&k
> al_month=11/2001
>
> I get this output:
> [1] 25569
> [2] 25570
> [3] 25571
> bash: class,custom_page_count,template_page_count,name:
> command not found

the shell tries to parse the url!
enclose the url in " to prevent the shell from doing that.

ciao -ap
Received on Mon Nov 05 2001 - 09:33:15 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:03:53 MST