jgoerzen/pygopherd

Hostname issue

Opened this issue · 2 comments

When not having a gophermap file, and simply refer to a directory the directory will load fine.
But when trying to download something from the directory, it redirects users to the hostname of the server instead of the domain name.

Is there a way to fix this? I couldn't find anything in the config.

qunka commented

The servername option in pygopherd specifies the domain name added to internal links. This option does not specify where the server listens, only how internal links should be handled.

This happens if the FQDN is not set correctly in /etc/hosts