Re: http and https

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

 



Hello Sander,

Sorry, I don't quit understand what your means...

For the Web Server setting ( http + https ) :

Listen 80

NameVirtualHost ip_address

<VirtualHost webmail.ita.org.mo>
Redirect / https://webmail.ita.org.mo:443
</VirtualHost>

Listen 443

<VirtualHost _default_:443>
DocumentRoot ...
ServerName webmail.ita.org.mo:443
ErrorLog ...
TransferLog ...
SSLEngine on
SSLCertificateFile server.crt
SSLCertificateKeyFile server.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog /var/log/itawm-ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

etc/rc.d/init.d/httpd restart :

Stopping httpd: [ OK ]
Starting httpd: [Fri Sep 21 23:57:12 2007] [warn] _default_ VirtualHost
overlap on port 443, the first has precedence
[ OK ]

Would you mind to help ( assist ) to update the config ?

Thanks !

Edward.

Sander Temme wrote:

>
> On Sep 21, 2007, at 8:49 AM, edwardspl@xxxxxxxxxx wrote:
>
>> So, is there a solution about this problem ?
>
>
> Yes, you get a distinct IP address for every SSL-based virtual host
> you want to set up. Then you set up your DNS to resolve the right
> hostnames to those respective IP addresses, and install certificates
> that have the right hostname as CN field on the right virtual hosts.
>
> That completes the circle.
>
> S.
>

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