Hi all,
I want my Fedora 17 to set up apache using both http and https.
My configurations is :
Apache version : 2.2.22
openssl version : 1.0.0i-fips
I using named virtualhost : myfirstsite.com , mysecondsite.com
First I appended to httpd.conf
Then I test the http before install mod_ssl. It works.
append to ssl.conf
When I restart httpd and test.
I found that I am impossible to visit http. All access become https.
Could someone tell me is that Apache could not be both http and https?
I want my Fedora 17 to set up apache using both http and https.
My configurations is :
Apache version : 2.2.22
openssl version : 1.0.0i-fips
I using named virtualhost : myfirstsite.com , mysecondsite.com
First I appended to httpd.conf
Code:
<VirtualHost *:80>
ServerName myfirstsite.com
DocumentRoot /var/www/html/http/one
</VirtualHost>
<VirtualHost *:80>
ServerName mysecondsite.com
DocumentRoot /var/www/html/http/two
</VirtualHost>
append to ssl.conf
Code:
<VirtualHost *:443>
ServerName myfirstsite.com
DocumentRoot /var/www/html/https/one
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/one.crt
SSLCertificateKeyFile /etc/pki/tls/certs/one.key
</VirtualHost>
<VirtualHost *:443>
ServerName mysecondsite.com
DocumentRoot /var/www/html/https/two
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/two.crt
SSLCertificateKeyFile /etc/pki/tls/certs/two.key
</VirtualHost>
I found that I am impossible to visit http. All access become https.
Could someone tell me is that Apache could not be both http and https?