How can I set up virtualhost for multiple domain name on Windows?
I will use it for my own test projects. I have three projects that I need to set up and at the moment I'm using xampplite for the portable Apache.
- www.foo-bar.com --> direct to c:xampplitehtdocsfoo-bar
- www.abcdef.com --> directo to c:xampplitehtdocsabcdef
- www.qwerty.com --> direct to c:xampplitehtdocsqwertyweb
I also need to access on another project, but it just like typing
http://localhost/my-project/
How can I write the vhost configuration for that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…