Re: URL rewriting / ignoring query parameters?

2007-09-11 Thread Dag-Erling Smørgrav
Poul-Henning Kamp [EMAIL PROTECTED] writes: sub vcl_recv { set req.url = regsub(req.url, ?.*, ); } You need to quote the ?... DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list

Re: Varnishd startup error in mgt_vcc.c

2007-09-11 Thread Dag-Erling Smørgrav
Jim Baack [EMAIL PROTECTED] writes: I am new to Varnish and trying to get it running on FC5. I get this error on 1.1.1 and the current 1.1 branch from SVN. Internal error: cc(1) exit status 0x My startup command line is /usr/local/sbin/varnishd -a 127.0.0.1:3000 -f

Re: child process restarts frequently

2007-09-11 Thread Dag-Erling Smørgrav
Håvard Futsæter [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: We know what causes it, but it isn't trivial to fix without degrading performance too much. Does this mean it is difficult to figure out a satisfactory solution at all? Or that you have a solution, but

Re: slightly offline...

2007-09-11 Thread Dag-Erling Smørgrav
Poul-Henning Kamp [EMAIL PROTECTED] writes: The conference is going to take practically all my time until next wednesday, but I'll be happy to talk varnish with anybody who attends, time permitting of course. I will also be there, and hopefully not quite as busy as Poul-Henning. DES --

Re: URL rewriting / ignoring query parameters?

2007-09-11 Thread Tom Pepper
Hi Poul: Thanks for the suggestions. Removing this routine seems to have fixed my issues: sub vcl_hash { hash; } It appears, contrary to the vcl(7) manpage, to be different than the functional default. Is there an updated routine which would better

Re: URL rewriting / ignoring query parameters?

2007-09-11 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Tom Pepper writes: Hi Poul: Thanks for the suggestions. Removing this routine seems to have fixed my issues: sub vcl_hash { hash; } Ahh yes, that wouldn't work, I overlooked that. I think that may be the vcl(7) being a bit

Re: URL rewriting / ignoring query parameters?

2007-09-11 Thread Dag-Erling Smørgrav
Tom Pepper [EMAIL PROTECTED] writes: From my experience, cutting and pasting the example out of the man page into the first working example seems to have issues (all of my hits came back in the logs with the same hash id when I had that routine as part of my vcl.) Why did you even cut and

Re: URL rewriting / ignoring query parameters?

2007-09-11 Thread Tom Pepper
um, because i am teh crazy? kidding aside, i was attempting to establish a baseline config from which i could get a grasp of how varnish works through each particular routine. i'll be the first to agree that it's not a brilliant idea for production, but was rather hoping to have a solid

Problems with the cache

2007-09-11 Thread Erik Torlen
Im trying to get varnish running smoothly on my server with apache on it. Unforunately Im having some problems to get the caching thing working. I have set varnishd to use default.vcl on a Debian 4.0 etch OS. it starts up without any problem but doesn't cache anything. Also the varnishlog

Re: Problems with the cache

2007-09-11 Thread Per Andreas Buer
(Please stay on the mailing list.) Erik Torlen skrev: The default configuration will not cache if your are setting cookies or if your clients are sending cookies to Varnish. I think this is covered in the FAQ. I just made a simple index.html with two example jpeg pics. No extra header