Re: allowing only javascript but preventing all else

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

 



-----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@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