On Fri, 2003-11-07 at 15:59, Franki wrote:
> Adolfo Bello wrote:
> 
> > Any virtual host using SSL has to be defined twice. The one that tells
> > Apache to use HTTP is in Vhosts and looks like:
> > 
> > <VirtualHost *:80>
> >    <IfDefine SSL>
> >        SSLEngine off
> >     </IfDefine>
> >     DocumentRoot /path/to/your/site
> >     ServerName www.yoursite.com
> > </VirtualHost>
> > 
> > You got the SSL one already working. I guess is in conf.d/ssl-xxxx.conf
> > (Sorry, I install Apache 2 from tarball which uses ssl.conf in conf/).
> > 
> > HTH
> > 
> > Adolfo
> 
> Hi Adolfo and all,
> 
> I didn't want SSL with the virtual hosts..
> 
> I have one cert on the server (or will when I get it sorted, but thats 
> how it was set on the old server with apache 1.3)
> The one cert is only for one subdomain... the rest are all just normal 
> http...
> 
> I tried your suggestions, but they didn't help... so I wiped the whole 
> apache2 install.. and reinstalled from scratch.
> then put the Vhosts.conf file back. (without defined ports or SSLEngine 
> off) and it kinda worked. (must have been a clagged install)
> Now I get all virt hosts coming up as the first virt host listed in the 
> vhosts.conf file...
> 
> so its still not working properly.. there are about a dozen virt named 
> hosts in the file.. and all of them come back with the first listed 
> vhosts pages.
> 
> I'll keep playing with this, but any advice would be appreciated.
> 
> 
> regards
> 
> Franki

Make sure the line

NameVirtualHost *:80

is not commented.

Any warning when you enter "apachectl restart"?

Adolfo


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to