I'm trying to do some debugging, and would like to  be able to invoke
cosign.cgi from the command line (so I can strace it).

I'm trying something like..

    #!/bin/bash
    env \
    SCRIPT_NAME=/cosign-cgi/cosign.cgi \
    REQUEST_METHOD=POST \
    REMOTE_ADDR=XXX.XXX.XXX.XXX \
    SERVER_NAME=host.example.edu \
    SERVER_PORT=443 \
    QUERY_STRING=login=liamr\&password=password\&service=
cosign-host.example.edu\&required=EXAMPLE.EDU\&ref=https://host.example.edu
\
/opt/local/cosign-3.2.0/cgi-ssl/cosign.cgi

..and get...

    Status: 400
    cosign cgi: Error: Unrecognized Service: Bad service in query string.

should this work?
Liam
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Cosign-discuss mailing list
Cosign-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cosign-discuss

Reply via email to