Re: Perl for blockchain development
What will be work location? My skill sets are Perl, Python On Wed, 25 Apr 2018, 16:11 black jack, wrote: > Greetings, > > Is there anybody who has interest on blockchain development with > perl/modperl? > if so please write me back. we are hiring. > > thanks. >
client denied by server configuration: C:/Apache2
I have saved the following file C:\Program Files\Apache Software Foundation\Apache2.2\Perl\printenv.cgi # printenv -- demo CGI program which just prints its environment use strict; print "Content-type: text/html\n\n"; print "Environment variables"; foreach (sort keys %ENV) { my $val = $ENV{$_}; $val =~ s|\n|\\n|g; $val =~ s|"|\\"|g; print "$_ = \"${val}\"\n"; } #sleep(10); print ""; and put the following code in httpd.conf #Alias /perl/ "/Apache2/perl/" Alias /perl/ "C:/Program Files/Apache Software Foundation/Apache2.2/perl/" SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders But it gives the error 403 in browser and in log client denied by server configuration: C:/Apache2
Re: mod_perl conf test
I have placed that files in C:\Perl\site\lib\Apache2\Hello.pm but still it gives the error.. On Mon, Apr 13, 2009 at 10:33 PM, Randy Kobes wrote: > On Mon, Apr 13, 2009 at 11:57 AM, sandhya pawar > wrote: > > File does not exist: C:/Program Files/Apache Software > > Foundation/Apache2.2/htdocs/hello.pm > > It gives the above error? > > Hello.pm (containing Apache2::Hello) should be placed within your Perl > directory (eg, C:\Perl\site\lib\Apache2\Hello.pm, if your top-level > Perl directory is C:\Perl). > > -- > best regards, > Randy >
Re: mod_perl conf test
File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/hello.pm It gives the above error? On Fri, Apr 10, 2009 at 10:57 PM, Randy Kobes wrote: > On Thu, Apr 9, 2009 at 2:53 AM, sandhya pawar > wrote: > > > On Thu, Apr 9, 2009 at 10:12 AM, Jeff Soules wrote: > >> > >> > and put the following lines in C:\Program Files\Apache Software > >> > Foundation\Apache2.2\conf\httpd.conf > >> > > >> > PerlModule Apache2::Hello > >> > > >> > SetHandler modperl > >> > PerlResponseHandler Apache2::Hello > >> > > >> > > >> > but http://localhost/hellp It gives HTTP 404 Not Found error. > >> > >> Just to take care of the obvious here -- you pointed the browser to > >> hellp, not hello? Or is that just a typo in your email? > > > > It is the typo in my email.. > > One other small thing to check - does clearing the browser's cache > help? Also, do other static pages work OK? > > -- > best regards, > Randy >
Re: mod_perl conf test
It is the typo in my email.. On Thu, Apr 9, 2009 at 10:12 AM, Jeff Soules wrote: > > and put the following lines in C:\Program Files\Apache Software > > Foundation\Apache2.2\conf\httpd.conf > > > > PerlModule Apache2::Hello > > > > SetHandler modperl > > PerlResponseHandler Apache2::Hello > > > > > > > > > > but http://localhost/hellp It gives HTTP 404 Not Found error. > > Just to take care of the obvious here -- you pointed the browser to > hellp, not hello? Or is that just a typo in your email? >
mod_perl conf test
I installed and configured mod_perl2.0004 successfully. To test that, I wrote one Hello.pm prg as per document and saved it C:\Perl\site\lib\Apache2\ package Apache2::Hello; use strict; use Apache2::RequestRec (); # for $r->content_type use Apache2::RequestIO (); # for $r->puts use Apache2::Const -compile => ':common'; sub handler { my $r = shift; my $time = scalar localtime(); my $package = __PACKAGE__; $r->content_type('text/html'); $r->puts(<<"END"); Hello Hello from $package! The time is $time. END return Apache2::Const::OK; } 1; and put the following lines in C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf PerlModule Apache2::Hello SetHandler modperl PerlResponseHandler Apache2::Hello but http://localhost/hellp It gives HTTP 404 Not Found error.
mod_perl configuration
operating System: Vista ActivePerl5.10 Apache 2.2.11 mod_perl2.004 Mod_perl has been installed successfully for Perl5.10. C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd Downloading mod_perl-2.04...done Unpacking mod_perl-2.04...done Generating HTML for mod_perl-2.04...done Updating files in site area...done Downloading mod_perl-2.04 install script...done Running mod_perl-2.04 install script... The Apache2 module mod_perl.so is needed to complete the installation, and should be placed in your Apache2 modules directory. I will now fetch and install this for you. Fetching http://cpan.uwinnipeg.ca/PPMPackages/10xx/x86/mod_perl.so ... done! Where should mod_perl.so be placed? [D:/Apache2.2/modules] C:\Program Files\Apac he Software Foundation\Apache2.2\modules\ mod_perl.so has been successfully installed to C:/PROGRA~1/APACHE~1/Apache2.2/mo dules. To enable mod_perl, put in the directives LoadFile "C:/Path/to/Perl/bin/perl510.dll" LoadModule perl_module modules/mod_perl.so in httpd.conf. For more information, visit http://perl.apache.org/ and especially see http://perl.apache.org/docs/2.0/rename.html done But it gives the error when I adds the following line in httpd.conf? LoadModule perl_module modules/mod_perl.so Error: The request operation has failed. Is there need to add the above line in httpd.conf?
Need help to install & configure mod_perl
I have O.S Windows Vista ActivePerl5.8 Apache 2.2.11 Installed. C:\> ppm install mod_perl-2.0 ppm install failed: Can't find any package that provides mod_perl-2.0 C:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd ppm install failed: 500 can't connect to theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd < Bad hostname ' theoryx5.uwinnipeg.ca'> I am trying to install mod_perl, but it gives above error? Thanks, Sandhya.
How to configure mod_perl
When I edit tht httpd.cong for mod_perl, Apache not works. ? Sandhya. On Tue, 24 Feb 2009 02:56:11 +0530 wrote > > >On Mon, 23 Feb 2009, Clinton Gormley wrote: >> to: >> eval {load_application(); 1} || print STDERR $@; >> 1; >> >> then I see the proper error message, but apache starts >> anyway. >> >> Is there any way I can: >> - cause the error to be reported properly >> - force apache not to start > > eval {load_application(); 1} || do { warn $@; die }; > >?? > >Mark >
Re: Re: Need help to configue mod_perl
I am trying to configure mod_perl2.0. but Apache used to get stop.When I enters the above lines in httpd.conf. PerlRequire "C:Program FilesApache Software FoundationApache2.2confextra.pl" ### New new line for mod_perl LoadModule perl_module modules/mod_perl.so #mod_perl - LoadFile "C:/Perl/bin/perl58.dll" [This line works.] What r the steps to configure mod_perl? My installation are: perl5.8 windows xp Apache 2.0 Sandhya. On Sun, 01 Feb 2009 23:09:38 +0530 wrote >sandhya pawar wrote: >> I have installed perl5.8 & Apache 2.2 . Also Mod_perl2.2 >> >> I have to configure mod_perl. >> When I used to add following line in httpd.conf, >> LoadModule perl_module modules/mod_perl.so >> >> Apache used to get stop. >> >> How can I check that mod_perl properly installed. & what are the steps >> to configure it.? >Thats a really broad question. > >http://perl.apache.org/docs/2.0/user/config/config.html > >If you having issues, you should provide any error output you get, your >httpd.conf (a larger portion), >and any messages in your error_log. > >-- > >1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C >Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 >Consultant - P6M7G8 Inc. http://p6m7g8.net >Senior Sys Admin - RideCharge, Inc. http://ridecharge.com >Contractor - PositiveEnergyUSA http://positiveenergyusa.com >ASF Member - Apache Software Foundation http://apache.org >FreeBSD Committer - FreeBSD Foundation http://freebsd.org > >Work like you don't need the money, >love like you'll never get hurt, >and dance like nobody's watching. >
Need help to configue mod_perl
I have installed perl5.8 & Apache 2.2 . Also Mod_perl2.2 I have to configure mod_perl. When I used to add following line in httpd.conf, LoadModule perl_module modules/mod_perl.so Apache used to get stop. How can I check that mod_perl properly installed. & what are the steps to configure it.? Thanks, sandhya.