apache2-wordpress.conf 616 B

12345678910111213141516171819202122232425262728
  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. <IfModule mod_php5.c>
  10. php_value memory_limit 64m
  11. </IfModule>
  12. </Directory>
  13. # some directories must be protected
  14. <Directory /app/code/wp-content>
  15. DirectoryIndex Off
  16. Options -FollowSymLinks
  17. AllowOverride None
  18. <IfModule mod_php5.c>
  19. php_admin_flag engine off
  20. </IfModule>
  21. </Directory>
  22. </VirtualHost>