jgoerzen / pygopherd

Multiprotocol Gopher/Web Server [Python]
GNU General Public License v2.0
168 stars 25 forks source link

Request: add support for .htaccess in gopher root directory #14

Closed tuklusan closed 3 years ago

tuklusan commented 3 years ago

Allow gopher clients normal unrestricted access Allow http clients only if a password defined in .htaccess is provided

jgoerzen commented 3 years ago

This is a fine idea, but trying to add HTTP server features to pygopherd seems like a difficult ask. An alternative here would be to run pygopherd on a non-public port for HTTP requests, and use an Apache reverse proxy to send requests to it.