From: Joey Hess Date: Tue, 13 Jan 2009 00:16:12 +0000 (-0500) Subject: update X-Git-Tag: 3.02~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7491b7de112cbf9c6159a03df63eb64b5100b1fc;p=ikiwiki.git update --- diff --git a/doc/tips/apache_cgi.mdwn b/doc/tips/apache_cgi.mdwn index f10baed2e..3ceb0e182 100644 --- a/doc/tips/apache_cgi.mdwn +++ b/doc/tips/apache_cgi.mdwn @@ -1,9 +1,9 @@ -Many ikiwiki examples name the [[cgi]] "ikiwiki.cgi", and put it somewhere +It's common to name the [[cgi]] "ikiwiki.cgi", and put it somewhere like `~/public_html/ikiwiki.cgi`, or `/var/www/wiki/ikiwiki.cgi`. -If you follow those examples, you may find that when trying to edit a page -in your wiki, you see the raw contents of the ikiwiki.cgi program. Or get a -permission denied problem. +If you do that, you may find that when trying to edit a page in your wiki, +you see the raw contents of the ikiwiki.cgi program. Or get a permission +denied problem. This is because apache is generally not configured to run cgi scripts unless they're in `/usr/lib/cgi-bin/`. While you can put ikiwiki.cgi in