💾 Archived View for clemat.is › gemlog › [2021-03-15]..Vger.unexpected....gmi captured on 2022-06-03 at 23:53:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-01-08)

-=-=-=-=-=-=-

[2021-03-15]..Vger.unexpected....gmi

When you see something weird with Vger[1] you have a few options:

I feel guilty I've choosen the first options too often so I am taking

the third one this time.

So a few "unexpected behaviors".

1/ Virtual Host support (-v):

this requires to also set the path manually with -d. Even though it's

the default /var/gemini one, without the -d it miss the last trailing

slash (/var/gemini/) and make the path invalid.

2/ Auto index (-i):

the index as such works. But it adds a "../" entry at the top which is

nice but don't handle the path properly :

Like if you are on gemini://clemat.is/gemlog/

the ../ gives me:

gemini://clemat.is/gemlog/clemat.is/

3/ cgi-bin (-c):

manpage says that with virtual host you must insert the directory in the

path. which is fair enough. this path means the chroot one without the

first / .

-c /var/gemini/clemat.is/cgi-bin/ DOES *NOT* WORK

-c /clemat.is/cgi-bin/ DOES *NOT* WORK

those two previous options prevent everything to work can't access even

clemat.is

This third option below, gives me another error of path

-c clemat.is/cgi-bin/ DOES *NOT* WORK

vger: request gemini://clemat.is/

vger: path invalid /var/gemini/clemat.is/

which is a valid path actually so there's something with the chroot or

the virtual host it doesn't like.

@solene, so either I am a fool and need to read again the man page or

you are allow to change my wording ... s/unexpected\ behaviors/BUGS/

[1] Vger gemini server gitea.

back to my ~/gemlog