khttps and virtual apache hosts

David A. Bandel david
Mon May 17 11:29:34 PDT 2004


On Sat, 6 Apr 2002 20:32:51 -0500
begin  Douglas J Hunley <doug at hunley.homeip.net> spewed forth:

> anyone got any tips/pointers/urls/etc on how to make khttpd deal with
> multiple virtual hosts on the same machine with different DOCROOT
> values? from what I can tell, khttpd can only be given one document
> root. ;(-- 
> Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
> Admin: Linux StepByStep - http://www.linux-sxs.org
> 	and http://jobs.linux-sxs.org
> 
> Illiterate?  Write for help!

Doug,

Don't know if this will actually work, however, you might test to see:

echo "/var/www/htdocs /home/httpd/htdocs" > /proc/sys/khttp/DocumentRoot
(proc subdir might be wrong, did from memory)

I don't have a way to test this because I only have on document root.  But
let me know if it accesses both.

Thanx,

David A. Bandel
-- 
Focus on the dream, not the competition.
		-- Nemesis Racing Team motto



More information about the Linux-users mailing list