Nate Carlson wrote:
>
> On Fri, 25 Feb 2000, Patrick Robinson wrote:
[...]
> > I get a syntax error from "httpd -t" (or "apachectl configtest") when
> > I use SSLRequireSSL inside a <Directory>, like this:
> >
> > <Directory /some/secure/directory>
> > SSLRequireSSL
> > </Directory>
[...]
>
> I'm just guessing, but could it be that httpd -t and apachectl configtest
> do not enable the mod_ssl module, so therefore the SSLRequireSSL directive
> would not exist, and this would cause the syntax error? Or do you actually
> get that error when you _start_ httpd too?
Ugh. Of course that's it. What I neglected to mention was that this
occurs when I do either "apachectl restart" or "apachectl graceful".
The reason being, of course, that THOSE commands run (and must pass)
"httpd -t" before it'll send the restart signal to httpd.
Well, this looks like a bug to me. apachectl needs to know whether
a running httpd is using SSL, and include the -DSSL on the "-t"
checks where appropriate.
Thanks,
--
Patrick Robinson
CALS & 229 Distance Education, Virginia Tech
[EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]