Novell APPARMOR Admin Manual page 88

Hide thumbs Also See for APPARMOR:
Table of Contents

Advertisement

U s e r ' s G u i d e
tion, mod_change_hat should use a specific hat:
<Location /foo/>
ImmHatName MY_HAT_NAME
</Location>
This will try to use "MY_HAT_NAME" for any URI that begins with /foo/
(e.g. /foo/, /foo/bar, /foo/cgi/path/blah_blah/blah, etc.).
The Directory Directive works similar to the Location Directive, except
it refers to a pathname in the filesystem, as seen in the following exam-
ple:
<Directory "/srv/www/www.
lack of trailing slash
ImmHatName immunix.com
</Directory>
Example:
directive in the following example. The tarball can be downloaded from
http://phpsysinfo.sourceforge.com.
1. After downloading, install it into /srv/www/htdocs/sysinfo/.
88
Novell AppArmor
The program phpsysinfo is used to illustrate a Location
.com/docs"> # Note

Advertisement

Table of Contents
loading

Table of Contents