Wildcard domains with virtualhost with Apache on Mac
问题 I'm currently running several domains for local development http://wordpress.dev http://phpmyadmin.dev http://projectx.dev http://projecty.dev ... Most of these projects are located in the users "Sites" directory but some are located somewhere else: /Users/[username]/Sites/wordpress /Users/[username]/Sites/phpmyadmin /Users/[username]/Sites/projectx /Users/[username]/OtherDirectory/projecty I'm currently setup all by adding dedicate entries to the /etc/hosts and /etc/apache2/extra/httpd