Re: HTTPS connexion on the port 80

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 9, 2008 at 5:10 PM, David BERCOT <debian@xxxxxxxxxx> wrote:
> NameVirtualHost *
> <VirtualHost *>
>        ServerName site1.mydomaine.org
>        DocumentRoot /site1
> </VirtualHost>
>
> <VirtualHost *>
>        ServerName site2.mydomaine.org
>        DocumentRoot /site2
> </VirtualHost>
>
> <VirtualHost *>
>        ServerName site3.mydomaine.org
>        DocumentRoot /site3
>        SSLEngine on
>        SSLCertificateFile /ssl/site3.cert
>        SSLCertificateKeyFile /ssl/site3.key
> </VirtualHost>

You need to tell apache to accept the port 443 traffic in a particular
vhost, and "*" doesn't work for that.

NameVirtualHost *:80
<virtualhost *:80>
...
</virtualhost>
<virtualhost *:80>
...
</virtualhost>

<virtualhost *:443>
SSLEngine on
...
</virtualhost>

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux