Re: IP based virtual hosts for SSL

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

 



Yes, indeed.   Doing this works ...  Thanks Chris!

<VirtualHost 128.101.172.14:80>
DocumentRoot "/var/www/html/madev"
ServerName dsdev.oed.umn.edu
<Directory "/var/www/html/madev">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost 128.101.172.14:443>
DocumentRoot "/var/www/html/madev"
ServerName dsdev.oed.umn.edu
SSLEngine on
SSLCertificateKeyFile /etc/httpd/ssl.key/madev.domain.com.key
SSLCertificateFile /etc/httpd/ssl.crt/server.csr
SSLCertificateChainFile /etc/httpd/ca_bundle/madev_domain_com_interm.cer
<Directory "/var/www/html/madev">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

On Tue, Nov 2, 2010 at 1:22 PM, <chris@xxxxxxxxx> wrote:
On Dienstag 02 November 2010, Eric Covener wrote:
> > <VirtualHost 128.101.172.14:80 128.101.172.14:443>
> > SSLEngine on
>
> You can't have SSL and non-SSL in a single vhost -- the non-ssl
> requests that are mapped to this vhost won't work.

But you can easily have two different vhosts, one on port 80, one on port 443
for the same URL.

---------------------------------------------------------------------
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