Skip to content

System tools

Christophe TREMBLAY-GUILLOUX
Christophe TREMBLAY-GUILLOUXLinux systems engineer

Collecting the contents of every .htaccess file of a website

Section titled “Collecting the contents of every .htaccess file of a website”

Since we use NGINX and not Apache, the contents of the .htaccess files have to be checked to know what needs to be implemented as an equivalent NGINX rule:

bash
collect-htaccess.sh <user> [subdirectory]