On Mon, 20 Mar 2000, Kendall Clark wrote:

> but I have to use them on a headless, remotely colocated Linux box,

As I mentioned before, VNC is just great for this. It's like headless, but
you still can later open a viewer to access the Squeak desktop. I start
both vncserver and swiki in a rc.d script.

> Do you have any ideas, suggestions for using ComSwikis with Apache and
> virtual hosts?

I use Apache and ComSwiki together. The real hostname is balloon, so if
you go to http://balloon.cs.uni-magdeburg.de/ you'll get an Apache page.
the swiki is a virtual server, if you go to http://swiki.gsug.org/, Apache
redirects the browser to port 8080 (this is a PWS Swiki, ComSwiki is at
8888 because it's still in beta). My http.conf looks like this:

<VirtualHost swiki.gsug.org>
ServerName swiki.gsug.org
DocumentRoot  /usr/local/httpd/GSUG/
Redirect / http://swiki.gsug.org:8080/
ErrorLog /var/log/gsug-httpd.error_log
CustomLog /var/log/gsug-httpd.access_log "%h %l %u %t \"%r\" %>s %b"
</VirtualHost>

The DocumentRoot is not used because all requests are immediately
redirected. I guess I could remove it.

I also setup Apache to tunnel Swiki requests. This is for some of
my swiki members whose firewall doesn't let them access port 8080. So a
request to http://balloon.cs.uni-magdeburg.de/swiki/ makes Apache get the
page from the swiki and serve it. The drawback of this is that the swiki
cannot capture the user's address anymore.

The relevant section in httpd.conf is:
        ProxyPass /swiki http://swiki.gsug.org:8080
        ProxyPassReverse  /swiki http://swiki.gsug.org:8080
        ProxyPassReverse  /swiki http://swiki.gsug.org

HTH,

  -Bert-


Reply via email to