Eric,

It seems if I enable /srv/www/domainroot/images/* via AppArmor then
I don't even need to declare <Directory "/images/"> in Apache configuration 
file.  Is this true?


I assume apache2 will not allow something like this?
<Directory "/images/"> 
      Options None
      Order deny,allow
      Deny from all
      Allow from 172.24.16.0/255.255.248.0
      Allow from 172.21.160.0/255.255.254.0
      Allow from 65.123.86.50
      Allow from 172.25.15.20
      Allow from 172.25.15.21
</Directory>



How can I protect an directory without using AppArmor?
Can you provide some example please.

Thanks,
Y





----- Original Message -----
From: "Eric Covener" <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Wednesday, October 15, 2008 10:53:38 PM (GMT-0500) America/New_York
Subject: Re: [EMAIL PROTECTED] Apache directory access & Suse AppArmor

On Wed, Oct 15, 2008 at 7:53 AM, Yoom Nguyen <[EMAIL PROTECTED]> wrote:
> Can anyone tell me what is the different between Apache2 directory access as
> compare to AppArmor come with SuSE?

They're independent, and you need to satisfy both to successfully
serve a file. Just like Apache config and traditional filesystem
permissions.


> <Directory "/images/">

This should be a physical on-disk directory, not a URL-path or a
directory name under your document root. If there's no literal
directory /images/ in your filesystem, this snippet configuration
never applies.

-- 
Eric Covener
[EMAIL PROTECTED]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to