Jesred does not support the POST method. The Jesred developer is aware of this, however due to time constraints he has not been able to add the method, though he is hoping to do so as soon as possible. In the mean time, I came across a fix (it appears to work) by Eugene Miretskiy. Perhaps it may solve your problem:
---------------
From: Eugene Miretskiy (eugene@invision.net)
Date: Fri Feb 04 2000 - 08:09:09 MST
In reply to: paguilar@isite.ciceana.org.mx: "Re: jesred GET requirement"
------------------------------------------------------------------------
I still do not understand this requrement. squid can handle posts, can't it?
jesreds job is to rewrite the url, why should it care about the request method?
As a matter of fact, this simple change to rewrite.c in jesred makes it
recognize
post.
110c110
< if( strcmp(*method, "GET") )
--- > if( !(strcmp(*method, "GET") || strcmp(*method, "POST"))) 111a112 > Can somebody please explain to me why is there a compelling reason to require GET method? Thank you. -------------------------------------------------------------------------------- -----Original Message----- From: Simon Meddings [mailto:simon.meddings@object1.com] Sent: 16 September 2002 17:20 To: squid users Subject: Re: [squid-users] POST method At 16:05 10/09/2002, you wrote: >You do not normally need to do anything special to allow for POST. > >Are you inside a proxy based firewall? If so, see the Squid FAQ on how to >configure Squid within firewalls. No - but I have more info on the problem now. setting: httpd_accel_host to virtual and httpd_accel_port to 0 causes the following in the jesred redirect.log 1032187450.226 Request: http://someurl.somepage/view=search 2xx.xx.xxx.xx//- - POST 1032187450.226 method not "GET" http://someurl.somepage/view=search 2xx.xx.xxx.xx/- - POST 1032187450.231 Request: http://someurl.somepage/view=search 2xx.xx.xxx.xx//- - POST 1032187450.231 method not "GET" http://someurl.somepage/view=search 2xx.xx.xxx.xx//- - POST Any ideas?? Cheers Simon. >Regards >Henrik > >Simon Meddings wrote: > > Hi all, > > > > Having problems with squid not allowing POST methods through. > > I've setup the acl: but no joy - I'm getting 504 on any POST requests > > ACL post method POST > > http_access allow post > > > > > > anyone have any ideas? > > > > Cheers > > Si
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:19 MST