httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricky Zhou <ricky.z...@gmail.com>
Subject Re: [users@httpd] allowing only javascript but preventing all else
Date Fri, 03 Aug 2007 20:09:07 GMT
-----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-----

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


Mime
View raw message