#!/bin/rc cat<<-eof- basic

Basic Properties


Pegasus is running on Plan9 and Plan9 support per process name space. Pegasus provides a per user name space for httpd service using this Plan9 power. I will show you in this page what is `per user name space'.

I mean by the word `user':

  1. A user of the system. Any user can have his/her web page in the direcory:
    $$home/web
  2. A virtual host of the server. Fore example pegasus.aichi-u.ac.jp is one of virtual hosts of this server. It is defined in /sys/lib/httpd.rewrite:
    	http://pegasus	*/usr/pegasus/www

First of all, I would like to notice you that this is a CGI program of Pegasus. You can look the code. click The following is an output of

ls -l /

name space of http service

/usr/alice/web/doc/index.html
-eof-