Hi All,
I am configuring two domains on wamp.
In that one domain have ssl certificate and second domain do not have ssl certificate.And domains will be
With SSL: [demo1.test.com]
Without SSL: [demo2.test.com]
But I have added demo1 with in http-ssl config file:
<VirtualHost _default_:443>
DocumentRoot "C:/wamp/www/demo1"
ErrorLog "C:/wamp/bin/apache/apache2.4.9/logs/error.log"
TransferLog "C:/wamp/bin/apache/apache2.4.9/logs/access.log"
SSLEngine On
# Server Certificate:
SSLCertificateFile "C:/wamp/bin/apache/apache2.4.9/conf/extra/server.crt"
# Server Private Key:
SSLCertificateKeyFile "C:/wamp/bin/apache/apache2.4.9/conf/extra/server.key"
<Directory "C:/wamp/www/demo1">
Options Indexes FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
But for second domain I don't have to use SSL, the how I need to configure host in this file?
Thanks,
Komal.
I am configuring two domains on wamp.
In that one domain have ssl certificate and second domain do not have ssl certificate.And domains will be
With SSL: [demo1.test.com]
Without SSL: [demo2.test.com]
But I have added demo1 with in http-ssl config file:
<VirtualHost _default_:443>
DocumentRoot "C:/wamp/www/demo1"
ErrorLog "C:/wamp/bin/apache/apache2.4.9/logs/error.log"
TransferLog "C:/wamp/bin/apache/apache2.4.9/logs/access.log"
SSLEngine On
# Server Certificate:
SSLCertificateFile "C:/wamp/bin/apache/apache2.4.9/conf/extra/server.crt"
# Server Private Key:
SSLCertificateKeyFile "C:/wamp/bin/apache/apache2.4.9/conf/extra/server.key"
<Directory "C:/wamp/www/demo1">
Options Indexes FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
But for second domain I don't have to use SSL, the how I need to configure host in this file?
Thanks,
Komal.