Skip to content

Installing apache mod_owa with mod_auth_cas

February 2, 2010
./configure –prefix=/myora/apache-cas  –enable-mods-shared=all –enable-cas –enable-ssl
make
make install
CAS
===============
copied the install-sh.txt to install-sh
./configure –with-apxs=/myora/apache-ncas/bin/apxs  –prefix=/myora/apache-ncas/modules/cas/

Create owa.conf

<Location /owa>
#    AllowOverride  None
#    Options        None
    SetHandler     owa_handler
#    OwaUserid      user/pwd@db
#    OwaDiag        SQL MEMORY
    OwaDiag      COMMAND ARGS SQL MEMORY
    OwaLog         "/tmp/owa.log"
#   OwaAuth        OWA_CUSTOM PACKAGE
    OwaDocProc     "demo_documents_pkg.readfile"
    OwaDocPath     "docs"
    OwaDocLong     "long"
#   OwaCharset     iso-8859-1
#   OwaAlternate   OWA CACHE
#    OwaAdmin       127.0.0.1 255.255.255.255
    OwaPool        10
#   OwaNLS         WE8ISO8859P1
    order          deny,allow
    allow          from all
</Location>

Create owa.conf:

 CASCookiePath /tmp/cas/
CASVersion 2
CASDebug on
CASValidateServer off
CASAllowWildcardCert on
CASTimeout 86400
CASIdleTimeout 7200
CASLoginURL "https://machine/cas/login"
CASValidateURL "https://machine/cas/serviceValidate"
LogLevel debug
CASCookieDomain "company.com"
CASCertificatePath  /machine/cacert.pem

<VirtualHost *:80>
  LogLevel debug
  ServerName "machine.com"
  <Location />
    Order deny,allow
    Deny from all
    AuthType CAS
    AuthName "MyCompany CAS"
    require valid-user
    Satisfy Any
  </Location>
</VirtualHost>

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: