Diff for /wikisrc/wiki/previewing_with_template.mdwn between versions 1.3 and 1.6

version 1.3, 2014/01/11 01:46:58 version 1.6, 2019/05/04 10:35:10
Line 1 Line 1
 [[!meta title="Previwing NetBSD Wiki with template"]]  [[!meta title="Previewing NetBSD Wiki with template"]]
   
 Some template requires ikiwiki cgi mode.  Some template requires ikiwiki cgi mode.
 If you setup ikiwiki with cgi mode, you can ignore cgi part of ikiwiki  If you setup ikiwiki with cgi mode, you can ignore cgi part of ikiwiki
Line 18  Assuming that your wikisrc tree is in /u Line 18  Assuming that your wikisrc tree is in /u
   
   
 # Setting up ikiwiki with cgi mode  # 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  ## Prepare destination directory
     $ mkdir ~/public_html      $ mkdir ~/public_html
Line 43  This line enables per-user directories. Line 43  This line enables per-user directories.
   
     http        stream  tcp     nowait:600      _httpd  /usr/libexec/httpd      httpd -u /var/www      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  # Previewing wikisrc
 Open http://localhost/~your-user-name/wikisrc in your web browser.  Open http://localhost/~your-user-name/wikisrc in your web browser.
   

Removed from v.1.3  
changed lines
  Added in v.1.6


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb