mod_ssl: Configuring Apache to enable protocol http and https

This is a discussion on mod_ssl: Configuring Apache to enable protocol http and https within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I have a Linux Madriva 2005 with Apache 2. I have installed the certificates in my server for one ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-11-2006
Max-B
 
Posts: n/a
Default mod_ssl: Configuring Apache to enable protocol http and https

Hi,
I have a Linux Madriva 2005 with Apache 2. I have installed the
certificates in my server for one of my virtual host. I added inte
virtual hosts configuration this lines:


<VirtualHost 100.100.100.100>
SSLEngine On
SSLCertificateKeyFile /absolute/path/to/my/key
SSLCertificateFile /absolute/path/to/my/certificate
ServerName www.my.server.name
ServerPath /myroot
DocumentRoot /var/www/html
</VirtualHost>


With this configuration the protocol https works fine. The problem is
that when I try to connect to www.my.server.name through http I got the
error page:

Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

Hint: https://www.my.server.name:80/

....even for the other virtual hosts.
How can I enable the possibility to use both protocol http and https?

Thanks,
Max-B
--
http://www.max-b.org

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0