Apache: How do I re-route all requests to a single file?
17:53 02 Mar 2016

I'm writing a static single page Backbone site with a single entry point: index.html

I've been told that because of this, I need to re-route all requests to my url e.g. www.example.com/*, to that index.html file. So, if someone types in www.example.com/lolnotreal, I need that request to be redirected to /index.html but in a manner which my index.html file still could pick up the url attempted, in the example's case: /lolnotreal

Is this even possible considering it's just an html file? Basically I need for backbone to pick up the url attempted.

apache mod-rewrite single-page-application