Andrea,
I've not looked at the documentation but in a shell script to test an
integer you use -eq (equals) and to test a string you use = (Perl is the
exact opposite) so it might be this. Sorry if I'm completely wrong, just
though I'd try to help in a quick e-mail before I leave work for the night.
Regards,
Derek Smith
Systems Administrator/Developer
MotorTR@K - www.motortrak.com.
Andrea e Luca Giacobazzi wrote:
> >
> >The following should work:
> >
> ><Directory /foobar>
> >SSLRequire %{SSL_LDAP_CERT_STATUS} =~ m|whatever|
> ></Directory>
> >
> >When it doesn't either SSL_LDAP_CERT_STATUS doesn't exists or is empty
> (what I
> >guess) or something is broken (what I don't think).
> >
> I tried:
> <Directory /secure_area>
> SSLRequire %{SSL_LDAP_CERT_STATUS} eq "good"
> </Directory>
>
> but it doesn't work, the access to secure_area is allowed in every case.
> The var SSL_LDAP_CERT_STATUS is created and contains "good" string, I
> checked that with a cgi-bin.
>
> I tried also:
> <Location /secure_area>
> SSLRequire %{SSL_LDAP_CERT_STATUS} eq "good"
> </Location>
>
> and it works, but the access to secure_area is denied in every case, for
> every value of SSL_LDAP_CERT_STATUS.
>
> Any suggestion ?
>
> Thanks everyone
> Giacob
>
> ______________________________________________________________________
> 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]