Run apache--cajun-style (read that "apache; cajun-style!") when you want to alter apache's configuration (/etc/httpd/conf/httpd.conf) to point to cajun's web page interface.
Here is a summary of what apache--cajun-style does:
- Determine location of config file (probably /etc/httpd/conf/httpd.conf) and edit.
- Change document root to CAJUN's www dir:
- Look for the line "Listen xxx"; make sure it's "80".
- Look for the line "DocumentRoot /var/www/html>" or similar; change to "DocumentRoot /usr/share/cajun/www>"
- Look for the line "Directory /var/www/html>" or similar; change to "Directory /usr/share/cajun/www>"
- Right after that line, change it to look like (add ExecCGI): "Options Indexes FollowSymLinks ExecCGI"
- Look for the line "MinSpareServers 5" or similar; change to "MinSpareServers 2"
- Look for the line "StartServers 8" or similar; change to "StartServers 2"
- Add support for cgis.
Look for the line "#AddHandler cgi-script .cgi" or similar; change to "AddHandler cgi-script .cgi" (remove hash mark)