httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Williams" <jus...@naturalwebs.com>
Subject Re: [users@httpd] HTTPS?
Date Tue, 19 Nov 2002 21:00:04 GMT
Interestingly enough, when I look through apachectl, I see nothing
about -DSSL anywhere in there.
I see no function for startssl, so, where do I put the code mentioned by
Jacob?

----- Original Message -----
From: "Justin Williams" <justin@naturalwebs.com>
To: <users@httpd.apache.org>
Sent: Tuesday, November 19, 2002 3:45 PM
Subject: Re: [users@httpd] HTTPS?


> Before I start tinkering on a production machine, here's a bit more info:
>
> Here's where it gets weird...
> eth0 has IP .13
> eth0:1 has IP .18
>
> The SSL is on .18
> If I ping the SSLed domain from that specific machine, I get a reply from
> .18.  This would indicate to me that Apache knows what IP it is supposed
to
> be on.
> If I ping the SSLed domain from any other machine, I get a reply from .13.
>
> If I go to http://ssled domain, I get the most recently added name-based
> virtual domain.
> If I go to https://ssled domain, I get "cannot be found."
> If I go to http://.18, I get the default site on .13.
> If I go to https://.18, I get cannot be found.
> If I go to http://ssled domain:443, I get site cannot be found
>
> Anybody else confused yet?
> I type in as root "apachectl startssl", and I get a response for apachectl
> usage, with no option for startssl.
>
> I look up system information, asking Apache what it knows about, and it
> shows mod_ssl.  This *should* mean that I have access to the startssl
option
> for apachectl, but that blows up.
>
> If I start apache normally (apachectl start), it screams about the first
> SSL-related line in the SSLed domain directive.
>
> So, at this point, I am wondering if the mod_ssl was correctly added, and
> whether or not Apache *really* knows how to serve up anything on :443.
Can
> anybody confirm?
>
> If I type in httpd -DSSL, it screams about the first line for the SSLed
> domain...  Same error as if I type in apachectl startssl
>
> ----- Original Message -----
> From: "Jacob Coby" <jcoby@listingbook.com>
> To: <users@httpd.apache.org>
> Sent: Friday, November 15, 2002 1:20 PM
> Subject: Re: [users@httpd] HTTPS?
>
>
> > > Kinda what I figured, but, too many years with winblows...  ;-)
> > > So, I stopped apache, and tried apachectl startssl; still got a
response
> > of
> > > how to use apachectl.  Doesn't like startssl...
> > > So, I started nosing around in httpd.conf, and found:
> > >     <IfDefine HAVE_SSL>
> > >     AddModule mod_ssl.c
> > >     </IfDefine>
> > > How do I define HAVE_SSL??  Shouldn't this be automatic, like PHP was?
> >
> > HAVE_SSL is defined when you start a copy of apache that is SSL-enabled.
> >
> > You may have to upgrade your apachectl package to one that includes the
> > startssl option.  In the meantime, you can manually start apache with
with
> > SSL by running:
> >
> > httpd -DSSL
> >
> > I've included the pertinant startssl lines from my copy of apachectl if
> you
> > want to modify your copy.  Add them to right after the fi ;; lines in
the
> > start) block.
> >
> > -Jacob
> >
> > -- modified apachectl lines follow --
> > -- this goes on line 78 in my copy, yours may be different.
> >  startssl|sslstart|start-SSL)
> >         if [ $RUNNING -eq 1 ]; then
> >             echo "$0 $ARG: httpd (pid $PID) already running"
> >             continue
> >         fi
> >         if $HTTPD -DSSL; then
> >             echo "$0 $ARG: httpd started"
> >         else
> >             echo "$0 $ARG: httpd could not be started"
> >             ERROR=3
> >         fi
> >         ;;
> >
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message