apache2-wordpress.conf 531 B

12345678910111213141516171819202122
  1. <VirtualHost *:8000>
  2. DocumentRoot /app/code
  3. ErrorLog ${APACHE_LOG_DIR}/error.log
  4. CustomLog ${APACHE_LOG_DIR}/access.log 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. Options -FollowSymLinks
  13. AllowOverride None
  14. <IfModule mod_php5.c>
  15. php_admin_flag engine off
  16. </IfModule>
  17. </Directory>
  18. </VirtualHost>