It was thus said that the Great James Tomasino once stated: > I installed Jetforce on gopher.black tonight and immediately ran into a > very basic question. What is the _name_ of the default index file? It depends upon the server I would guess. I don't see why the name of an index file would be a standard. > I > looked through the spec (granted not closely) and didn't see it defined. > In the end I read through Michael's source for Jetforce and found that > he's using ".gemini" to override the default file listing and serve an > index gemini file. And I use a file called 'index.gemini', modelled after Apache's 'index.html' file (the name of which is configurable so it doesn't even have to be that). > Is that standard? Is there a standard? That seems like a fairly basic > thing we might want to include. It seems small now, but if a Gemini > server were to grow large and wanted to change server software that > could become a big barrier. It didn't seem to be a problem with having .htm and .html files. On my sever, if a directory contains an index.gemini, it will be served, otherwise a default page will be constructed. Addtionally, if a file has an extension of ".gemini" it will be served up with a MIME type of "text/gemini". But that's on my server. Others may vary. -spc (For instance, I've seen ".gmi" used as an extension)
---
Previous in thread (14 of 23): 🗣️ James Tomasino (tomasino (a) lavabit.com)
Next in thread (16 of 23): 🗣️ Brian Evans (b__m__e (a) mailfence.com)