make install
. If all goes well, you're ready to start configuring!<IfModule mod_macs.c> MacsConfigFile /path/to/cf MacsLIA http://domain.com/new/lia MacsEnable on <location /secureapps> MacsAuthenticate on </location> <location /secureapps/unsecure> MacsAuthenticate off </location> <location /appneedsloginandemail> MacsProfile MACS_LOGIN char:macs/user/login %user MacsProfile MACS_EMAIL char:macs/user/email %user </location> <location /appneedsloginandemail/andnamebutnoemail> MacsProfile MACS_FIRST char:macs/user/name %user MacsProfile MACS_EMAIL </location> <location /appone> MacsResource mycompany/appone </location> <location /appone/subdir/apptwo> MacsResource mycompany/apptwo </location> <location /appone/subdir/notamacsresource> MacsResource clear </location> <location /appone/subdir/freeforall> MacsAuthorize off </location> </IfModule>
MacsProfile request_header [type:name_space resource_spec]
request_header
is the spoofed request header that will contain the element's value.type
specifies the type of value to fetch -- one of int, float, char, blob, link, res or auto.name_space
is the profile namespace path of the element to expose.resource_spec
is a full resource path whose profile information to expose, or user to expose the current user's profile, or url to expose the profile of the resource mapped to the requested url.request_header
is specified, the directive unmaps the any previous (probably inherited from parent directories) mappings.CLEAR
unmaps the directory from any resource.# WACA.pm # # This module is the heart of WACA and performs all the dificult "in # the server" type stuff, any serious problem here could crash the # whole server, so be careful! # # 05-04-99 Blake Mitchell