I'm making an advertisement blocking DNS server that redirects all the advertisement domains to an instance of Apache. So something like
gets redirected to
However, occasionally I come across links more like
which gets redirected to
which doesn't even exist and hence raises a
I was hoping that there would be some way to make Apache serve
index.html, regardless of the actual request. Otherwise, if you have an alternate solution that does not involve Apache, I'm up for that too.