I got most of it working, now when I have a folder I want to protect
with Cosign, it gets redirected to the url I have in the Web.config
file.

 

Example web.config:

 

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

    <system.webServer>

 

                <cosign>

                                <protected status="on" />

                </cosign>

 

        <httpErrors>

            <remove statusCode="403" subStatusCode="-1" />

            <error statusCode="403" prefixLanguageFilePath=""
path="https://www.google.com"; responseMode="Redirect" />

        </httpErrors>

    </system.webServer>

 

                <location path="cosign/valid">

                   <system.webServer>

                     <cosign>

                                <protected status="off" />

                     </cosign>

           </system.webServer>

                </location>

 

</configuration>

 

Troy Herrington   
The Dickinson School of Law 
005C Katz Building 
University Park PA 16802 
814.863.7695  

------------------------------------------------------------------------------

_______________________________________________
Cosign-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cosign-discuss

Reply via email to