Hello, I have been able to configure SSL/Apache so that it works, but I had to do it in a way that leads me to believe things aren't 100% kosher. If I set the following in /etc/sysconfig/apache2 apache will not start: APACHE_SERVER_FLAGS="-DSSL" I get an error message about port 443 being in use. It is actually NOT in use, as I can see via the netstat command. It appears that Apache is trying to bind to the port twice. If I start Apache without the above setting it starts OK and DOES listen to port 443. But, without the above setting an important part of the Apache virtual host config file gets skipped. I can only get it all to work by commenting out the "<IfDefine SSL>" Note that I have configured this manually based on the "vhost-ssl.template" file as I could not get the configuration supplied by yast to work at all. Can anyone enlighten me on what's going on here? Thanks.
Forgot to mention -- SuSE 9.3. On Wednesday 25 May 2005 16:38, Robert Paulsen wrote:
Hello,
I have been able to configure SSL/Apache so that it works, but I had to do it in a way that leads me to believe things aren't 100% kosher.
If I set the following in /etc/sysconfig/apache2 apache will not start:
APACHE_SERVER_FLAGS="-DSSL"
I get an error message about port 443 being in use. It is actually NOT in use, as I can see via the netstat command. It appears that Apache is trying to bind to the port twice. If I start Apache without the above setting it starts OK and DOES listen to port 443.
But, without the above setting an important part of the Apache virtual host config file gets skipped. I can only get it all to work by commenting out the "<IfDefine SSL>"
Note that I have configured this manually based on the "vhost-ssl.template" file as I could not get the configuration supplied by yast to work at all.
Can anyone enlighten me on what's going on here?
Thanks.
On Wednesday 25 May 2005 16:38, Robert Paulsen wrote:
Hello,
I have been able to configure SSL/Apache so that it works, but I had to do it in a way that leads me to believe things aren't 100% kosher.
If I set the following in /etc/sysconfig/apache2 apache will not start:
APACHE_SERVER_FLAGS="-DSSL"
I get an error message about port 443 being in use. It is actually NOT in use, as I can see via the netstat command. It appears that Apache is trying to bind to the port twice. If I start Apache without the above setting it starts OK and DOES listen to port 443.
Well, I should have looked once more before sending that note. I found TWO instances of "Listen 443" in the config files. Removing the extraneous one set it all right.
participants (1)
-
Robert Paulsen