On Fri, 25 Feb 2000, Patrick Robinson wrote:

> Hi folks,
> 
> I asked this question a couple of weeks ago, but got no responses,
> so I thought I might try again:
> 
> 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>
> 
> <VirtualHost some.ip.add.ress:8443>
>     ServerName my.server.name
>     DocumentRoot /some/secure/directory
>     SSLEngine on
>     SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
>     SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
>     {etc.}
> </VirtualHost>

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?

-- 
Nate Carlson <[EMAIL PROTECTED]>    | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500

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

Reply via email to