Apache: Serve http traffic over https

Posted by Gatsys on Server Fault See other posts from Server Fault or by Gatsys
Published on 2010-05-05T17:24:38Z Indexed on 2010/05/05 17:29 UTC
Read the original article Hit count: 275

Filed under:
|

Using apache. I have a demo of a webapp that usually uses https. However, for the demo, I want all traffic to be on http even if a user hits https.

I have added the following entry and it works if you go to http:// AAAA.com:443, but doesn't work if you go to https:// AAAA.com.

It gives you this error:

SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)

Here is my current setup:

<VirtualHost 111.111.111.1:443>
    ServerName test.AAAA.com
    DocumentRoot /var/www/AAAA.com
</VirtualHost>

How do you redirect the https->http without encountering the SSL error. In other words, turn off ssl for https://

© Server Fault or respective owner

Related posts about apache

Related posts about ssl