lemoncube.com Search: (normal)
Articles
Links
News
Projects

Disclaimer

thttpd virtual hosts

thttpd supports virtual hosts ... kind of.

In the document directory you create directories corresponding to the hostnames you want to host:

   drwxr-xr-x    ..... 10.1.2.3 -> www.thing.com
   drwxr-xr-x    ..... www.thing.com
   drwxr-xr-x    ..... www.other.com
Then make sure you run thttpd with the -v option. Undoubtedly all these subdirs would need to stay under the one document tree.

pablo , 2003-09-05 21:24:39