That worked. Thanks.

DataGruppen MultiMed
- Thomas Kristensen
- Email: [email protected]
- Tlf: 75 72 54 99
- 7100 Vejle / Denmark


-----Oprindelig meddelelse-----
Fra: AndrĂ© Warnier [mailto:[email protected]] 
Sendt: 20. juli 2009 11:43
Til: [email protected]
Emne: Re: [us...@httpd] Allow gif's to be accessed inside realm without
password.

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: [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