upvote
How to Host a Blog on a Subdirectory Instead of a Subdomain

(www.davidma.org)

Maybe should add "with Cloudflare Workers" to the headline

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

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

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

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

reply
This is somehow news? I was doing this 30 actual years ago.

Long before Google and Cloudflare stunk up the internet.

reply
deleted
reply