Posted By

daisuke103 on 02/13/08


Tagged

textmate name apache doc httpd conf virtual host root


Versions (?)

APACHE httpd.conf バーチャルホストの設定


 / Published in: Other
 

  1. # -- httpd.conf's bottom --
  2. NameVirtualHost *
  3.  
  4. # if Include, Use This.
  5. # Include /private/etc/httpd/users/*.conf
  6.  
  7. # default_htdocs
  8. # ex... MAMP htdocs
  9. <VirtualHost *>
  10. ServerName "localhost"
  11. DocumentRoot /Applications/MAMP/htdocs
  12. </VirtualHost>
  13.  
  14. # NameVirtualHost
  15. <VirtualHost *>
  16. ServerName "local.desktop"
  17. DocumentRoot /Users/*/Desktop
  18. </VirtualHost>

Report this snippet  

You need to login to post a comment.