Skip to content

Instantly share code, notes, and snippets.

@denics
denics / iipsrv.conf
Created June 30, 2014 13:42
Example of apache2 configuration for running IIPImage on MacOS using Brew. More info: http://iipimage.sourceforge.net/documentation/server/
#Install mod_fastcgi with Brew https://github.com/Homebrew/homebrew-apache/
LoadModule fastcgi_module /usr/local/Cellar/mod_fastcgi/2.4.6/libexec/mod_fastcgi.so
# Create a directory for the iipsrv binary
ScriptAlias /fcgi-bin/ "/usr/local/Library/WebServer/CGI-Executables/"
# Set the module handler
AddHandler fastcgi-script fcgi
# Initialise some variables for the FCGI server
FastCgiServer /usr/local/Library/WebServer/CGI-Executables/iipsrv.fcgi \
-initial-env LOGFILE=/tmp/iipsrv.log \
@denics
denics / gist:7862767
Created December 8, 2013 19:33
Linux pix 3.10.22+ #606 PREEMPT Thu Dec 5 18:16:13 GMT 2013 armv6l GNU/Linux
{"DESTDIR"=>"",
"MAJOR"=>"2",
"MINOR"=>"0",
"TEENY"=>"0",
"PATCHLEVEL"=>"247",
"INSTALL"=>"/usr/bin/install",
"EXEEXT"=>"",
"prefix"=>"/usr/local/rvm/rubies/ruby-2.0.0-p247",
"ruby_install_name"=>"ruby",
"RUBY_INSTALL_NAME"=>"ruby",