Hi Netlify-team,
is it possible to secure specific folders on my hugo-page with an .htaccess-file? If yes, how can I manage to do it?
Thank you & regards, Francisco
perry
March 20, 2020, 5:26pm
2
hi francisco,
because of the way netlify’s servers work, it’s actually not possible to set up htaccess on our system.
there are some other ways to restrict access to certain files/directories though, take a look at this thread?
My website originated from an apache server and when I was using the server for my website (til I knew about Netlify and GitLab/GitHub! Thanks Static Site Generators and git!) I had used the .htaccess file to control my redirects and how my urls were written and displayed in the browser, so my main question here is this. Does Netlify use the .htaccess file or does it mainly use the netlify.toml file instead of the .htaccess file now