13 points by taikon 2 hours ago | 4 comments
teach 2 hours ago
Maybe should add "with Cloudflare Workers" to the headline

Because hosting a blog inside a subdirectory is like the most trivial webserver thing ever

ahme 1 hour ago
Are we not just doing static html for blogs anymore?
Bender 21 minutes ago
We could just enable auto-index and drop a bunch of .txt files into it.
cr125rider 42 minutes ago
That doesn’t sound bloated enough. Too fast. Gonna give a user whiplash.
doublerabbit 1 minute ago
.htaccess that rewrites .txt to HTML using regex in bash.
taikon 1 hour ago
I wanted to but it said it exceeds the character limit
gnabgib 1 hour ago
Maybe(?): How to Host a Blog in a directory Instead of Subdomain with Cloudflare Workers
gnabgib 2 hours ago
(2025) At the time (on a different domain, but not in a subdirectory) https://news.ycombinator.com/item?id=46050069
taikon 1 hour ago
Yes I switched the domain. But davidma.co redirects to davidma.org.
gnabgib 1 hour ago
It doesn't presently (maybe a config issue?) Cloudflare just never responds:

> Connecting to www.davidma.co(more..)

> HTTP request sent, awaiting response... (timeout)

theturtle 1 hour ago
This is somehow news? I was doing this 30 actual years ago.

Long before Google and Cloudflare stunk up the internet.

2 hours ago