Posted By

vikfroberg on 02/10/11


Tagged


Versions (?)

Virtual host


 / Published in: PHP
 

  1. # @file httpd.conf
  2. # NameVirtualHost *
  3. Include /Users/Viktor/Documents/apache_vhost.conf
  4.  
  5. # @file apache_vhost.conf
  6. <Directory "/Users/Viktor/Sites">
  7. Options All
  8. AllowOverride All
  9. Order allow,deny
  10. Allow from all
  11. </Directory>
  12.  
  13. NameVirtualHost *:80
  14.  
  15.  
  16. <VirtualHost *:80>
  17. DocumentRoot "/Users/Viktor/Sites"
  18. ErrorLog error.log
  19. Options Indexes MultiViews Includes
  20. </VirtualHost>
  21.  
  22. <VirtualHost *:80>
  23. ServerName ihm.dev
  24. ServerAlias m.ihm.dev
  25. DocumentRoot "/Users/Viktor/Sites/ihm"
  26. ErrorLog error.log
  27. Options Indexes MultiViews Includes
  28. </VirtualHost>

Report this snippet  

You need to login to post a comment.