Merged, a bit of a cleanup and written a man page, code can be found here: <a href="https://github.com/cyberroadie/varnish-urlsort">https://github.com/cyberroadie/varnish-urlsort</a><div>Thanks AD for the vmod help :-)</div>
<div><br></div><div>Olivier</div><div><br><div class="gmail_quote">On 5 January 2012 18:09, AD <span dir="ltr"><<a href="mailto:straightflush@gmail.com">straightflush@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Roberto/Oliver,<div><br></div><div> I forked and committed the vmod to <a href="https://github.com/denen99/libvmod-urlsort" target="_blank">https://github.com/denen99/libvmod-urlsort</a>. </div><div><br></div><div>  I just copied your source and updated the vmod_urlsort.c file to include your source and create the necessary vcc file.</div>

<div><br></div><div>To compile i just did </div><div><br></div><div>./autogen.sh</div><div>VARNISHSRC=/Downloads/varnish-3.0.2 VMODDIR=/tmp/vmod ./configure</div><div>make</div><div>make install </div><div><br></div><div>

then copy /tmp/vmod/libvmod_urlsort.* to your lib/vmod directory of varnish.  </div><div><br></div><div>I havent tested the vcl yet, so if someone can do "import urlsort;" and try using it that would be great... i will try to test a bit later.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">AD</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jan 5, 2012 at 11:00 AM, AD <span dir="ltr"><<a href="mailto:straightflush@gmail.com" target="_blank">straightflush@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just forked it, will let you know when committed (denen99)<div><br></div><div><br><br><div class="gmail_quote"><div>On Thu, Jan 5, 2012 at 10:52 AM, Olivier Van Acker <span dir="ltr"><<a href="mailto:cyberroadie@gmail.com" target="_blank">cyberroadie@gmail.com</a>></span> wrote:<br>


</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br><br><div class="gmail_quote"><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


i will create branch of your github repo and stick it in a "vmod" subdir if thats OK ?<div>
<div><br></div></div></blockquote><div><br></div></div><div>Yes, go for it :-) Or I can also add you as a collaborator to this repo, what's your github name?</div><div><br></div></div>
<br></div><div>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>