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 220.127.116.11: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://