HUGO

Htaccess file in static

Hi folks, I built a site with hugo and I’m serving it via netlify. I created a folder in /content/privat where I want to store one file “faq.md” that should be secured via .htaccess. I placed the corresponding .htaccess in static/privat/.htaccess

However, when I open faq on the website, it does not ask for the login/password. Have you an idea why?

I guess that is what Netlify needs to ask questions about…

The function is effective in Pro Plan or higher. Not available for Free Plan: