Novell LINUX ENTERPRISE SERVER 11 - SECURITY Manual page 338

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - SECURITY:
Table of Contents

Advertisement

The directory directive works similarly to the location directive, except it refers to a
path in the file system as in the following example:
<Directory "/srv/www/www.immunix.com/docs">
# Note lack of trailing slash
AAHatName immunix.com
</Directory>
Example:
following example. The tarball can be downloaded from
.sourceforge.net.
1 After downloading the tarball, install it into /srv/www/htdocs/
2 Create /etc/apache2/conf.d/phpsysinfo.conf and add the following
324
Security Guide
The program phpsysinfo is used to illustrate a location directive in the
phpsysinfo.
text to it:
<Location "/phpsysinfo">
AAHatName phpsysinfo
</Location>
The following hat should then work for phpsysinfo:
/usr/sbin/httpd2-prefork {
...
^phpsysinfo {
#include <abstractions/bash>
#include <abstractions/nameservice>
/bin/basename
/bin/bash
/bin/df
/bin/grep
/bin/mount
/bin/sed
/dev/bus/usb/
/dev/bus/usb/**
/dev/null
/dev/tty
/dev/urandom
/etc/SuSE-release
/etc/ld.so.cache
/etc/lsb-release
/etc/lsb-release.d/
/lib/ld-2.6.1.so
/proc/**
/sbin/lspci
http://phpsysinfo
ixr,
ixr,
ixr,
ixr,
Ux,
ixr,
r,
r,
w,
rw,
r,
r,
r,
r,
r,
ixr,
r,
ixr,

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX ENTERPRISE SERVER 11 - SECURITY and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents