Virtualhost support issue #1

Closed
opened 2021-05-18 02:52:43 +00:00 by jrl · 5 comments

I'm using -v option for virtualhost support and getting the error

Permament Failure. file not found

When reviewing /var/log/daemon it looks as though the host is missing a /

May 18 02:53:03 username vger: path invalid /var/geminihostname.org/
May 18 02:53:03 username relayd[93656]: relay gemini, session 1 (1 active), 0, ... -> 127.0.0.1:11965, done

/var/gemini + hostname.org/ without the path forward slash in front of the hostname dir

I'm using `-v` option for virtualhost support and getting the error > Permament Failure. file not found When reviewing /var/log/daemon it looks as though the host is missing a / > May 18 02:53:03 username vger: path invalid /var/geminihostname.org/ May 18 02:53:03 username relayd[93656]: relay gemini, session 1 (1 active), 0, _._._._ -> 127.0.0.1:11965, done /var/gemini + hostname.org/ without the path forward slash in front of the hostname dir
Collaborator

Can you please show how vger is called exactly (inetd.conf) ?

Can you please show how vger is called exactly (inetd.conf) ?
Author

127.0.0.1:11965 stream tcp nowait _vger /usr/local/bin/vger vger -v

`127.0.0.1:11965 stream tcp nowait _vger /usr/local/bin/vger vger -v`
Collaborator

Add "-d" flag to set default location :



127.0.0.1:11965 stream tcp nowait _vger /usr/local/bin/vger vger -v -d /var/gemini

It should work, but it is definitely necessary to fix this.

Add "-d" flag to set default location : ``` 127.0.0.1:11965 stream tcp nowait _vger /usr/local/bin/vger vger -v -d /var/gemini ``` It should work, but it is definitely necessary to fix this.
Author

Thanks! -d /var/gemini/ with the trailing forward slash worked 👍

Thanks! `-d /var/gemini/` with the trailing forward slash worked 👍
Collaborator

After a close look, I wonder : were you using vger port on OpenBSD or the latest git version.

With the last commits, I can't reproduce the issue.

@solene : do you think it's worth to increase tag so one can upgrade OpenBSD's port ?

After a close look, I wonder : were you using vger port on OpenBSD or the latest git version. With the last commits, I can't reproduce the issue. @solene : do you think it's worth to increase tag so one can upgrade OpenBSD's port ?
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: solene/vger#1
No description provided.