Re: mod_perl on win2k: cannot load module
I 've tried the new version The problem is simple.. When i change the env of win32 i used, the mod_perl run. I suggest you change the env by setting set PATH=C:\perl\bin\ or wherever your perl interpreter located, then start apache from MS-DOS prompt Good luck ----- Frans Electronics Engineering Department of Electrical Engineering Institut Teknologi Bandung Email: [EMAIL PROTECTED] - On Fri, 6 Jul 2001, frans wrote: > I use Apache 1.3.9 and it's an old version of course.. > why don't you try compiling the source code provided by www.modperl.org ? > Thank you. > > - > Frans > Electronics Engineering > Department of Electrical Engineering > Institut Teknologi Bandung > Email: [EMAIL PROTECTED] > - > > On Wed, 4 Jul 2001, Randy Kobes wrote: > > > On Wed, 4 Jul 2001, frans wrote: > > > > > Try download ApacheModulePerl.dll from > > > www.cpan.org, choose by author, Jeffrey_Baker > > > good luck > > > > Does this work for you? What Apache version are you using? > > The mod_perl dll is fairly dependent on the version of Apache > > it was compiled with, and this version on CPAN was compiled > > against a fairly old Apache. > > > > best regards, > > randy kobes > > >
Re: mod_perl on win2k: cannot load module
I use Apache 1.3.9 and it's an old version of course.. why don't you try compiling the source code provided by www.modperl.org ? Thank you. ----- Frans Electronics Engineering Department of Electrical Engineering Institut Teknologi Bandung Email: [EMAIL PROTECTED] - On Wed, 4 Jul 2001, Randy Kobes wrote: > On Wed, 4 Jul 2001, frans wrote: > > > Try download ApacheModulePerl.dll from > > www.cpan.org, choose by author, Jeffrey_Baker > > good luck > > Does this work for you? What Apache version are you using? > The mod_perl dll is fairly dependent on the version of Apache > it was compiled with, and this version on CPAN was compiled > against a fairly old Apache. > > best regards, > randy kobes >
Re: mod_perl on win2k: cannot load module
Try download ApacheModulePerl.dll from www.cpan.org, choose by author, Jeffrey_Baker good luck - Frans Electronics Engineering Department of Electrical Engineering Institut Teknologi Bandung Email: [EMAIL PROTECTED] - On Wed, 4 Jul 2001, [EMAIL PROTECTED] wrote: > I am a currently trying to have Apache and mod_perl to run with win 2000. This is >part of a review being currently undertaken by my company on what technical solution >to use for our intranet web server. > > I have installed Apache 1.20 downloaded from apache.org web site. > I have installed Perl from Activestate. The version installed is >ActivePerl-5.6.1.626-MSWin32-x86-multi-thread. > I have downloaded mod_perl from ftp://theoryx5.uwinnipeg.ca, installed it using ppm. >The version of the package I have installed is mod_perl-1_25_1_3_20-eapi.tar.gz > > Unfortunately, I have trouble running mod_perl: when I start Apache, I get the >following error message: >"Syntax error on line 204 of c:/apache/apache/conf/httpd.conf: > Cannot load c:/apache/apache/modules/mod_perl.so into server: (127) The specified >procedure could not be found:" > > I have some questions. Thanks for any information that could be provided: > 1) Would anyone know what causes this error message and what I could do to solve the >issue? > 2) What is the difference between the eapi and no eapi versions of mod_perl. I have >tried both, without success. I get an error message complaining about API in the >version of mod_perl that does not have eapi in its name. > 3) In the mailing list and at other places on the net, reference is made of >expat_win32.dll. What is this dll for? Do I need it? > > Raphael > __ > Voila vous propose une boite aux lettres gratuite sur Voila Mail: > http://mail.voila.fr > > >
Re: mod_perl configure
Sorry, I'm not a master. But I try to answer your question. This is because your installation not successful. Try to install mod_perl again with perl-5.6.0. I 've tried it and it worked good. The script CGI you embedded is not running under mod_perl, but it run as a common CGI. The installation step like here $ perl Makefile.PL EVERYTHING=1 DO_HTTPD=1 USE_APACI=1 APACHE_SRC=../apache_1.3.6/src APACHE_PREFIX=/usr/local/apache $ make $ make test TEST_VERBOSE=1 $ make install then restart your apache Thx. On Thu, 3 Aug 2000, yusun wrote: > I have installed the mod_perl and changed the httpd.conf as > > Alias /cgi-perl/ /usr/ns-home/cgi-bin/ > > #AllowOverride None > SetHandler perl-script > PerlHandler Apache::PerlRun > Options +ExecCGI > allow from all > PerlSendHeader On > PerlSetVar PerlRunOnce On > > > When I restarted httpd, there was no error reported. > But when I used the following CGI to test whether the mod_perl was working > or not. > The report was no. Why? > > ### > #!/usr/bin/perl > print "Content-type: text/plain\n\n"; > print "Server's environment\n"; > foreach ( keys %ENV ) { > print "$_\t$ENV{$_}\n"; > } > # > > The result is > : > : > GATEWAY_INTERFACE CGI/1.1 > : > > It means that I have configured this location to run under mod_cgi and not > mod_perl. > How can I configure the location to run under mod_perl? > Thanks! > > > >
mod_perl installation
I 've tried to install mod_perl in FreeBSD2.2.8. The support modul for mod_perl have installed by CPAN module. But when I run Makefile perl Makefile.PL EVERYTHING=1 DO_HTTPD=1 && make The proccess stopped with error code perl_util.c: In function `perl_sv_is_http_code': perl_util.c:751: invalid type argument of `->' perl_util.c:754: invalid type argument of `->' *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. Will you tell me what 's wrong with this ? And what's the different at all the statement DO_HTTPD=1 and NO_HTTPD=1, because when I tried with NO_HTTPD=1, it worked successfully.