[LUNI] ANNOUNCEMENT: LUNI WikiMartin Maney maney at pobox.comMon Jun 30 23:15:07 CDT 2003
I suspect the glitch with user IDs not being recognized when you first
arrive and the exposure of index.cgi int he URL are connected. What's
the apache config look like? What I have here for a simple server
setup is this:
Alias /wiki/ "/var/lib/vhost/moin/htdocs/"
ScriptAlias /moin "/var/lib/vhost/moin/two14/moin.cgi"
I thought I was just following the install instructions, but maybe I
was playing around with separating the per-wiki tree from the moin-moin
stock stuff? The two14 directory contains moin.cgi, moin_config.py,
and the data directory.
I suspect there's a problem with using luni.org/wiki as the prefix for
wiki pages - the implementation assumes /wiki/ is where it can find
stuff (images, etc.)
The minimal vhost setup, which I just hawked up, goes like this:
<VirtualHost 172.31.1.10>
ServerName wiki.two14.net
DocumentRoot /var/www
Alias /wiki/ "/var/lib/vhost/moin/htdocs/"
ScriptAlias /two14 "/var/lib/vhost/moin/two14/moin.cgi"
</VirtualHost>
Now that I think of it, would it work if I just ScriptAliased / ?
Ah. Nope, although it does pull up the front page when no page name is
given. Okay, I guess I can see that - it needs a path component to
name the alias, and only happens to do the right thing for the empty
path case.
--
...and of course you must be careful not to overwrite the bounds of
memory blocks, free a memory block twice, forget to free a memory block,
use a memory block after it's been freed, use memory that you haven't
explicitly allocated, etc. We C++ programmers have developed tricks
to help us deal with this sort of thing, in much the same way that people
who suffer severe childhood trauma develop psychological mechanisms to
insulate themselves from those experiences. -- Joseph A. Knapka
More information about the luni mailing list |