apache2-wordpress.conf 493 B

12345678910111213141516171819202122
  1. <VirtualHost *:8000>
  2. DocumentRoot /app/code
  3. ErrorLog "|/bin/cat"
  4. CustomLog "|/bin/cat" combined
  5. <Directory /app/code/>
  6. Options +FollowSymLinks
  7. AllowOverride All
  8. Require all granted
  9. </Directory>
  10. # some directories must be protected
  11. <Directory /app/code/wp-content>
  12. DirectoryIndex Off
  13. AllowOverride None
  14. <IfModule mod_php7.c>
  15. php_admin_flag engine off
  16. </IfModule>
  17. </Directory>
  18. </VirtualHost>