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. paguilar@isite.ciceana.org.mx wrote: > > Hi, all redirector most recieve as the 4th field the GET method. > This is because the redirection (the URL where you want to redirect) most > be with GET. > What a redirector does it's just a URL substitution, squid is the one who > needs the method field (GET) back from the redirector in order to make the > desired redirection. > > Pedro Aguilar Iniestra > paguilar@isite.ciceana.org.mx > > On Thu, 3 Feb 2000, Eugene Miretskiy wrote: > > > > > Hello, > > > > Why does jesred require request to be GET, and refuses to > > handle POST? > > > > Here are few lines from redirect.log file: > > > > 949597164.228 Request: http://206.112.34.99/classifieds/vehiclesearch2.cfm > > 206.112.33.88/- - POST > > 949597164.229 method not "GET" > > http://206.112.34.99/classifieds/vehiclesearch2.cfm 206.112.33.88/- - POST > > > > Thanks. > > > > -- > > Eugene Miretskiy <eugene@invision.net> > > InVision.com, INC. (516) 543-1000 > > www.invision.net / www.longisland.com > > -- Eugene Miretskiy <eugene@invision.net> InVision.com, INC. (516) 543-1000 www.invision.net / www.longisland.comReceived on Fri Feb 04 2000 - 08:19:25 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:58 MST