[TriLUG] Apache Virtual Hosts Question

Joshua Gitlin josh at glowfilms.com
Mon Nov 3 10:20:23 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey everyone,

I have a question about Apache's Virtual hosts. Let's say that I have a 
few directories, "host1", "host2", "host3", all in one parent 
directory, "sites". is there any way that I can configure apache to 
automatically serve requests for host1.mydomain.com from the "host1" 
folder, and requetss from "host2.mydomain.com" from the "host2" folder? 
I know I can configure virtual hosts for each, but I'm trying to avoid 
that -- I want to be able to just add a new directory and have a new 
host. How do these free web hosting services do it? (You know, the ones 
where you sign up as "username" and instantly your website is at 
http://username.freehost.com/")?

TIA!

- -Josh Gitlin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iEYEARECAAYFAj+mcjwACgkQdMO2CPVJoQ4uUACbB5VgnrsIx2xLkI+7y5hFV06e
x/sAnjUQS5Q+yv2u9XuoVNyXWumGaMJ8
=I1Rw
-----END PGP SIGNATURE-----




More information about the TriLUG mailing list