I think you need the mount in /lib/namespace.httpd since for security reasons httpd becomes none and with a limited namespace
On Thu, Dec 31, 2009 at 4:52 PM, Marina Brown <[email protected]> wrote: > Hi All: > > I have been setting up the informal wiki on a vx32 maching running > on my desktop. > > I just set up a sample wiki according to the instructions on the plan9 > wiki and i see the following behavior. > > I am able to edit and make changes to existing wiki pages. > > When i try to create a new page it creates a new directory for it in > /mnt/wiki but the pages are not copied into it. I get this error message > trying to create a page 'foobar' > > ---------- > Object not found > The object /wiki/sample/foobar/werror.html does not exist on this server. > > errstr: '/usr/web/wiki/sample/foobar' file does not exist > uri host: > header host: localhost:7000 > actual host: who cares > --------------- > > looking in /mnt/wiki i see /mnt/wiki/foobar but there are no files > under it. > > here are a few directory listing since it does seem to be a permission > problem. > > term% ls -l /mnt/wiki > d-r-xr-xr-x M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/foo > d-r-xr-xr-x M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/foobar > --rw-rw-rw- M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/map > --rw-rw-rw- M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/new > d-r-xr-xr-x M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/plan_9_wiki > d-r-xr-xr-x M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/sandbox > d-r-xr-xr-x M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/supported_pc_hardware > d-r-xr-xr-x M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/test > d-r-xr-xr-x M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/test_page > d-r-xr-xr-x M 37 wiki wiki 0 Dec 31 13:48 /mnt/wiki/wiki_syntax > > term% ls -l /usr/web/wiki/sample > --rw-r--r-- M 2 marina marina 1382 Dec 30 08:11 > /usr/web/wiki/sample/create.html > d-r-xr-xr-x M 47 wiki wiki 0 Dec 31 13:49 /usr/web/wiki/sample/foo > d-r-xr-xr-x M 47 wiki wiki 0 Dec 31 13:49 /usr/web/wiki/sample/foobar > --rw-rw-rw- M 47 wiki wiki 0 Dec 31 13:49 /usr/web/wiki/sample/map > --rw-rw-rw- M 47 wiki wiki 0 Dec 31 13:49 /usr/web/wiki/sample/new > d-r-xr-xr-x M 47 wiki wiki 0 Dec 31 13:49 > /usr/web/wiki/sample/plan_9_wiki > --rw-r--r-- M 2 marina marina 1715 Dec 30 08:10 > /usr/web/wiki/sample/power36.gif > d-r-xr-xr-x M 47 wiki wiki 0 Dec 31 13:49 > /usr/web/wiki/sample/sandbox > d-r-xr-xr-x M 47 wiki wiki 0 Dec 31 13:49 > /usr/web/wiki/sample/supported_pc_hardware > d-r-xr-xr-x M 47 wiki wiki 0 Dec 31 13:49 /usr/web/wiki/sample/test > d-r-xr-xr-x M 47 wiki wiki 0 Dec 31 13:49 > /usr/web/wiki/sample/test_page > d-r-xr-xr-x M 47 wiki wiki 0 Dec 31 13:49 > /usr/web/wiki/sample/wiki_syntax > term% > > Here is the script i wrote to start the wiki and httpd. > > #!/bin/rc > > wikifs -p 666 -s wiki.sample -a tcp!*!wiki /sys/lib/wiki > mount -b /srv/wiki.sample /usr/web/wiki/sample > ip/httpd/httpd -a tcp!*!7000 > > Thanks in advance for help ;-) > > ---- Marina Brown > > -- Federico G. Benavento
