~raspbeguy


#55 MIME types of extensionless documents 10 months ago

Comment by ~raspbeguy on ~sircmpwn/gmni

Ok.

Well, that's very useful, I didn't know about the routing feature. In those conditions I think your proposition should cover a fairly high number of use cases.

#55 MIME types of extensionless documents 10 months ago

Comment by ~raspbeguy on ~sircmpwn/gmni

1.9.0, this is the version in current debian stable repositories.

#55 MIME types of extensionless documents 10 months ago

Comment by ~raspbeguy on ~sircmpwn/gmni

Oh I see, for some reason my man page was truncated and didn't show the full route section. Probably due to compilation error :

# make docs
SCDOC	doc/gmnisrv.1
SCDOC	doc/gmnisrvini.5
Error at 57:2: Expected one of '[', '-', ']', or ' '
make: *** [Makefile:29: doc/gmnisrvini.5] Error 1

#55 MIME types of extensionless documents 10 months ago

Comment by ~raspbeguy on ~sircmpwn/gmni

Depends, do you plan to make this setting virtualhost-specific or folder-specific or something else ?

#55 MIME types of extensionless documents 10 months ago

Comment by ~raspbeguy on ~sircmpwn/gmni

If I understand correctly, you propose to specify in config file how to match the MIME type with file extension. In my case that could work, but maybe that wouldn't be such a great idea. If people have GMI files without extensions AND for example some compiled binary programs (without extension), that wouldn't work.

#55 MIME types of extensionless documents 10 months ago

Ticket created by ~raspbeguy on ~sircmpwn/gmni

Hello, When I want to access to a page without .gmi extention, gmnisrv serves it as binary content, which isn't rendered by browsers. I can see why, but I thing this is problematic in some cases.

AFAIC I serve a gemini version of my http blog, which URLs are without extension. So, to make minimum efforts to convert http to gemini URLs, I would like my gemini URLs not to have extension as well.

So in my opinion there would be 2 options:

  • a configuration option to tell the server that everything in a given folder (or except in a given folder) should be served as text/gemini
  • a configuration option to tell that URL path /example/file should match filesystem path /example/file.gmi

Thanks for your attention.

#54 Possibility to use existing certificates 10 months ago

Comment by ~raspbeguy on ~sircmpwn/gmni

My SSH host keys concerns only myself, my website certificate concerns everybody. I do not understand this choice.

#54 Possibility to use existing certificates 10 months ago

Ticket created by ~raspbeguy on ~sircmpwn/gmni

Hello,

I wonder why there is no way of using m'y own certificates. As far as I understand gmnisrv imposes to create its own certificates by himself.

I'm not confortable with it.