I'm tinkering with some test CGI scripts to prepare for a real
project, and I noticed that a script protected by CAS doesn't get a
value for AUTH_TYPE in its environment, whereas a similar location
protected by one of the AuthType Basic does.  Am I doing something
wrong?

(Web server is Apache HTTPD 2.4.46, mod_auth_cas is 1.2)

Alias /application /path/to/application/login

CASLoginURL https://www.example.com:9443/cas/login
CASValidateURL https://www.example.com:9443/cas/serviceValidate

<Directory /path/to/application/login>
  Options +ExecCGI
  AddHandler cgi-script .pl

  <Files "cas-login.pl">
    AuthType CAS
    Require valid-user
  </Files>

  <Files "file-login.pl">
    AuthName "Special User"
    AuthType Basic
    AuthBasicProvider dbm
    AuthDBMType GDBM
    AuthDBMUserFile /path/to/application/special-users.gdbm
    Require valid-user
  </Files>

</Directory>

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/YHn4F0hKWygXWkkE%40IUPUI.Edu.

Attachment: signature.asc
Description: PGP signature

Reply via email to