Virtualhost support issue #1

Open
opened 7 months ago by jrl · 5 comments
jrl commented 7 months ago

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) ?
Poster

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.
Poster

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

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.