|
| We use IP-based virtual hosts. The following one uses the faked IP
1.2.3.4. Only this one uses both http and https. We use a
self-signed certificate. But https for the following host does not
work. https://www.data.my.edu returns "The connection to
www.data.my.edu has terminated unexpectedly. Some data may have been
transferred.". What could be the problem?
<VirtualHost 1.2.3.4:80>
DocumentRoot /var/www/html/LINUX
ServerName data.my.edu
ServerAlias www.data.my.edu
ErrorLog logs/www.data.my.edu-error_log
CustomLog logs/www.data.my.edu-access_log combined
RewriteEngine On
RewriteRule ^/$ /rhel [R]
</VirtualHost>
<VirtualHost 1.2.3.4:443>
DocumentRoot /var/www/html/LINUX
ServerName data.my.edu
ServerAlias www.data.my.edu
ErrorLog logs/www.data.my.edu-error_log
CustomLog logs/www.data.my.edu-access_log combined
RewriteEngine On
RewriteRule ^/$ /rhel [R]
</VirtualHost>
Bing
|
|