On Wed, Jul 28, 1999, Arend van der Veen wrote:
> I am trying to use the File function in an SSLRequire Function.
>
> The following example works:
>
> SSLRequire ( %{SSL_CLIENT_S_DN_CN} in { "apv" } )
>
> I now try to move the list of valid DN to a file
>
> SSLRequire ( %{SSL_CLIENT_S_DN_CN} in
> { file("/usr/dpserver/ValidDNList") } )
>
> where /usr/dpserver/ValidDNList contains
>
> "apv"
>
> Can anyone point out what I am doing wrong?
The "file" isn't such flexible. It reads in the complete file, including a
newline, etc. And the result is not a list, it's a single string. So the
above seems to be equal to
SSLRequire ( %{SSL_CLIENT_S_DN_CN} in
{ "apv\n" } )
and this way fails. Sorry, but file() is very weak.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]