]> the.earth.li Git - onak.git/commitdiff
Add Apache2 example info.
authorJonathan McDowell <noodles@earth.li>
Tue, 14 Sep 2004 20:07:54 +0000 (20:07 +0000)
committerJonathan McDowell <noodles@earth.li>
Tue, 14 Sep 2004 20:07:54 +0000 (20:07 +0000)
Add setup info and config snippet for Apache2. Thanks to Brett Parker
for this.

apache2 [new file with mode: 0644]
debian/examples

diff --git a/apache2 b/apache2
new file mode 100644 (file)
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:
+       <VirtualHost *:11371>
+               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
+       </VirtualHost>
index 234585ec3a5a5246fbd88ea3e87aed68fb1f2da9..7795dccbac17a3b3df4c8284d302ad210b72fb1c 100644 (file)
@@ -1 +1,2 @@
 mathopd.conf
+apache2