The commented lines have no effect in or out. This was occuring long before these line comments were added. I just added those recently to find things easier when editing the file to try with this issue. I added these comments after the problem started...they where not there originally. Without the comment lines, it simply shifts the line # where the error occurs. I have always had > LoadModule ssl_module modules/libssl.so in my httpd.conf but I do not have AddModule mod_ssl.c. However, upon adding this line AddModule mod_ssl.c, there was no effect. Configtest gives the same error on the same line #.
Is there some other way to restart apache when mod_ssl is installed. After all, you use apachectl startssl instead of apachectl start. Is there an apachectl restartssl? Thanks Mike > The commented out "Listen 443" and "Listen 80" are probably part of your > problem, however, I'd suspect that your httpd.conf is missing the following > from the relevant sections also: > > LoadModule ssl_module modules/libssl.so > AddModule mod_ssl.c > > - > John Airey > Internet systems support officer, ITCSD, Royal National Institute for the > Blind, > Bakewell Road, Peterborough PE2 6XU, > Tel.: +44 (0) 1733 375299 Fax: +44 (0) 1733 370848 [EMAIL PROTECTED] > > > >-----Original Message----- > >From: ComCity [mailto:[EMAIL PROTECTED]] > >Sent: 23 October 2001 15:29 > >To: [EMAIL PROTECTED] > >Cc: [EMAIL PROTECTED] > >Subject: Re: New User: must be obvious question > > > > > >Well that doesn't make a lot of sense....so your saying that > >"configtest is > >better at error checking than apache is at running?" > > > >Here's the error I get: > > > >Syntax error on line 1158 of /usr/local/apache/conf/httpd.conf: > >Invalid command 'SSLEngine', perhaps mis-spelled or defined by > >a module not > >included in the server configuration > > > >8< snip > >#Listen 80 > ><VirtualHost 209.10.62.26:80> > >DocumentRoot /home/webs/holisticfamilyandpets > >ServerName www.holisticfamilyandpets.com > >ScriptAlias /_vti_bin/_vti_adm/ > >/home/webs/holisticfamilyandpets/_vti_bin/_vti_adm/ > >ScriptAlias /_vti_bin/_vti_aut/ > >/home/webs/holisticfamilyandpets/_vti_bin/_vti_aut/ > >ScriptAlias /_vti_bin/ /home/webs/holisticfamilyandpets/_vti_bin/ > ></VirtualHost> > > > >#Listen 443 > ><VirtualHost 209.10.62.26:443> > >DocumentRoot /home/webs/holisticfamilyandpets > >ServerName www.holisticfamilyandpets.com > ># The following line is line 1158 > >SSLEngine ON > >SSLCertificateFile /usr/local/certs/holisticfamilyandpets.com.crt > >SSLCertificateKeyFile /usr/local/certs/holisticfamilyandpets.com.key > >SSLVerifyClient none > ></VirtualHost> > > > > > >----- Original Message ----- > >From: "Owen Boyle" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, October 23, 2001 12:14 AM > >Subject: Re: New User: must be obvious question > > > > > >> ComCity wrote: > >> > > >> > Hi, I've gotten Mod_SSL working on my apache server along > >with openSSL. > >I > >> > have working certs and they get served up as virtual servers. My > >question > >> > has to be obvious. > >> > > >> > I can stop apache no problem with: > >> > apachectl stop > >> > > >> > I can start apache no problem with > >> > apachectl startssl > >> > > >> > However, I cannot "restart" apache with > >> > apachectl restart > >> > > >> > And, if I use > >> > apachectl configtest > >> > > >> > it tells me I have an error at the <SSLEngine On> line of > >my conf file > >line. > >> > This can't be real because it work fine if I stop and > >restart or reboot > >the > >> > computer. The restart command simply doesn't seem to be > >working for me. > >> > >> If you are getting an error message when you configtest, then the > >> amazing thing is that your server is starting under any > >circumstances. I > >> suspect this is not a problem with apachectl which works fine for > >> everyone else but rather (suprise, suprise...) and error in your conf > >> file. > >> > >> To help diagnose it, please cut'n'paste the error messagea > >and post the > >> section from your conf file which deals with the SSL virtualhost. > >> > >> Rgds, > >> Owen Boyle. > >> > >______________________________________________________________________ > >> Apache Interface to OpenSSL (mod_ssl) > www.modssl.org > > User Support Mailing List [EMAIL PROTECTED] > > Automated List Manager [EMAIL PROTECTED] > > > > ______________________________________________________________________ > Apache Interface to OpenSSL (mod_ssl) www.modssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > > - > > NOTICE: The information contained in this email and any attachments is > confidential and may be legally privileged. If you are not the > intended recipient you are hereby notified that you must not use, > disclose, distribute, copy, print or rely on this email's content. If > you are not the intended recipient, please notify the sender > immediately and then delete the email and any attachments from your > system. > > RNIB has made strenuous efforts to ensure that emails and any > attachments generated by its staff are free from viruses. However, it > cannot accept any responsibility for any viruses which are > transmitted. We therefore recommend you scan all attachments. > > Please note that the statements and views expressed in this email > and any attachments are those of the author and do not necessarily > represent those of RNIB. > > RNIB Registered Charity Number: 226227 > > Website: http://www.rnib.org.uk > > ______________________________________________________________________ > Apache Interface to OpenSSL (mod_ssl) www.modssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
