[apparmor] apache2 profile update
Seth Arnold
seth.arnold at canonical.com
Mon Sep 8 23:38:16 UTC 2014
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 <seth.arnold at canonical.com> both as-is or with
Simon's suggested change (which seems like a good idea to me).
Thanks
> Author: Jamie Strandboge <jamie at canonical.com>
> 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
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140908/7a14c3fc/attachment.pgp>
More information about the AppArmor
mailing list