Apache: Serve http traffic over https
- by Gatsys
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://