I spent some time this weekend updating a long ago how to post on configuring mass virtual hosting for Apache on Mac OS X -- the original version was from April 2004!
I do lots of testing on my laptop, and while I'm now quite familiar with VirtualHost entries from the dedicated servers I work with, this is actually even easier: just create a directory with the name of the host and requests for that host will be served from the directory. It all comes down to good old mod_vhost_alias. I probably should do some more direct examples of mixing and matching this with other host directives. As mentioned at the end of the article, aside from symlinking one directory to another, I don't know of another way to point multiple hosts at the same web root. I'll get to it if I end up needing it myself, it works for now.
Recent comments
22 hours 53 min ago
3 days 21 hours ago
4 days 15 hours ago
4 days 17 hours ago
5 days 13 hours ago
5 days 18 hours ago
5 days 19 hours ago
1 week 5 days ago
2 weeks 3 days ago
2 weeks 5 days ago