On 2004-04-20, Linux Nick penned:
> This is a multi-part message in MIME format.
> ------=_NextPart_000_0048_01C426B2.FD4F8DE0 Content-Type: text/plain;
> charset="US-ASCII" Content-Transfer-Encoding: 7bit
> Does anyone have a working httpd.conf file that they could send me,
> directly or to the list? One that is hosting 2 sites in vhosts. Im
> really looking for one that is hosting on secure and one that is
> unsecure, but ill take just one with 2 working vhsots. Im tired of
> looking at "sample" configs they never seem to work, I want one in
> production right now that is known to work.
> Also is it possible to host 1 secure site and 1 unsecure site on the
> same address and when they put the https: instead of the http: the
> server automaticly knows which one to serve? Or would I have to change
> the name of one to be ssl.domain.com and the other www.domain.com?
Rather than trying to do it all in one file, install both the apache and
the apache-ssl packages. You will then have separate configuration
files for your secure and insecure servers, one in /etc/apache, one in
HTTPS uses a different port by default than does HTTP, so there should
be no naming or IP issue.
- From: "Linux Nick" <LinuxNick@comcast.net>