[Varnish] #149: Can't Purge

Varnish varnish-bugs at projects.linpro.no
Mon Aug 13 10:33:55 CEST 2007


#149: Can't Purge
----------------------+-----------------------------------------------------
 Reporter:  greenad   |        Owner:  phk          
     Type:  defect    |       Status:  reopened     
 Priority:  high      |    Milestone:  Varnish 1.0.4
Component:  varnishd  |      Version:  1.0.4        
 Severity:  major     |   Resolution:               
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by greenad):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 I just tried that but it still says 404 :(

 root at ubuntu60664m:/tmp# telnet localhost 8080
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 '''PURGE /users/7238558.jpg HTTP/1.0
 '''
 HTTP/1.1 404 Not Found
 Date: Mon, 13 Aug 2007 08:32:24 GMT
 Server: Varnish
 Connection: close
 Content-Type: text/html; charset=iso-8859-1

 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
 <HTML>
   <HEAD>
     <TITLE>404 Not Found</TITLE>
   </HEAD>
   <BODY>
     <H1>Error 404 Not Found</H1>
     <P>Not in cache.</P>
     <H3>Guru Meditation:</H3>
     <P>XID: 817904682</P>
     <I><A href="http://www.varnish-cache.org/">Varnish</A></I>
   </BODY>
 </HTML>
 Connection closed by foreign host.
 root at ubuntu60664m:/tmp# telnet localhost 8080
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 PURGE /users/7238558.jpg

 HTTP/1.1 400 Bad Request
 Date: Mon, 13 Aug 2007 08:32:30 GMT
 Server: Varnish
 Connection: close
 Content-Type: text/html; charset=iso-8859-1

 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
 <HTML>
   <HEAD>
     <TITLE>400 Bad Request</TITLE>
   </HEAD>
   <BODY>
     <H1>Error 400 Bad Request</H1>
     <P>Bad Request</P>
     <H3>Guru Meditation:</H3>
     <P>XID: 817904827</P>
     <I><A href="http://www.varnish-cache.org/">Varnish</A></I>
   </BODY>
 </HTML>
 Connection closed by foreign host.
 root at ubuntu60664m:/tmp#

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/149#comment:2>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list