You are not logged in.

#1 2005-03-07 18:21:07

dekernel
Member
From: Vassar, MI USA
Registered: 2004-03-22
Posts: 117

PERLLIB and Apache

I am trying to set  up a electricsheep server http://www.electricsheep.org/ here at work, but I seem to have a problem with changing the PERLLIB enviroment variable.

According to the documentation http://home.clara.net/koogy/sheep/installing.html

Add cgi directory to PERLLIB for Apache
Apache needs to have global.pl and config.pl in its Perl include path in order to be able to pick them up. So in /etc/init.d/httpd you need to add:
start() {
  PERLLIB=/home/sheep/v2.5/cgi:$PERLLIB
...

I need to add add a directory to the PERLLIB, but since I am writing this, you can assume correctly that I was unable to. I thought I could just modify /etc/conf.d/httpd, but I was unsuccessful.

Suggestions?

Offline

#2 2005-03-09 14:02:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: PERLLIB and Apache

Long shot, this, as I'm not using any of this kind of stuff. The given quote specifies /etc/init.d/httpd - wouldn't the Arch equivalent be /etc/rc.d/httpd?

Offline

#3 2005-03-10 15:11:58

dekernel
Member
From: Vassar, MI USA
Registered: 2004-03-22
Posts: 117

Re: PERLLIB and Apache

Yes, it should. I was modifing the /etc/rc.d/httpd file, but it didn't appear to work because the scripts were complaining. I even tried several variations including exporting the enviroment with little success.

Offline

Board footer

Powered by FluxBB