PikiPiki
WikiEngine by Martin Pool, in Python
basis for MoinMoin and PikiePikie
http://sourcefrog.net/projects/piki/
This was the first WikiEngine I ran myself, back in late 1999, on an MsWindows Lap Top. Then Wiki On Mac, Wiki On Zaurus, Wiki On N810, then back to Wiki On Mac (all as my Private Wiki).
- 2011-07-20-ArchosAndroidPrivateWiki
- 2014-01-07-TryingDropboxSynchForPrivateWiki
- using
pcgi.py
that matchesMyCgi.py
from here
On some fresh installs (esp Wiki On Mac), initial install starts returning raw (unrendered) HTML to the browser. Old notes are at Django For Simplest Thing. Now trying to fix Sept07'2014 on old IMac.
- tried changing default-opener of
piki.py
to Idle - no change - tried changing hash-bang to
#!/usr/bin/python
(based onwhich python
) - no change - check output in Mac Chrome
network
tab, it's returning header oftext/plain
despite the code havingtext/html
in it - change hash-bang in
pcgi.py
to#!/usr/bin/python
(based onwhich python
) - no change - try
curl --head <http://localhost:8008/piki.py?RecentChanges>
HTTP/1.0 200 OK
Server: SimpleHTTP/0.6 Python/2.6.1
Date: Mon, 08 Sep 2014 14:19:37 GMT
Content-type: text/plain
Content-Length: 18199
Last-Modified: Mon, 08 Sep 2014 13:58:40 GMT
- in
pcgi.py
changed tohandler_class.cgi_directories = ['']
- that did it
Edited: | Tweet this! | Search Twitter for discussion