Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'varnish'

1967836 - Build Varnish on OSX Snow Leopar: leopard x osx guide os mac snow howto varnish
  1. ## Install prerequisites to build Varnish and configure system path
  2. sudo port install automake libtool pkgconfig pcre
  3. export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
  4.  
  5. ## Make sure ~/src exists and then downloads and extracts Varnish there (change as required)
  6. mkdir -p ~/src && cd ~/src
  7. wget "http://downloads.sourceforge.net/project/varnish/varnish/2.1.3/varnish-2.1.3.tar.gz"
  8. tar xvzf varnish-2.1.3.tar.gz && cd varnish-2.1.3
  9.  
1268381 - PHP Varnish Stats Generator: php socket varnish varnishd
  1. <?php
  2.  
  3. // This is just a code snippet written by Jason "Foxdie" Gaunt, its not meant to be executed, it may work as-is, it may not.
  4. // I freely acknowledge this code is unoptimised but it has worked in practice for 6 months :)
  5.  
  6. // Lets define our connection details
  7. $adminHost = "127.0.0.1"; // IP address to connect to
  8. $adminPort = "2400"; // Port to connect to
  9.  
fantasy-obligation
fantasy-obligation
fantasy-obligation