Jan Eden wrote on 22.06.2005: >Geoffrey Young wrote on 22.06.2005: > >> >>>..[Wed Jun 22 17:20:49 2005] [error] Insecure directory in >>>$ENV{PATH} while >>running with -T switch >> >>clean up your path and you should be ok - this is keeping >>Apache::Test* from loading properly. in other words, it's not that >>it can't find the modules it needs, they just can't load because >>something funky is in your $ENV{PATH}. > >I saw that just after sending the message and - it works. Most tests >ran just fine, except for some denied permission errors and some >skipped tests due to missing modules (which is expected with an >empty path). > >But this does not solve my real problem, i.e. that the modules are >not found when running my scripts. > >[Wed Jun 22 18:04:12 2005] [error] Can't locate Apache/RequestRec.pm > >Now this one is true, there is no module Apache::RequestRec anywhere >in my path - but I have no idea why and why it wasn't installed.
Followup: I do have Apache2::RequestRec, and the error occurs only when certain modules are used in a script (DBI works, CGI does not). Strange. Best, Jan -- He who would give up a little liberty in return for a little security deserves neither liberty nor security. - Benjamin Franklin