Posted By


lister on 05/09/11

Tagged


Statistics


Viewed 745 times
Favorited by 1 user(s)

MAMP/Conf/apache/httpd.conf


/ Published in: Other
Save to your folder(s)

multiple hosts in MAMP, leopard.
MAMP preferences have been amended to port80 port3306


Copy this code and paste it in your HTML
  1. NameVirtualHost *:80
  2.  
  3.  
  4. <VirtualHost *:80>
  5. ServerName mysite.dev.dev
  6. ServerAlias mysite.dev.dev *mysite.dev.dev
  7. DocumentRoot "/Users/me/Sites/mysite.dev.dev"
  8. </VirtualHost>
  9.  
  10. <VirtualHost *:80>
  11. ServerName examplesite.dev
  12. ServerAlias examplesite.dev *examplesite.dev
  13. DocumentRoot "/Users/me/Sites/examplesite.dev"
  14. </VirtualHost>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.