SV: Allow gif's to be accessed inside realm without password.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That worked. Thanks.

DataGruppen MultiMed
- Thomas Kristensen
- Email: tk@xxxxxxxxxxx
- Tlf: 75 72 54 99
- 7100 Vejle / Denmark


-----Oprindelig meddelelse-----
Fra: André Warnier [mailto:aw@xxxxxxxxxx] 
Sendt: 20. juli 2009 11:43
Til: users@xxxxxxxxxxxxxxxx
Emne: Re:  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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux