Re: [squid-users] using monitorurl with originservers

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 09 Jan 2007 11:03:47 +0100

tor 2007-01-04 klockan 11:42 -0500 skrev Benno Blumenthal:

> OK, thank you, that clarifies the situation (though for originservers it
> seems to work both ways, i.e. as directory or with full url).

Hmm.. right. Looking at the code I see we added support for both forms.
If just a local URI is used then Squid assumes the URL should be
http://hostname:port/uri

> cache_peer libby.ldeo.columbia.edu parent 8180 3130 no-query no-digest
> originserver monitorinterval=30 monitorsize=100-200
> monitorurl=http://libby.ldeo.columbia.edu:8180/sesame/servlets/evaluateGraphQuery?repository=dl-rdfs&serialization=ntriples&queryLanguage=SeRQL&query=CONSTRUCT+*%0D%0AFROM%0D%0A%7Br%3ARDFCache%7D+r%3Aupload_complete+%7Bflag%7D%0D%0AUSING+NAMESPACE%0D%0A+r+%3D+%3Chttp%3A%2F%2Firidl.ldeo.columbia.edu%2Fontologies%2Frdfcache.owl%23%3E
> name=sesame_exp round-robin

Testing, and failure.. Turns out the monitor url is limited to 79
characters for some reason. Will fix this.

Regards
Henrik

Received on Tue Jan 09 2007 - 03:03:54 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST