]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/tips/dot_cgi.mdwn
(no commit message)
[ikiwiki.git] / doc / tips / dot_cgi.mdwn
index 04d7a972191f7293c38597424ebe3cc2f9cbc5f4..0379ece9334f74f523a03bfc6a02e2b090815f07 100644 (file)
@@ -52,6 +52,16 @@ Note that the first part enables cgi server wide but depending on default
 configuration, it may be not enough. The second part creates a specific
 rule that allow `ikiwiki.cgi` to be executed.
 
-**Warning:** I only use this on my development server (offline). I am not
-sure of how secure this approach is. If you have any thought about it, feel
-free to let me know.
+**Warning:** I only use this lighttpd configuration on my development
+server (offline). I am not sure of how secure this approach is.
+If you have any thought about it, feel free to let me know.
+
+## nginx
+
+* To run CGI under nginx, just us a FastCGI wrapper like [this one](http://technotes.1000lines.net/?p=23). The wrapper must be started somehow just like any other FastCGI program. I use launchd on OSX.
+
+## boa
+
+Edit /etc/boa/boa.conf and make sure the following line is not commented:
+
+    AddType application/x-httpd-cgi cgi