Re: Can't call Apache::Request-new()
Yes PerlDoc . And you have a very good doc on Indigoperl. U even have it in mod_perl :) - PS:- Paul I saw your site and that is real nice. - Original Message - From: Ged Haywood [EMAIL PROTECTED] To: Anand R [EMAIL PROTECTED] Cc: Paul Makepeace [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, December 14, 2001 2:01 PM Subject: Re: Can't call Apache::Request-new() Hi there, On Fri, 14 Dec 2001, Anand R wrote: The Request Object contains info sent to the server in the client's request. [snip] Maybe this should not a big problem,U just have to have a look at the Apache Doc. I think he's trying to say perldoc Apache::Request :) 73, Ged. PS: Cute email address Paul.
Re: Can't call Apache::Request-new()
As far as the httpd.conf goes , Alias /perl/ /real/path/to/perl/scripts/ Location /perl SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Location PerlModule Apache :: Registry PerlModule CGI PerlSendHandler On Files *.perl SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Files Check these with your setup,..But I think you have given it right Maybe this time it is solved. Regards, Anand - Original Message - From: Paul Makepeace [EMAIL PROTECTED] To: Ged Haywood [EMAIL PROTECTED] Cc: Anand R [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, December 14, 2001 2:22 PM Subject: Re: Can't call Apache::Request-new() On Fri, Dec 14, 2001 at 08:31:26AM +, Ged Haywood wrote: Hi there, On Fri, 14 Dec 2001, Anand R wrote: The Request Object contains info sent to the server in the client's request. [snip] Maybe this should not a big problem,U just have to have a look at the Apache Doc. I think he's trying to say perldoc Apache::Request Hmm, I was hoping I was way beyond that! Perhaps I'm not being clear -- I'm use'ing a module and calling a documented method and then perl is claiming the module isn't loaded. I showed a command line that demonstrated this ( that the module is installed) and then said it also happened when under mod_perl. To go into even more detail, here is how I'm calling it under mod_perl. I'm new to this so quite possibly the mistake's somewhere here... httpd.conf: Files /perl-bin/*.cgi SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On /Files apr.cgi: #!/usr/bin/perl -Tw use strict; use Apache::Request; my $r = shift; my $apr = Apache::Request-new($r); my @params = $apr-param; print HTML; Content-type: text/plain @params; HTML And sho' nuff ...error.log contains, Can't locate object method new via package Apache::Request (perhaps you forgot to load Apache::Request?) at /home/wwwrp/perl-bin/apr.cgi line 7. [Fri Dec 14 00:43:14 2001] [error] [client 172.30.0.3] Premature end of script headers: /home/wwwrp/perl-bin/apr.cgi :) 73, Ged. PS: Cute email address Paul. Heh thanks -- no prizes for guessing which device file x10.com@ goes to :-) 55, Paul -- Paul Makepeace ... http://paulm.com/ What is the meaning of life? The unforgiven. -- http://paulm.com/toys/surrealism/
ApacheCon Trial Version
Does any one weather we can have a Trial Version of ApacheCon. Or it is paided. TIA, Anand
Re: [SOLUTION] Can't call Apache::Request-new()
Paul.Matt,ged and others on the ring, at last the problem is solved regards, ANAND , PDM Programmer, www.dsmsoft.com - Original Message - From: Paul Makepeace [EMAIL PROTECTED] To: Matt Sergeant [EMAIL PROTECTED] Cc: Ged Haywood [EMAIL PROTECTED]; Anand R [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, December 14, 2001 3:18 PM Subject: Re: [SOLUTION] Can't call Apache::Request-new() On Fri, Dec 14, 2001 at 09:20:06AM -, Matt Sergeant wrote: I think I know what's happening here. Your script is running as a CGI, not as mod_perl. Check: print not unless $ENV{MOD_PERL}; print running under mod_perl\n; Yup, this is it. Grrr, seems like my Files /perl-bin/*.cgi was the problem. Directory /home/wwwrp/perl-bin Files *.cgi SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On /Files /Directory Thanks Matt all! D'oh, Paul [1] http://httpd.apache.org/docs/mod/core.html#files Matt. -- :-Get a smart net/:- -- Paul Makepeace ... http://paulm.com/ If the car doesn't start in the rain, then all would be revealed. -- http://paulm.com/toys/surrealism/
Re:[Rewrite article] Randal Schwartz article on load balancing in Epache
I would like to see the article of Randal Schwartz ,.. Will some one help me out with this - Original Message - From: Steven Lembark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 14, 2001 2:45 PM Subject: Re: load balancing on apache -- Hemant Singh [EMAIL PROTECTED] Hi All I am planning to host an application and its size is going to be big one , so expect the concurrent number of connection s to be around 2200.To combat the same , want to perform load sharing on 3-4 servers.So the ide is to put one machine on external IP and this machine , after receiving the requests would forward them to any of the other three machines having the application deployed and running on the same environment.Pls suggest how can i achieve this on apache. Randal Schwartz had a good article on this about a year ago. You can use the re-write phase to balance the load w/in Apache if you want to. Alternatives include round- robin DNS and separate load balancing software. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582
Re: load balancing on apache by IP CHAINING
IP chaining can be done in Java Webserver, How to do it in Apache Webserver. Please let the Ring know this, Thanks in advance, Regards, Anand - Original Message - From: Derek Jones To: Hemant Singh ; [EMAIL PROTECTED] Cc: Derek G Jones Sent: Friday, December 14, 2001 7:29 PM Subject: RE: load balancing on apache Hi all, You can do load balancing using ipchains as well. Can't remember the program name offhand, but if I have time I'll look it up and let the list know. Only works if your servers are Linux of course. Kind regards Derek. --Derek Jones 1051, Bollinger Road,Tel: 717 359 8817 Littlestown,Mobile: 717 977 4556 PA, 17340, USAEmail: [EMAIL PROTECTED]AIM: scunacc
Perl Handlers
How to set location for perl on Apache Webserver 1.3.19 Location / $how to set it for perl$ SetHandler --- Order deny,allow Deny from all Allow from myisp-provider /Location Thanks in advance, Regards, Anand
Re: Any good WebMail programs?
I would say Indigoperl has a better mail utility www.indigostar.com -Anand - Original Message - From: Drew Taylor [EMAIL PROTECTED] To: Medi Montaseri [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, December 14, 2001 8:31 AM Subject: Re: Any good WebMail programs? I can recommend SquirrelMail (http://www.squirrelmail.org/) It's also written in PHP, but seems pretty well laid out. It also works well w/ shared hosting. :-) At 10:44 PM 12/12/2001 -0800, Medi Montaseri wrote: I can use a primer on researching WebMail programs with the following criterian: - Linux based - Free - Preferably in Perl - Modularized Authentication subsystem (ie could hook up adapters to check with LDAP or RDBMS, though Linux can do that also) - Apache support - IMAP support - Multi-lingual (can be a phase II) - As feature-rich as possible (can be a phase II) Drew Taylor JA[P|m_p|SQL]H http://www.drewtaylor.com/ Just Another Perl|mod_perl|SQL Hacker mailto:[EMAIL PROTECTED] *** God bless America! *** ICQ: 135298242
Re: Can't call Apache::Request-new()
The Request Object contains info sent to the server in the client's request. The Information stored under the Request object *ClientCertificate *Cookies *form *QueryString *ServerVariables The ServerVariables collections stores both ENV variables relavent to the transaction and HTTP headers sent in the request. The header objects are accessiable by using the syntax:- HTTP_HeaderName Maybe after all these clarification will help you,If I have understood your problem. Subject: Re: Can't call Apache::Request-new() Maybe this should not a big problem,U just have to have a look at the Apache Doc. regards, Anand DSM Soft (P) Ltd www.dsmsoft.com - Original Message - From: Paul Makepeace [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 14, 2001 12:12 PM Subject: Re: Can't call Apache::Request-new() So no replies to this -- could someone even confirm they have a working Apache::Request v0.33 on perl 5.6.1? That would be a big help in at least determining whether it's perhaps something amiss here. Else I'll file it as a bug. Cheers, Paul On Tue, Dec 11, 2001 at 09:11:50PM -0800, Paul Makepeace wrote: I'm getting the following error, $ perl -MApache::Request -e 'Apache::Request-new' Can't locate object method new via package Apache::Request (perhaps you forgot to load Apache::Request?) at -e line 1. $ ...both from the command line and under a PerlHandler Apache::Registry'd script. Of course, it is installed: $ perl -MApache::Request -le 'print grep /Request/, values %INC; print $Apache::Request::VERSION' /usr/local/lib/perl/5.6.1/Apache/Request.pm 0.33 $ In all other respects I'm able to discern so far mod_perl, Perl and Apache are working here (I have a number of sites using Template Toolkit with a custom PerlHandler and a few scripts under Apache::Registry). I'm getting this error from both a fresh CPAN install and Debian's libapache-request-perl package (not installed at the same time!). Any suggestions where to start looking? Thanks, Paul PS Rather than cluttering your inbox, perl -V is at http://paulm.com/tmp/perl_v.txt
AuthGroupFile
I want to write a AuthGroupfile .I did set the password for the site. I want to create a group and let the group access the site. Directory E:/Apache/htdocs AuthType Basic AuthName Restricted Files AuthUserFile E:/apache/bin/passwdfile AuthGroupFile how to write a file and set the user rights Require user Anand /Directory I tried ,..but in vain,... Can anyone send me a example on this, Thanks in advance, Regards, Anand
Spawn Child Pro
couldn't spawn child process: e:/apache/cgi-bin/weblink/simple/find.pl This is the error I am getting when I try it out with CGI-BIN. Can anyone try helping me out of this spawn child,. TIA, -Anand