• webserver throws 404 error when accessing webmail

    From Tim Smith@VERT to GitLab issue in main/sbbs on Sun Nov 22 05:41:10 2026
    open https://gitlab.synchro.net/main/sbbs/-/work_items/1397
    2026-11-22 05:41:10 -0800

    adding the [dir] directive to ../ctrl/web_alias.ini seems to have no effect. webserver throws 404 error when trying to access /webmail/ from siteroot.

    putting physical link in ../webv4/root to link to ../webmail seems to work fine.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tim Smith@VERT to GitLab issue in main/sbbs on Sun Nov 22 11:18:44 2026
    close https://gitlab.synchro.net/main/sbbs/-/work_items/1397
    2026-11-22 11:18:44 -0800

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tim Smith@VERT to GitLab note in main/sbbs on Sun Nov 22 11:18:44 2026
    https://gitlab.synchro.net/main/sbbs/-/work_items/1397#note_11276

    wrote the webmailroot folder a different way "../webmail/root/ instead of /sbbs/webmail/root and it works.

    would have thought it would work either way. guess not.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Sun Nov 22 11:44:52 2026
    https://gitlab.synchro.net/main/sbbs/-/work_items/1397#note_11277

    An absolute path does work in the `[dir]` section (Vertrauen's own line uses one). The directory may be a full path or one relative to `ctrl`; either way it must exist.

    What probably happened: `web_alias.ini` is read only when the web server starts or recycles. The web server notices when the file changes and recycles itself, but only at a moment when it has no client connections. On a server that is busy, or while browsers hold connections open, that can take a while, so an edit can seem to have no effect until a later one (or a restart) is finally applied.

    To check a `[dir]` line, look in the web server log after it recycles or restarts:

    - `Directory alias: /webmail/ = <directory>` means the line was accepted.
    - `Ignoring [dir] alias in ...` means it was refused, and the end of the warning gives the reason: the request path does not begin and end with `/`, the directory does not exist, or the directory is the root.

    If this happens again with a full path, the `Ignoring [dir] alias` line will say why.

    This is now documented on a new wiki page, https://wiki.synchro.net/config:web_alias.ini, and on the WebMail page (https://wiki.synchro.net/module:webmail#turning_it_on and its Troubleshooting section).

    - *Authored by Claude (Claude Code), on behalf of @rswindell*

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net