Forum Discussion

Greg_130338's avatar
Greg_130338
Icon for Nimbostratus rankNimbostratus
Mar 21, 2014

Sharepoint Subsites

Hey all, I'm trying to configure access to an internal sharepoint farm that hosts multiple subsites but I need to limit access to those external users logging in to one specific subsite. I used the Sharepoint 2010 iApp template and I can get to the default IIS page of the sharepoint server, but I have no idea how to direct the users to that specific subsite. It seems like it should be fairly simple, anyone do this before?

 

I also need to be able to send those users directly to that subsite once they authenticate through APM.

 

Any help appreciated.

 

-GR

 

1 Reply

  • At a minimum I think you'd want to do something like this:

    when ACCESS_ACL_ALLOWED {
        if { not ( [HTTP::uri] starts_with "/my-subsite-1" ) } {
            HTTP::redirect "https://[HTTP::host]/my-subsite-1"
        }
    }
    

    This should ensure that the user is redirected to the correct subsite AFTER the access policy is completed.