To update the exit routine code sample,
pkiexit.c, perform
the following steps:
- Copy the sample exit routine and makefile to the current directory
by entering the following commands:
cp /usr/lpp/pkiserv/samples/pkiexit.c pkiexit.c
cp /usr/lpp/pkiserv/samples/Makefile.pkiexit Makefile
_______________________________________________________________
- Compile and link to produce the executable program, pkiexit,
by entering the following command:
make
_______________________________________________________________
- Move the executable program to its execution directory and set
the permissions by entering the following commands:
mv pkiexit /full-directory-name
chmod 755 /full-directory-name/pkiexit
_______________________________________________________________
- Edit the Web server's environment variables
file by entering the following command:
oedit /etc/httpd.envvars
and add the environment variable _PKISERV_EXIT by
adding the following line to the file: _PKISERV_EXIT=/full-directory-name/pkiexit
_______________________________________________________________