diff options
| author | cinap_lenrek <cinap_lenrek@centraldogma> | 2012-01-06 18:58:39 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2012-01-06 18:58:39 +0100 |
| commit | 6a5f2d9d553a69cbfeb3410c26623f9f98177aa1 (patch) | |
| tree | 68eb3456b113658e2b3dfe63d778743b62f06dca /lib/namespace.httpd | |
| parent | e7dd5dad5cafafac34f2e37f9058cba73f946b2c (diff) | |
| download | plan9front-6a5f2d9d553a69cbfeb3410c26623f9f98177aa1.tar.xz | |
Backed out changeset db0fa2edf131
reverting bad commit
Diffstat (limited to 'lib/namespace.httpd')
| -rw-r--r-- | lib/namespace.httpd | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/lib/namespace.httpd b/lib/namespace.httpd index b6daf3e19..74d4faaeb 100644 --- a/lib/namespace.httpd +++ b/lib/namespace.httpd @@ -1,39 +1,39 @@ -# At this stage, namespace is alredy configured using /lib/namespace -# We can add something to it. - -# -# Here /usr/web is our webbase -# and `alice' stands for any user -# - -# In case that `/~alice' is requested, -# bind /usr/alice/web /usr/web/mnt -# is internally executed at the beginning. - -# -# configure our basic namespace -# - -bind -a /usr/web/bin/$cputype /bin -bind -a /usr/web/bin/rc /bin - -bind /sys/lib /usr/web/sys/lib -bind /lib /usr/web/lib -bind /bin /usr/web/bin -bind /rc/lib /usr/web/rc/lib -bind -c #e /usr/web/env -bind #c /usr/web/dev - -bind /proc /usr/web/proc -bind -a #d /usr/web/fd - -# In case of `~' , -# bind /usr/web/mnt /usr/web/doc -# is internally executed - -# Let /usr/web be our webroot then -# httpd internally execute the followings: -# bind /usr/web / -# cd / -# to cut off everything not mounted below /usr/web -# +# we start with the namespace of the console... + +# man2html expects man pages under /sys/man +mount #s/boot /n/emelieother other +bind /n/emelieother/plan9/sys/man /usr/web/sys/man +#bind /n/emelieother/plan9/sys/doc /usr/web/sys/doc +#bind /sys/man /usr/web/sys/man +bind /sys/doc /usr/web/sys/doc + +# just so people will find something under plan9 +bind /usr/web/plan9dist /usr/web/plan9 + +# users +bind /usr/mike/www /usr/web/incoming/mike + +# netlib +bind /netlib/pub /usr/web/netlib +mount -b #s/netlib.depend.pub /usr/web/netlib.depend +# don't need to bind to /usr/web/math etc. because of /sys/lib/http-rewrite + +# who what why when where +mount /srv/alice /n/alice +bind -b /n/alice/cm /usr/web/cm +bind /usr/web/cm/who /usr/web/who +bind -b /usr/web/cm/physics/who /usr/web/who +bind -b /usr/web/cm/blrsv/who /usr/web/who +bind -b /usr/web/cm/ss/who /usr/web/who +bind -b /usr/web/cm/ms/who /usr/web/who +bind -b /usr/web/cm/china/who /usr/web/who +bind -b /usr/web/cm/cs/who /usr/web/who +bind /usr/web/cm/ms/what/wavelet /usr/web/wavelet + +# formerly ftp.research.bell-labs.com +bind -b /n/alice/usr/ftp /usr/web/dist + +# wiki (questions to rsc) +mount -b #s/wiki.plan9 /usr/web/wiki/plan9 + +# httpd will bind /usr/web onto / |
