will this work if i just wanted to restrict access to specific types of files like say js or flvs? but continue to password protect the entire docroot?
-----Original Message----- From: Ricky Zhou [mailto:[EMAIL PROTECTED] Sent: Fri 8/3/2007 4:09 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] allowing only javascript but preventing all else -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henry Cavillones wrote: > Im looking to make an entire site password protected, except for some > embed codes that get processed from publisher sites. > > The password protection should not interfere with serving the publisher > javascript code that resides at some subdirectory underneath the docroot. Just make everything Require valid-user, but use Satisfy Any, and set Allow from all on just that subdirectory. For reference and an example, see http://httpd.apache.org/docs/2.2/mod/core.html#satisfy Hope this helps, Ricky -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGs4tgZBKKLMyvSE4RAi8cAKCmClu8dUKP0bYqf4hfxX52hhE4YgCg41vy bXEImOYKHLGlPFBZiHp4U08= =rtXJ -----END PGP SIGNATURE-----