Use .htaccess with dev server?


#1

Is there a way to set up the included dev server (or another one) to use .htaccess?

I set up a simple cache busting system that relies on .htaccess to point to actual asset locations.


#2

not that I know of, Jekyll uses the Webrick server, you could research that and see if it supports something that would work for you.

You could also use your own server of choice along with gulp to watch for changes and rebuild the site.


#3

Okay, thanks! I may look into gulp at some stage. For now I’ll just keep a separate git branch for the deployment of the files requiring .htaccess to work.