httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ComCity" <mi...@comcity.com>
Subject Re: [users@httpd] Name Virtual Host confusion in Apache 2.0
Date Sun, 08 Jun 2003 15:51:09 GMT
I don't get any errors
just

Failed to start apache :
Starting httpd: [FAILED]

and if I do a httpd -t...it says syntax OK.


----- Original Message -----
From: "Ezra" <ezra@acedsl.com>
To: <users@httpd.apache.org>
Sent: Sunday, June 08, 2003 4:58 AM
Subject: Re: [users@httpd] Name Virtual Host confusion in Apache 2.0


> hello mike:
> what errors are you receiving
>
> ComCity wrote:
> > I'm very confused about the Virtual Host and Name virtual host
configuration
> > in Apache 2.0....stuff that use to work seems like it doesn't and I
gotta
> > think thats because I don't know what I'm doing.  ;)
> >
> > I need to run Named-based virtual hosts as was as IP based virtual hosts
> > that need to simultaneously listen on port 80 and port 443 for the same
IP
> > address to handle ssl.  No matter what I do in the conf files, I get an
> > error.  It seems to me I should be able to do this:
> >
> >
> > Listen 80
> > Listen 443
> > NameVirtualHost 219.11.62.74
> >
> > #Name-based Virtual Hosts first
> >
> > <VirtualHost 219.11.62.74>
> > DocumentRoot /home/webs/default
> > ServerName www.server1.com
> > </VirtualHost>
> >
> > <VirtualHost 219.11.62.74>
> > DocumentRoot //server2
> > ServerName www.server2.com
> > </VirtualHost>
> >
> > #Ip-based virtual Hosts next
> >
> > <VirtualHost 219.11.62.102:80>
> > DocumentRoot /home/webs/SSLSite1
> > ServerName www.SSLSite1.com:80
> > </VirtualHost>
> >
> > # Then put this stuff in my SSL conf file.
> >
> > <VirtualHost 219.11.62.102:443>
> > DocumentRoot /home1/webs/SSLSite1
> > ServerName www.SSLSite1.com:443
> > SSLEngine ON
> > SSLCertificateFile /usr/local/certs/anything.com.crt
> > SSLCertificateKeyFile /usr/local/certs/anything.com.key
> > </VirtualHost>
> >
> > I understand that the limitations of SSL requiring a unique IP and that
it
> > can not be a named-based host...but you should be able to run the
> > certificate on the same IP if the port is unique.  How is this done now?
> > How do you config a single IP for SSL on port 443 and reuse that IP for
the
> > website on port 80?  I'm at a loss.
> >
> > Thank You very much.
> > Michael
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message