That worked. Thanks. DataGruppen MultiMed - Thomas Kristensen - Email: t...@multimed.dk - Tlf: 75 72 54 99 - 7100 Vejle / Denmark
-----Oprindelig meddelelse----- Fra: André Warnier [mailto:a...@ice-sa.com] Sendt: 20. juli 2009 11:43 Til: users@httpd.apache.org 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: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org --------------------------------------------------------------------- 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