Skip to content

Instantly share code, notes, and snippets.

@denics
denics / iipsrv.conf
Created Jun 30, 2014
Example of apache2 configuration for running IIPImage on MacOS using Brew. More info: http://iipimage.sourceforge.net/documentation/server/
View iipsrv.conf
#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 Dec 8, 2013
Linux pix 3.10.22+ #606 PREEMPT Thu Dec 5 18:16:13 GMT 2013 armv6l GNU/Linux
View gist:7862767
{"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",