sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sks-devel] SKS and Apache2 :-)


From: Jan Kesten
Subject: [Sks-devel] SKS and Apache2 :-)
Date: Tue, 11 May 2004 13:12:18 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040316

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all!

I tried out Apache2 and it reverse proxy feature and found something
interesting to make sks webqueries work with a restrictive firewall
blocking access to port 11371:

- --- /etc/apache2/sites-enabled/default ---

~    <Proxy>
~        Order deny,allow
~        Allow from all
~    </Proxy>

~    ProxyRequests off

~    ProxyPass /proxy http://sks.nerdcamp.net:11371
~    ProxyPassReverse /proxy http://sks.nerdcamp.net:11371

~    ExtFilterDefine fixtext mode=output intype=text/html \
~        cmd="/bin/sed s/:11371/\\/proxy/g"

~    <Location /proxy>
~        SetOutputFilter fixtext
~    </Location>

- --- SNIP ---

Then I changed my form to send all queries to sks.nerdcamp.net/proxy
instead of sks.nerdcamp.net:11371 - and it works quite fine. Okay
using sed as output filter is not really nice but this works even
when sks result pages contain absolute urls.

Perhaps it might be intresting for someone :-)

Cheers,
Jan

- --
GPG-KeyID: 82201FC4
Available at my public sks keyserver sks.nerdcamp.net
Please report any problems using sks.nerdcamp.net!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAoLUSvvmCkIIgH8QRAmWcAKCwTIDLfUjXgMLjvQZ/kHmaSZhNKQCgmBC0
X83VVL/OAsGFP2fI6DTtKfw=
=sxm6
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]