I put the mount in /lib/namespace.httpd and i am getting the same results. When i try to create test2 i get this result on the web browser.
--------------- Object not found The object /wiki/sample/test2/werror.html does not exist on this server. errstr: '/usr/web/wiki/sample/test2' file does not exist uri host: header host: localhost:7000 actual host: who cares -------------- looking in /mnt/wiki i see this term% ls -l /mnt/wiki d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/foo d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/foobar d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/foofileee --rw-rw-rw- M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/map --rw-rw-rw- M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/new d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/plan_9_wiki d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/sandbox d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/supported_pc_hardware d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/test d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/test2 d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/test_page d-r-xr-xr-x M 36 wiki wiki 0 Dec 31 14:52 /mnt/wiki/wiki_syntax looking further i see this when i test a know good wiki directory. term% ls -l /mnt/wiki/sandbox --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/.httplogin d-r-xr-xr-x M 36 wiki wiki 0 Apr 9 2002 /mnt/wiki/sandbox/1018330739 d-r-xr-xr-x M 36 wiki wiki 0 Dec 30 21:20 /mnt/wiki/sandbox/1262226056 d-r-xr-xr-x M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/1262226284 --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/current --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/diff.html --r--r--r-- M 36 wiki wiki 0 Dec 31 14:54 /mnt/wiki/sandbox/edit.html --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/history.html --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/history.txt --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/index.html --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/index.txt --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/werror.html --r--r--r-- M 36 wiki wiki 0 Dec 30 21:24 /mnt/wiki/sandbox/werror.txt term% When i check one of the files i tried to create through the web interface i get this: term% ls -l /mnt/wiki/test2 ls: /mnt/wiki/test2: '/mnt/wiki/test2' file does not exist I'm a bit puzzled. --- Marina Federico G. Benavento wrote: > 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 >> >> > > >
