Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. # ************************************
  2. # Vhost template
  3. # ************************************
  4.  
  5. <VirtualHost *:80>
  6. ServerName %template%
  7.  
  8. ## Vhost docroot
  9. DocumentRoot "/var/www/%template%/app/html"
  10.  
  11. <Directory "/var/www/%template%/app/html">
  12. Options Indexes FollowSymlinks MultiViews
  13. AllowOverride All
  14. Require all granted
  15.  
  16. <FilesMatch "\.php$">
  17. Require all granted
  18. SetHandler proxy:fcgi://127.0.0.1:9000
  19.  
  20. </FilesMatch>
  21.  
  22. </Directory>
  23.  
  24. ## Logging
  25. ErrorLog "/var/log/apache2/%template%_error.log"
  26. ServerSignature Off
  27. CustomLog "/var/log/apache2/%template%_access.log" combined
  28.  
  29. ## SetEnv/SetEnvIf for environment variables
  30. SetEnv APP_ENV dev
  31. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement