Guest User

Untitled

a guest
Jan 23rd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3. ServerName zftest.dom
  4. ServerAlias *.zftest.dom
  5.  
  6. SetEnv APPLICATION_ENV "development"
  7.  
  8. DocumentRoot /var/www/zftest/public
  9. <Directory />
  10. Options FollowSymLinks
  11. AllowOverride None
  12. </Directory>
  13. <Directory /var/www/zftest/public>
  14. Options Indexes FollowSymLinks MultiViews
  15. AllowOverride all
  16. Order allow,deny
  17. allow from all
  18. </Directory>
  19.  
  20. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  21. <Directory "/usr/lib/cgi-bin">
  22. AllowOverride None
  23. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  24. Order allow,deny
  25. Allow from all
  26. </Directory>
  27.  
  28. ErrorLog /var/log/apache2/zftest-error.log
  29.  
  30. # Possible values include: debug, info, notice, warn, error, crit,
  31. # alert, emerg.
  32. LogLevel warn
  33.  
  34. CustomLog /var/log/apache2/zftest-access.log combined
  35.  
  36. Alias /doc/ "/usr/share/doc/"
  37. <Directory "/usr/share/doc/">
  38. Options Indexes MultiViews FollowSymLinks
  39. AllowOverride None
  40. Order deny,allow
  41. Deny from all
  42. Allow from 127.0.0.0/255.0.0.0 ::1/128
  43. </Directory>
  44.  
  45. </VirtualHost>
Add Comment
Please, Sign In to add comment