DocumentRoot /app/code ErrorLog "|/bin/cat" CustomLog "|/bin/cat" combined Options +FollowSymLinks AllowOverride All Require all granted # some directories must be protected DirectoryIndex Off AllowOverride None php_admin_flag engine off # many wp plugins have .htaccess in them to AllowOverride is All # ARI adminer, social media plugins expose a "public" endpoint that requires us # to allow PHP to be executed as a direct entry point (as opposed to being just included # from wp core). So php_admin_flag is on DirectoryIndex Off AllowOverride All php_admin_flag engine on