my limp wrote:
> 
> I recently installed apache with mod_ssl. when I start up apache using
> "apachectl startssl" the server starts up fine and listens on both port 80
> and 443. However when I start up apache with out ssl i.e "apachectl start" I
> keep on getting connection refused. I did a ps -aux|grep httpd and the
> apache server is running fine. How come I can access my default page only
> when I use the "startssl" option?

Remember that any directives inside the port 443 virtual host will be
ignored if you run apache from port 80 only. So check you don't have any
critical directives inside the 443 VH. E.g did you define a DocumentRoot
in your port 80 virtual host?

A "connection refused" error usually means that apache is *not*
listening on the IP and port you requested.. This could happen if your
Listen directives and VirtualHost IPs are a bit mixed up. I usually make
them very specific, e.g.

Listen 192.168.1.1:80
<VirtualHost 192.168.1.1:80>
 .. HTTP stuff
</VirtualHost>

Listen 192.168.1.1:443
<VirtualHost 192.168.1.1:443>
 .. SSL stuff
</VirtualHost>

Double check all those directives.

Rgds,

Owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to