I want to serve different files depending on what domain name
was used to access my server.  Reading the apache docs it looks
like the keyword I need to use is VirtualHost.

I tried
<VirtualHost brown.armoredpenguin.com>
  DocumentRoot /var/www/abrownExtra/public_html
</VirtualHost>
<VirtualHost localhost>
  DocumentRoot /var/www/apache2-default
</VirtualHost>

That works for localhost.  If I change the DocumentRoot for localhost
I am redirected to the right place.  But it doesn't work for
brown.armoredpenguin.com.  In that case there is no change in
behavior from changing DocumentRoot.

Is this the right process?  Should this have worked?
What am I doing wrong?
--
Allen Brown  http://brown.armoredpenguin.com/~abrown/
  Thoughts, like fleas, jump from man to man,
  but they don't bite everybody. --- Stanislaw Lec

_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to