dev.conf 669 B

12345678910111213141516171819202122232425262728
  1. <Directory "/home/USER/Sites/">
  2. Options Indexes FollowSymLinks
  3. #MultiViews
  4. # Allow .htaccess files to override httpd.conf.
  5. AllowOverride All
  6. # No access allowed.
  7. Order deny,allow
  8. Deny from all
  9. # Except from this machine.
  10. Allow from 127.0.0.1
  11. Allow from 10.211.55.4
  12. Allow from 10.211.55.5
  13. Allow from 192.168.1
  14. Allow from 169.254
  15. </Directory>
  16. # Point virtual host to our directory.
  17. <Virtualhost *:80>
  18. DocumentRoot /home/USER/Sites
  19. ServerName dev
  20. <Directory "/home/USER/Sites">
  21. #Require local
  22. Require all granted
  23. Options +FollowSymLinks
  24. </Directory>
  25. </Virtualhost>