"Context Access Control" in vhost security section

Discussion in 'Install/Configuration' started by ts77, Mar 13, 2005.

  1. ts77

    ts77 Well-Known Member

    Hi there,

    I'm trying to implement this configuration:
    / allowed only to subnet 192.168.*
    /dir allowed to everyone.

    Therefore I've set the vhost to disallow everyone beside the given IP-network and tried to setup a "context" on dir to allow everyone access to this directory.

    In this section I read:
    "Additional access control can be specified for a context. It is only effective when "Context Access Control" is enabled in virtual host security section."

    But I can't find that switch in the security-section of the vhost-configuration.
    Am I blind?
  2. Lauren

    Lauren LiteSpeed Staff Staff Member


    You need to set up two context in this case: one for "/", set access control to only allow 192.168.*; one for /dir to allow everyone.

    This has been removed, need to update the document, thanks for pointing out. We figured people may forget to set up in two places. as long as access control is specified for a context, it will be effective.

  3. ts77

    ts77 Well-Known Member

    Thanks, that worked.

Share This Page