your vltrans.php script to translate output is amazing, great hack! Human readability is often sacrificed in tools.
Thanks, -Javier On Thu, Feb 9, 2012 at 11:59 AM, kokoniimasu <[email protected]> wrote: > Hi, > > Varnish redirect is necessary to write in two actions. > I tried to be simply redirect. > > For example, to redirect http://www.example.com > > > import rewrite; > sub vcl_recv{ > error( rewrite.location( 302,"http://www.example.com/" ) ); > } > > > vcl_error is not necessary > > blog-post: > http://blog.xcir.net/index.php/2012/02/varnish-redirect-operation-to-easylibvmod-rewrite/ > > code: > https://github.com/xcir/libvmod-rewrite > > > and wrote code to simplify the output of the varnishlog. > http://blog.xcir.net/index.php/2012/02/convert-varnishlog-output-to-easy/ > > > I hope that this code is of help to you. > > -- > Syohei Tanaka(@xcir) > http://xcir.net/ > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
