mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 14:55:10 +00:00
Update phpsysinfo instructions in usr.sbin.apache2. Incorporate feedback from
Simon Deziel. Acked-By: Jamie Strandboge <jamie@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
@@ -53,13 +53,18 @@
|
|||||||
# 2- Enable the main apache2 profile
|
# 2- Enable the main apache2 profile
|
||||||
# sudo aa-enforce /etc/apparmor.d/usr.sbin.apache2
|
# sudo aa-enforce /etc/apparmor.d/usr.sbin.apache2
|
||||||
#
|
#
|
||||||
# 3- Configure apache with the following:
|
# 3- Configure apache with the following (or similar):
|
||||||
|
# Alias /phpsysinfo /usr/share/phpsysinfo
|
||||||
|
# <Location /phpsysinfo>
|
||||||
|
# <IfModule mod_apparmor.c>
|
||||||
|
# AAHatName phpsysinfo
|
||||||
|
# </IfModule>
|
||||||
#
|
#
|
||||||
# <Directory /var/www/phpsysinfo/>
|
# # adjust as necessary:
|
||||||
# <IfModule mod_apparmor.c>
|
# Options None
|
||||||
# AAHatName phpsysinfo
|
# Require local
|
||||||
# </IfModule>
|
# Require ip 192.168.0.0/16
|
||||||
# </Directory>
|
# </Location>
|
||||||
#
|
#
|
||||||
|
|
||||||
#include <abstractions/base>
|
#include <abstractions/base>
|
||||||
|
Reference in New Issue
Block a user