I was able to install Apache 2.0.50 with SSL support such that if I start Apache with the startssl argument, the nosecure and secure test pages are accessible. However, there are two problems that I am running into:
1. I would like to automatically redirect insecure connections (80) to the secure port (443). To that end I modified the httpd.conf file to include a redirect line in the virtual host section. Here is an excerpt of the file:
Redirect / https://10.10.10.20/
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
The problem is I can manually go to the secure port, but I am not automatically sent to it.
2. I am able to start Apache with ssl without any difficulty, but when I want to stop it, I get the following error:
Syntax error on line 1117 of ../httpd.conf: Invalid command 'SSLEngine' perhaps it is mispelled or defined by a module not included in the server configuration.
When I did the initial compiling of Apache, the syntax that I used was:
./configure --prefix=/usr/local/apache --enable-mods-shared=most --enable-deflate --enable-ssl
There were no errors during the compiling process.
What steps do I need to take to correct these problems? Thanks.