RE: Installation problem - Invalid command 'PerlSetEnv'
| Newsgroups | gmane.comp.apache.mod-survey.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Joel, > -----Original Message----- > This has nothing to do with it, you cannot run mod_perl on command line, > since mod_perl is an extension of apache. In order to test it you have to > try to access the scripts via apache, ie browse to them. > > Please read the documentation on how to enable mod_perl in apache: > > http://perl.apache.org/docs/2.0/user/config/config.html > > A good start would probably be reading httpd.conf to see if the required > directives are there. > > If mod_perl is properly configured, the directive "PerlSetEnv" will be > understood. Yes, shure, ;-) I think so too. I know the documentation you refer to and I checked httpd.conf, apache2, and all the other files. The problem is: Suse 9.1 installs apache 2 + mod_perl 1.9x The docs on perl.apache.org (and all other examples I found) describe Apache 1.3x + mod_perl 1.9x or Apache 2 + mod_perl 2.x but not the mix on my linux box. :-| Thanks a lot Thomas > > // Joel > > > On Wed, 22 Sep 2004 [email protected] wrote: > > > Hi Joel, > > > > thank's a lot for your answer! > > > > I uninstalled and reinstalled mod_perl via YAST2. > > > > > > I tried two test scripts (found on > > http://www.perl.com/pub/a/2002/03/22/modperl.html?page=2) on the command > > line: > > > > print "Content-type: text/plain\r\n\r\n"; > > print "mod_perl rules!\n"; > > > > my $r = shift; > > $r->send_http_header('text/plain'); > > $r->print("mod_perl rules!\n"); > > > > The first one works. The second gives me the following error: > > > > wb-db:/srv/www/cgi-bin # Can't call method "send_http_header" on an > > undefined value at test.pl line 2. > > > > Might this be a hint for you? > > > > Tom > > > > > > > >> -----Original Message----- > >> From: [email protected] [mailto:owner-survey- > >> [email protected]] On Behalf Of Joel Palmius > >> Sent: Wednesday, September 22, 2004 10:49 AM > >> To: [email protected] > >> Subject: Re: survey-discussion-list: Installation problem - Invalid > >> command 'PerlSetEnv' > >> > >> This is caused with a non-enabled mod_perl. PerlSetEnv is a mod_perl > >> directive. If it isn't found, it means that apache didn't understand > > to > >> include the mod_perl modules. > >> > >> I don't know how Suse looks, but on my gentoo box, I have to start > > apache > >> with "-D PERL" in order to actually enable mod_perl. > >> > >> // Joel > >> > >> On Tue, 21 Sep 2004 [email protected] wrote: > >> > >>> > >>> Dear mod_survey-users, > >>> > >>> after installing mod_survey i get the following error, when I try to > >>> start apache2: > >>> > >>> Starting httpd2 (prefork) Syntax error on line 7 of /srv/www/cgi- > >>> bin/mod_survey/survey.conf: > >>> Invalid command 'PerlSetEnv', perhaps mis-spelled or defined by a > >>> module > >>> not included in the server configuration > >>> > >>> The command line was: > >>> /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf > >>> > >>> Suse Linux 9.1 prof. > >>> Mod_perl installed (1.9x) > >>> > >>> Used installation script with default values besides: > >>> Script dir: /srv/www/cgi-bin/mod_servey/ > >>> Language: de > >>> OS: unix/suse > >>> > >>> Any help out there? > >>> > >>> Thanx a lot in advance! > >>> > >>> Tom > >>> > >>> > >>> Skickat av <[email protected]> > >>> till survey-discussion > >>> > >> Skickat av Joel Palmius <[email protected]> > >> till survey-discussion > >> > > > > > > > Skickat av Joel Palmius <[email protected]> > till survey-discussion >
Thomas Oberhofer ([email protected]).vcf
(text/x-vcard, 569 B)
BEGIN:VCARD VERSION:2.1 N:Oberhofer;Thomas;;Herr FN:Thomas Oberhofer ([email protected]) ORG:ATLAS ELEKTRONIK GmbH;CPA / Aus- und Weiterbildung TEL;WORK;VOICE:+49 (0) 421 457 - 4869 TEL;WORK;FAX:+49 (0) 421 457 - 4860 ADR;WORK:;SEB BT 020 / Raum 0115;Sebaldsbrücker Heerstraße 235;Bremen;;D-29305;Germany LABEL;WORK;ENCODING=QUOTED-PRINTABLE:SEB BT 020 / Raum 0115=0D=0ASebaldsbr=FCcker Heerstra=DFe 235=0D=0ABremen D-= 29305=0D=0AGermany URL;WORK:http://www.atlas-elektronik.de/ EMAIL;PREF;INTERNET:[email protected] REV:20040414T143626Z END:VCARD