Thomas Kristensen wrote:
I got this Directory thingy that's protect my admin system for my homepage.
But is it possible to allow gif files to be accessed inside the realm
without password?

I tried with FilesMatch, Location, LocationMatch and such things but maybe
I'am doing it wrong, because it doesn't work.

<Directory /var/www/vhosts/homepage/admin>
        AuthType Basic
        AuthName "Private"
        AuthUserFile /etc/httpd/conf/htpasswd.ht
        Require valid-user
        Satisfy all
</Directory>

Try this :
> <Directory /var/www/vhosts/homepage/admin>
        Order allow,deny
        Allow from all
>    AuthType Basic
>    AuthName "Private"
>    AuthUserFile /etc/httpd/conf/htpasswd.ht
>    Require valid-user
>    Satisfy all
    <FilesMatch "\.gif$">
        Allow from all
        Satisfy any
    </FilesMatch>

> </Directory>

---------------------------------------------------------------------
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: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to