On Mon, Sep 08, 2014 at 04:27:27PM -0500, Jamie Strandboge wrote: > > 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/
Acked-by: Seth Arnold <[email protected]> both as-is or with Simon's suggested change (which seems like a good idea to me). Thanks > 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> > -- > AppArmor mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/apparmor
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
