lib/namespace.httpd: revert

This commit is contained in:
stanley lieber 2012-01-05 16:48:31 -06:00
parent 7b6d8b29b7
commit 28fe5460be

View file

@ -1,39 +1,39 @@
# At this stage, namespace is alredy configured using /lib/namespace # we start with the namespace of the console...
# We can add something to it.
# # man2html expects man pages under /sys/man
# Here /usr/web is our webbase mount #s/boot /n/emelieother other
# and `alice' stands for any user 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
# In case that `/~alice' is requested, # just so people will find something under plan9
# bind /usr/alice/web /usr/web/mnt bind /usr/web/plan9dist /usr/web/plan9
# is internally executed at the beginning.
# # users
# configure our basic namespace bind /usr/mike/www /usr/web/incoming/mike
#
bind -a /usr/web/bin/$cputype /bin # netlib
bind -a /usr/web/bin/rc /bin 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
bind /sys/lib /usr/web/sys/lib # who what why when where
bind /lib /usr/web/lib mount /srv/alice /n/alice
bind /bin /usr/web/bin bind -b /n/alice/cm /usr/web/cm
bind /rc/lib /usr/web/rc/lib bind /usr/web/cm/who /usr/web/who
bind -c #e /usr/web/env bind -b /usr/web/cm/physics/who /usr/web/who
bind #c /usr/web/dev 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
bind /proc /usr/web/proc # formerly ftp.research.bell-labs.com
bind -a #d /usr/web/fd bind -b /n/alice/usr/ftp /usr/web/dist
# In case of `~' , # wiki (questions to rsc)
# bind /usr/web/mnt /usr/web/doc mount -b #s/wiki.plan9 /usr/web/wiki/plan9
# is internally executed
# Let /usr/web be our webroot then # httpd will bind /usr/web onto /
# httpd internally execute the followings:
# bind /usr/web /
# cd /
# to cut off everything not mounted below /usr/web
#