Hitachi

uCosminexus Application Server HTTP Server User Guide


4.5.2 Access control by the host name or IP address of client

For the access control according to the host name and IP address of a client, use the directives Allow from and Deny from. Allow from directive specifies a host name that permits the access and Deny from directive specifies a host name that prohibits the access.

Example: Prohibit the requests received through the proxy to refer the directories under Application-Server-installation-directory\httpsd\htdocs\directory.

Specify the following directives in the httpsd.conf file. When a user accesses Application-Server-installation-directory>\httpsd\htdocs\, the Web browser that uses the proxy proxy.xxx.soft.hitachi.co.jp, is denied access with the status code 403 Forbidden:

<Directory "Application-Server-installation-directory/httpsd/htdocs">    Directory definition
    Order deny,allow                        Define priority order of access permission and prohibition
    Deny from proxy.xxx.soft.hitachi.co.jp  Prohibiting to access
</Directory>

[Figure]