View Single Post
  #2   Spotlight this post!  
Unread 21-08-2004, 15:15
evulish's Avatar
evulish evulish is offline
1010100
AKA: Grant Harding
#0084 (WATTNESS (bot: Chuck))
Team Role: Alumni
 
Join Date: Jul 2002
Location: Towanda/Wysox, PA
Posts: 1,434
evulish is just really niceevulish is just really niceevulish is just really niceevulish is just really nice
Send a message via AIM to evulish
Re: Dual sites on home server running apache?

I have mine set up as follows:

Code:
NameVirtualHost *

<VirtualHost *>
ServerName www.mehh.net
DocumentRoot /web
</VirtualHost *>

<VirtualHost *>
ServerName amy.mehh.net
DocumentRoot /home/amy/public_html
</VirtualHost>
Which works just fine for me.
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)