CoSign: Collaborative Single Sign-On  

cosign-discuss at
general discussion of cosign development and deployment

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

Re: Cosign on a Sub Directory Only

On Tue, 20 Jul 2004, Beth Bridson wrote:

> Can Cosign be configured to work on a sub directory of my web site
> only?  This is Cosign on Apache.

Yes, I do this all the time.  The following example has more
directives than strictly necesssary in it, but will show you
everything involved:

    <Directory /afs/>
      Options Indexes FollowSymLinks IncludesNoExec
      AllowOverride AuthConfig FileInfo Indexes Limit
      Order allow,deny
      Allow from all
      CosignProtected On
      AuthType Cosign
      require valid-user

If you wanted to boil this down to the bare minimum and put
it in a .htaccess file for a directory, the following will
probably do the job:

    CosignProtected On
    require valid-user

You can of course change the "require" to anything you want
such as "require user bbridson" or "require group staff" (this
has nothing to do with cosign, though).

                Mark Montague
                LS&A Information Technology

Copyright © 2002 - 2004 Regents of the University of Michigan :  Page last updated 15-December-2010