Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 13:53:26 +0100
From:      Stuart Henderson <stuart@eclipse.net.uk>
To:        Chris Cook <ccook@tcworks.net>
Cc:        "Mark J. Taylor" <mtaylor@cybernet.com>, freebsd-isp@FreeBSD.ORG
Subject:   Re: FP2k and vhosts
Message-ID:  <37BAACC6.D40E669@eclipse.net.uk>
References:  <37BAB7C1.A20D378@tcworks.net> <37BA2F97.D52462CC@cybernet.com> <37BB83C4.DBA0215A@tcworks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 2) FP2000 does not allow multiple virtual hosts on the same IP/port
> >    pair.  The server is not parsing the configuration file correctly.

I think the key there is the last sentence. You might get some reason if
you ktrace FP but I don't think the output will be much fun to parse. 
But you don't need to find out why anyway because you don't have to let 
FP near the _real_ Apache config file. Really, all it needs is a way of 
finding out the docroot location, hostname and port. It's not going to
need anything else and it certainly doesn't hurt to give FP as little
information as possible (seems quite suitable really, seeing as they
give us as little information as possible too :-)

-- /usr/local/frontpage/foo.domain.com:80.cnf --
serverconfig:/usr/local/frontpage/dummy/svs_foo.domain.com/srm.conf

-- /usr/local/frontpage/dummy/svs_foo.domain.com/srm.conf --
DocumentRoot /www/foo.domain.com/public_html/
Port 80
ServerRoot /usr/local/frontpage/dummy/svs_foo.domain.com
<VirtualHost foo.domain.com>
</VirtualHost>

you might also need these in your dummy directory, 

lrwxr-xr-x  1 root  bin    1 Jul  8 21:49 conf -> .
drwxr-xr-x  2 root  bin  512 Jul  8 21:49 etc
-rw-r--r--  1 root  bin  179 Jul  8 21:49 srm.conf
-rw-r--r--  1 root  bin    0 Jul  8 21:49 etc/access.conf

Caveat emptor: I have _not_ tested this using Apache httpd. This is
using Zeus (whose idea it was anyway, they had a very simple FP2k 
install script pretty much as soon as the extensions were released). 
It's working fine here (I'm not amused FP exts are still using their 
own DES crypt rather than the system crypt libraries after all this
time. Yeuchh! Still, Linux has md5 now so maybe they'll think again).

-sh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37BAACC6.D40E669>