1 Brett's rough guide to onak and Apache2 on Debian:
3 1) create a new virtual host for apache2 as the config snippet below in
4 /etc/apache2/sites-available/keyserver and symlink it in
5 /etc/apache2/sites-enabled/
6 2) edit the /etc/apache2/ports.conf file and add Listen 11371
7 3) edit the /etc/apache2/sites-available/default file and change the
8 NameVirtualHost and VirtualHost directives to only play with
10 4) make sure that suexec is *NOT* enabled in apache2 (remove the
11 suexec.load symlink from /etc/apache2/mods-enabled/ if it
12 exists), this is because suexec will not run the cgi scripts
13 located in the /usr/lib/cgi-bin/pks directory.
14 5) apache2ctl graceful
15 6) marvel as it all works.
17 Apache2 config snippet:
19 DocumentRoot /var/lib/onak
20 ScriptAlias /pks /usr/lib/cgi-bin/pks
21 CustomLog /var/log/apache2/keyserver-access.log combined
22 ErrorLog /var/log/apache2/keyserver-error.log