/sys/log/blacklist
/sys/lib/httpd.conf
$web/etc/namespace_80
REQUEST_URI in CGI
~user of virtual host
-d of httpd
-r of httpd
-f of httpd
formparse
webm
2003/01/11
This release addresses to the problems that server administrator may experience in mixed port environment. The change is so much that the version number is jumped from 1.2a to 2.0.
/sys/lib/httpd.conf
/sys/log/blacklist
/sys/lib/httpd.conf/sys/lib/httpd.conf is introduced.
$home denotes a home directory that is owned by the person who administrates the web document, and $web denotes his/her web root. Then the document will be located beneath the document root $web/doc .$web of host is determined by /sys/lib/httpd.rewrite. A user have his/her web root without description in that file; the value is $home/web.
Real host can configure exactly same manner as virtual hosts and users.
$web/etc/namespace_80namespace.cgi is changed to namespace_80. This means name space can be configured per port; in addition the result is effective not only for CGI but also for file searching. (Fig.3 and Fig.4) |
![]() |
Fig.3 namespace.cgi |
Fig.4 namespace_80 |
$web/bin/386 $web/bin/rchave been bound to
/bin in $web/etc/namespace.cgi. Now Pegasus automatically bind them to /bin.
/sys/lib/httpd.rewrite and $web/etc/rewrite. It is not a good solution to have redirection files for each port, because that makes hard for server administrator to have global view of redirection. Therefore I pursued the possibility to do that by using single file keeping the previous format.
$target was added if it was absent in lines of $web/etc/handler; the example is the last line of the followings:# path mimetype ramfs execpath arg ... *.http - 0 $target *.html text/html 1 $target *.dx_html text/html 0 /bin/dxNow this facility is abolished. If you need
$target, please write explicitly. Therefore we must write as below:# path mimetype unused execpath arg ... *.http - 0 $target *.html text/html 1 $target *.dx_html text/html 0 /bin/dx $targetAnd, in this release, the file that is given by
$target need not be exist; ramfs is always created and therefore 1/0 values of ramfs field lost the meaning.
REQUEST_URI in CGIREQUEST_URI in CGI. Pegasus will add index.html if the requested path end with "/"(this means the request is directory path). In earlier version CGI programs could not know whether the original request ends with "/" or not. I fixed so that the value of REQUEST_URI is uncooked request and the value of REQUEST_PATH is cooked value by the server.
~user of virtual host~user to virtual hosts. That is, the request belowhttp://virtual.co.jp/~alicehas been accepted even if
virtual.co.jp is a virtual host in earlier release. Now such a request will be rejected.
-d of httpd-d of httpd is wiped out. We have now /sys/lib/httpd.conf and we can define the server name in this file.-r of httpd-r of httpd is wiped out. We have now /sys/lib/httpd.conf and we can define the replacement of /usr/web/ in this file.-f of httpd-f of httpd is wiped out. This was needless option.
formparseformparse can receive a file. Current restriction is: a single file in one POST.
webmwebm is a new server application that is added in this release. You can send files, remove files or edit files in server using webm.