Skip to content

return of "403 forbidden" when opening multiple files with same base name #18

@titaniumbones

Description

@titaniumbones

Using recent git versions of emacs, impatient-mode, and simple-httpd, I am seeing the "403 forbidden" errors that used to be common when users enabled impatient-mode for more than one index.html or style.css file at a time. My impression is that this has to do with the inperpretation of / characters in buffer names with uniquify-buffer-names set to "forward".

Setting uniquify-buffer-names to 'reverse seems to be a functional workaround, but I haven't tested it extensively yet.

It's not clear to me how to actually fix the issue, though. IIUC path names are set in both httpd/imp/live and http/imp/buffer, and the relationship between html files and their assets is set with imp-related-files. I experimented a bit but ended up with a mess; some notes are in netguy204#33 (comment).

Thanks for this super-important piece of infrastructure!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions