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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |