Log in Sign up

Support .htaccess?

Can I set up redirects using an .htaccess configuration file?


3 months ago, 2 replies   Edit question

It looks like I could add support for .htaccess files pretty easily with Mickael Burguet's library. I'm tempted but will think this over and follow up.

The other option would be to build in more functionality to Blot's existing redirect feature (access to headers, etc., access to requests before they hit the main server routes) but there's something appealing about using an existing configuration standard, even if it's slightly perverse to adopt a standard built made for Apache, which Blot does not use.

Answered 2 years ago · Edit answer

What's the verdict on this one? Editing the ".htaccess" would be a convenient way to manage redirects and maintain the turn your file folder into a website! Any alternative such as YAML or JSON config file would be good too, I think!

Answered 3 months ago · Edit answer