Logo address

namespace_80

目次

2006/08/23 Update

Location

	$web/etc/namespace_80

Description

Let $web be a httpd root. Real host, virtual hosts and regular users can reorganize namespace using "$web/etc/namespace_80" where number 80 is a port number. Therefore if the request comes from port 443, then the reorganization will be done using "namespace_443".
The reorganization is done using only bind command. Assume a CGI requires run time library "/sys/lib/somelib", then the library will be added in "/sys/lib" in httpd space by a line in "namespace_80"
bind -a /etc/lib	/sys/lib
where we assume "somelib" is placed in "$web/etc/lib" in real space.
bind is executed in the space that is configured in "/lib/namespace.httpd"; therefore the root "/" is "$web" in real space.

Restriction

It is not allowed to bind system files to document space. Such an operation will be simply ignored.