[apparmor] Variable paths

azurIt azurit at pobox.sk
Tue Feb 24 12:07:32 UTC 2015


>I'm handling this with a small script that generates profile sniplets 
>for each vhost from a template (basically using sed to replace 
>@@DOCROOT@@ with the document root). 
>Another part of the script adds a hat for each vhost to the apache 
>profile that #include's the autogenerated sniplet.


Well, i was planning to create a hat for every _URI_ so i don't see this as a right way - i will end up with milions of hats because i will need to define it for every website. But thanks anyway.

Any other ideas?

azur



More information about the AppArmor mailing list