--- wikisrc/wiki/previewing_with_template.mdwn 2014/01/11 01:41:39 1.2 +++ wikisrc/wiki/previewing_with_template.mdwn 2014/01/11 06:52:21 1.5 @@ -18,7 +18,7 @@ Assuming that your wikisrc tree is in /u # Setting up ikiwiki with cgi mode -Use page.tmpl requires cgi support (it has HAVE_ACTIONS conditionals) +page.tmpl requires cgi support (it has HAVE_ACTIONS conditionals) ## Prepare destination directory $ mkdir ~/public_html @@ -37,6 +37,22 @@ Use page.tmpl requires cgi support (it h --dumpsetup ~/wikisrc.setup +# Setting up bozohttpd webserver +Put the following line to your /etc/inetd.conf. +This line enables per-user directories. + + http stream tcp nowait:600 _httpd /usr/libexec/httpd httpd -u /var/www + +Additionally, if you have disabled inetd, please enable it. + + $ vi /etc/rc.conf + +and put + + inetd=YES + +to it. + # Previewing wikisrc Open http://localhost/~your-user-name/wikisrc in your web browser.