httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonu Mikk <tm...@umn.edu>
Subject Re: [users@httpd] IP based virtual hosts for SSL
Date Tue, 02 Nov 2010 18:37:28 GMT
Yes, indeed.   Doing this works ...  Thanks Chris!

<VirtualHost 128.101.172.14:80 <http://128.101.172.14/>>
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@eehmke.de> 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@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