DocumentRoot /app/code ErrorLog "|/bin/cat" CustomLog "|/bin/cat" combined Options +FollowSymLinks -Indexes AllowOverride All Require all granted 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 # Some plugins like Wordpress Social Login require index.php DirectoryIndex index.php AllowOverride All php_admin_flag engine on