Re: [squid-users] regarding SEARCH method testing

From: Jigar Rasalawala <[email protected]>
Date: Tue, 9 Apr 2002 19:13:04 -0700

hi, again

I know format for SEARCH method from example.
but I do not know how does it look like for my environment.

request looks like this:

SEARCH /vroot/folder/ HTTP/1.1
Content-Type: text/xml
Content-Length: XXX
Host: server.tld
...
<?xml version="1.0"?>
<D:searchrequest xmlns:D = "DAV:">
   <D:sql>
   SELECT "DAV:contentclass", "DAV:displayname"
   FROM "/vroot/folder/"
   WHERE "DAV:ishidden" = false
     AND "DAV:isfolder" = false
   </D:sql>

now what to do ? any help appriciated..

Thanks
Jigar
----- Original Message -----
From: "Colin Campbell" <sgcccdc@citec.qld.gov.au>
To: "Jigar Rasalawala" <jrasalawala@fourelle.com>
Cc: <squid-users@squid-cache.org>
Sent: Tuesday, April 09, 2002 6:19 PM
Subject: Re: [squid-users] regarding SEARCH method testing

> Hi,
>
> On Tue, 9 Apr 2002, Jigar Rasalawala wrote:
>
> > hi guys,
> >
> > I am running Squid 2.4.STABLE4 on RedHat 7.1. I configured squid as
proxy
> > for SEARCH method.
> > How can i test whether it works or not ??? ( Without installing
> > MS-EXchange ) I installed IIS 5.0
> > and created WEB folder. I am able to access web folder using squid
proxy. In
> > packet trace I am not able to see
> > SEARCH method. Infact Browser is not sending search request to IIS.
> >
> > how can I test SEARCH method via Proxy ? Any hint or help appriciated..
>
> Do you know what the browser sends in a SEARCH request? For example, when
> you type "http://www.squid-cache.org" into your browser it
>
> a) connects to the proxy, eg port 3128
> b) says amongst other things, something like:
>
> GET http://www.squid-cache.org HTTP/1.0
> <nl>
> <nl>
> where "<nl>" stands for \n or newline. Actually it probably sends a cr-lf.
>
> To test a proxy or web server you can use telnet. Eg for a proxy on port
> 3128, you can
>
> telnet proxy 3128
> GET http://www.squid-cache.org HTTP/1.0
> <nl>
> <nl>
>
> and you should het an HTTP header back followed by the web page data.
>
> So, if you know who the "SEARCH is used you can do the same, replacing the
> "GET" with "SEARCH".
>
> Colin
>
>
Received on Tue Apr 09 2002 - 20:13:06 MDT

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