From: Jonathan McDowell Date: Tue, 14 Sep 2004 20:07:54 +0000 (+0000) Subject: Add Apache2 example info. X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/8d95106dd92043d8227d27833acb861ddc29d1fa Add Apache2 example info. Add setup info and config snippet for Apache2. Thanks to Brett Parker for this. --- diff --git a/apache2 b/apache2 new file mode 100644 index 0000000..5060867 --- /dev/null +++ b/apache2 @@ -0,0 +1,23 @@ +Brett's rough guide to onak and Apache2 on Debian: + +1) create a new virtual host for apache2 as the config snippet below in + /etc/apache2/sites-available/keyserver and symlink it in + /etc/apache2/sites-enabled/ +2) edit the /etc/apache2/ports.conf file and add Listen 11371 +3) edit the /etc/apache2/sites-available/default file and change the + NameVirtualHost and VirtualHost directives to only play with + port 80 +4) make sure that suexec is *NOT* enabled in apache2 (remove the + suexec.load symlink from /etc/apache2/mods-enabled/ if it + exists), this is because suexec will not run the cgi scripts + located in the /usr/lib/cgi-bin/pks directory. +5) apache2ctl graceful +6) marvel as it all works. + +Apache2 config snippet: + + DocumentRoot /var/lib/onak + ScriptAlias /pks /usr/lib/cgi-bin/pks + CustomLog /var/log/apache2/keyserver-access.log combined + ErrorLog /var/log/apache2/keyserver-error.log + diff --git a/debian/examples b/debian/examples index 234585e..7795dcc 100644 --- a/debian/examples +++ b/debian/examples @@ -1 +1,2 @@ mathopd.conf +apache2