What if you want to serve a wiki for just a section of your site, and most of your site is served by some other server, like Gemserv?

A Phoebe user wrote it, having done just that. They used Gemserv as a reverse proxy for Phoebe.

In the App::Phoebe.pm file, hardcode the proxy server port on the function sub process_geminin line 487:

#my $port = port($stream);
my $port = 1965;

And do the same in the function sub to_url line 676:

#return "$scheme://$host:$port/"
return "$scheme://$host:1965/"

Otherwise, Phoebe exposes its port in the responses it generates.

If more people start using this, we should add a command line argument, e.g. “--proxyport=1965” so Phoebe would be aware it is behind a proxy.

If you are using this, let us know. Leave a note. 😊