|
@@ -17,6 +17,19 @@
|
|
|
<IfModule mod_php7.c>
|
|
|
php_admin_flag engine off
|
|
|
</IfModule>
|
|
|
+ </Directory>
|
|
|
+
|
|
|
+ # 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
|
|
|
+ <Directory /app/code/wp-content/plugins>
|
|
|
+ DirectoryIndex Off
|
|
|
+ AllowOverride All
|
|
|
+ <IfModule mod_php7.c>
|
|
|
+ php_admin_flag engine on
|
|
|
+ </IfModule>
|
|
|
</Directory>
|
|
|
+
|
|
|
</VirtualHost>
|
|
|
|