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

From: Klavs Klavsen <ktk@dont-contact.us>
Date: Tue, 6 Nov 2001 08:37:52 +0100

That worked like a charm.. Thank you very much :-)

-------------| This mail has been sent to you by: |------------
Klavs Klavsen, IT-coordinator and Systems Administrator at
Metropol Online - http://www.metropol.dk
Tlf. 33752700, Fax 33752720, Email ktk@metropol.dk

Private- Email klavs@klavsen.net - http://www.vsen.dk

--------------------[ I believe that... ]-----------------------
It is a myth that people resist change. People resist what other
people make them do, not what they themselves choose to do...
That's why companies that innovate successfully year after year
seek their peopl's ideas, let them initiate new projects and
encourage more experiments. -- Rosabeth Moss Kanter

> 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 Tue Nov 06 2001 - 00:38:21 MST

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