multiple virtual hosts with vhttpd

Post Reply
Posts: 9
Joined: Wed Oct 30, 2002 8:00 pm

multiple virtual hosts with vhttpd

Post by krisfromohio »

Hello Again!

Is there any way to have name based virtual hosts with vhttpd? I have a client who would like to make another instance of his current site. Of course, he doesn't want to have to get another machine to do this on. He's currently running vhttpd (which I like alot.) I guess we could switch to apache and lose the performance benefits of vhttpd, but I'd rather not do that. Is it possible to keep this all vhttpd?

Also, how does this impact the licensing? If he *does* end up getting a new machine to run his new instance of his site, can he still do all of this off of the same license?

Thanks again,

User avatar
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

multiple virtual hosts with vhttpd

Post by Kai »

vhttpd doesn't currently support name-based virtual hosts directly. You could however check the $HTTP_HOST variable in an entry script, and redirect to another server on another port on the same machine (or simply <spew> the page directly in the entry script).

Licensing is not an issue, as the Texis license allows any number of machines (it's overall hits and largest DB that count).
Post Reply