Hi list,
I=27m writing some code to ask LDAP a few questions and show the result
in a browser.
My code works fine in standalone mode as well as a common CGI-script,
but when running under mod_perl with Apache, it halts with an =22Internal
Server Error=22:
=24result =3D =24ldap->search(base=3D>=22c=3D=24ldapCountry=22, =
scope=3D>=27one=27,
filter=3D>=22o=3D=24ldapOrg=22, attrs=3D>=27ACL=27);
=20
my =40ACL =3D =40=7B=24result->entry(0)->get_value(=27ACL=27, asref=3D>1)=
=7D;
The first line executes fine, =24result->error reports =27Success=27, but =
the
next line halts the script.
Anybody=27s any idea about what goes wrong?
Regards,
Lars
Lars Skj=E6rlund, Network Consultant, Spinn International ApS
Bukkeballevej 30, 2960 Rungsted Kyst, Denmark
Tel.: +45 70 25 88 10, Fax: +45 70 25 88 44
Mail: lars=40sReceived: from Skjaerlund-MTA by porter.spinn.dk
pinn.dk Web: http://www.spinn.dk
--
|