Web Hosting Talk







View Full Version : httpd.conf Question


NGRUMAN
12-06-2001, 08:17 PM
Hello All!

I am trying to get this script to work but
Perl can't find the required modules. For this to work I have to tell apache where the modules are located.

The owner/writer said I had to add a line like this Setenv PERL5LIB /home/learning/modules in my httpd.conf file. I ssh into that file but have no idea where to put this directive.

Could someone tell me where to put it in httpd.conf, and what the proper coding of it would be assuming the directory is /home/learning/modules

-Thanks Nate

Chicken
12-06-2001, 08:50 PM
Unless I'm mistaken, it wouldn't matter where you put this all that much. Chances are the following would work (if that's what he suggested):

Setenv PERL5LIB /home/learning/modules

Pilgrim
12-06-2001, 10:01 PM
If you are not truly sure, make a backup of your httpd.conf first!
Heck, even if you are sure make a backup first.

Also, make the changes during a time when you know you can get a reboot if you need one.

bobcares
12-07-2001, 05:16 AM
The change has to be made in he system environment settings... not the httpd.conf.

Have a great day :)

regards
amar