1234567891011121314151617181920212223242526272829303132333435 |
- <VirtualHost *:8000>
- DocumentRoot /app/code
- ErrorLog "|/bin/cat"
- CustomLog "|/bin/cat" combined
- <Directory /app/code/>
- Options +FollowSymLinks -Indexes
- AllowOverride All
- Require all granted
- </Directory>
- <Directory /app/code/wp-content>
- DirectoryIndex Off
- AllowOverride None
- <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
- # Some plugins like Wordpress Social Login require index.php
- <Directory /app/code/wp-content/plugins>
- DirectoryIndex index.php
- AllowOverride All
- <IfModule mod_php7.c>
- php_admin_flag engine on
- </IfModule>
- </Directory>
- </VirtualHost>
|