Default document for root
Sean Conner
sean at conman.org
Fri Nov 6 20:13:14 GMT 2020
It was thus said that the Great Garrit Franke once stated:
> Hi,
>
> I'm currently in the midst of writing a gemini server, and stumbled
> upon presumably undefined behavior in the specification: What file
> should be served when requesting "/", or any directory?
>
> I tried it out on several servers using index.gmi, and sure enough
> this seems to be the accepted case. However, this is not part of the
> specification. Maybe I overlooked something, or this is intentional?
> Otherwise, it would be nice to have a small hint to this in the spec.
As others have mentioned, it's a server implementation detail. The two
popular conventions are:
index.gemini
index.gmi
I know for my own server, GLV-1.12556, you can configure the basename
('index') and extension ('.gemini') to be anything you want. So if I wanted
to, I could change the default of 'index.gemini' to 'guide.html'.
-spc
More information about the Gemini
mailing list