The usr.sbin.apache2 profile has some instructions on how to use the phpsysinfo profile. Update those to make it easier for people.
-- Jamie Strandboge http://www.ubuntu.com/
Author: Jamie Strandboge <[email protected]> Description: update phpsysinfo instructions in usr.sbin.apache2 Forwarded: yes Index: apparmor-2.8.96~2652/profiles/apparmor.d/usr.sbin.apache2 =================================================================== --- apparmor-2.8.96~2652.orig/profiles/apparmor.d/usr.sbin.apache2 +++ apparmor-2.8.96~2652/profiles/apparmor.d/usr.sbin.apache2 @@ -53,13 +53,20 @@ # 2- Enable the main apache2 profile # 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/> - # <IfModule mod_apparmor.c> - # AAHatName phpsysinfo - # </IfModule> - # </Directory> + # # adjust as necessary: + # Options None + # Order allow,deny + # Allow from localhost 127.0.0.0/8 ::1 + # Allow from 192.168.0.0/16 + # # Allow from All + # </Location> # #include <abstractions/base>
signature.asc
Description: OpenPGP digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
