Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Userdir URLs like https://example.org/~username/ are dangerous. Parent comment
Unless I'm missing something, it seems that this would eliminate most of the issues raised in the article by using a separate subdomain for each user/site.
Using lighttpd, you can do this with this very simple configuration [0]:
$HTTP["host"] =~ "users\.example\.org" { evhost.path-pattern = "/home/%4/public_html/" }
---
[0]: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Mod...
There are no comments on this comment yet.
Unless I'm missing something, it seems that this would eliminate most of the issues raised in the article by using a separate subdomain for each user/site.
Using lighttpd, you can do this with this very simple configuration [0]:
Add a "wildcard" record for "*.users.example.org" pointing to the proper host to your DNS zone and you're all set.---
[0]: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Mod...