http://www.perlmonks.org?node_id=347657


in reply to Problem with Apache2, htaccess and PERL5LIB.

SetEnv PERL5LIB /foo/bin/

should still work. the syntax hasn't changed for 2.0. are you sure you have the server configured to allow .htaccess configuration?

update: i just tried it on a fresh apache 2.0.49 install and SetEnv in .htaccess works fine out of the box. you're probably going to have to give us more info on your setup.