asked on
<VirtualHost *:80>
ServerName site1.example.com
ServerAlias site1.example.com
.....
</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName site2.example.com
ServerAlias site2.example.com
Redirect permanent / https://site2.example.com/
</VirtualHost>
<VirtualHost *:443>
ServerName site2.example.com
ServerAlias site2.example.com
ASKER
The Apache HTTP Server is a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards. Typically Apache is run on a Unix-like operating system, but it is available for a wide variety of operating systems, including Linux, Novell NetWare, Mac OS-X and Windows. Released under the Apache License, Apache is open-source software.
TRUSTED BY