Issac Goldstand wrote:
Issac Goldstand wrote:
Jonathan Vanasco wrote:
On Jan 14, 2007, at 6:45 PM, Fred Moyer wrote:
But it's really much easier to use CGI :)
There's also libapreq
OK - so out of the corner of my eye, I saw the link again as the
previous mail was being copied to my sent-mail
Fred Moyer wrote:
>> Issac Goldstand wrote:
>> I personally never liked using CGI with mod_perl; if I'm going through
>> the trouble of writing optimized handlers to make my application that
>> much faster, why use a pure-perl solution that needs to do full parsing
>> in perl-land, when a lighter
On Jan 16, 2007, at 4:07 AM, Fred Moyer wrote:
I agree it's much more powerful, and it is my power tool of
choice :) In the original context of the question though, the
poster was asking how to grab the the query string arguments. In
that situation where someone is not familiar with the ba
I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun Solaris
machine. We would like to do http authentication via our ldap server which is
installed with SSL. Are there perl modules that have to be installed or must I
recompile apache and mod_perl with specific options? Can
Hi,
I am using a reverse proxy (mod_proxy) and the server give a 400 error
telling that the header doesn't contain a : character and shows the line
GET / HTTP/1.1
Of course that line doesn't have a : char, but it shouldn't have one. I want
to see what headers are sent by the proxy server to t
On Tuesday 16 January 2007 05:35, Malka Cymbalista wrote:
> I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun
> Solaris machine. We would like to do http authentication via our ldap
> server which is installed with SSL. Are there perl modules that have to be
> installed or mus
Issac Goldstand wrote:
I still fail to see the difficulty...
The difficulty that we most frequently see reported here is compiling
Apache2::Request. People have trouble with it often enough to make it a
consideration for beginners.
- Perrin
Hi folks,
Not sure whether this issue has been resolved earlier, but did my bit
searching on the list and googled - couldn't find any standard
solutions working for me. And apologies for the long mail.
I am upgrading our servers to mod_perl 2.0.2 and Apache 2.0.59
(compiled from source)
We
> Back to 2.2.4 - MP2.0.3 worked with one alteration. It seems that
> ap_get_server_version is not only depreciated, but also changed
> functionality. That is... one test fails because it calls
> get_server_version, expects "Apache 2.2.4 (Unix)" but gets "Apache
> 2.2.4".
ugh. I guess we h
On 1/16/07, Issac Goldstand <[EMAIL PROTECTED]> wrote:
Instead of doing:
my $q=CGI->new;
my $param=$q->param('foo');
One needs to do:
my $req=Apache2::Request->new($r);
my $param=$req->param('foo');
I still fail to see the difficulty...
Agreed. It's not difficult to *use*, just a little int
Randal L. Schwartz wrote:
"Andy" == Andy Armstrong <[EMAIL PROTECTED]> writes:
Has anyone heard from James Freeman, the maintainer of CGI::Simple
(http://search.cpan.org/dist/Cgi-Simple/)? It's not been updated in a
couple of years, the outstanding bugs appear to mostly be related to
the
- Original Message -
From: "Kevin Spencer" <[EMAIL PROTECTED]>
To: "Issac Goldstand" <[EMAIL PROTECTED]>
Cc: "Fred Moyer" <[EMAIL PROTECTED]>; "mod_perl list"
Sent: Tuesday, January 16, 2007 10:46 AM
Subject: Re: How to extract a parameter
> On 1/16/07, Issac Goldstand <[EMAIL PROTECTE
On 16 Jan 2007, at 16:09, JupiterHost.Net wrote:
Randal L. Schwartz wrote:
"Andy" == Andy Armstrong <[EMAIL PROTECTED]> writes:
Has anyone heard from James Freeman, the maintainer of CGI::Simple
(http://search.cpan.org/dist/Cgi-Simple/)? It's not been
updated in a
couple of years, the outst
Why would anyone use this instead of CGI.pm?
I like it because:
- uploads are handled more intuitively IMHO
- no HTML stuff (although CGI's HTML methods are pretty slick)
- no function/method oddness
Not sure about its mod_perl issues, I use it mostly under persistent
perl as anormal CGI.
Andy Armstrong wrote:
Has anyone heard from James Freeman, the maintainer of CGI::Simple
(http://search.cpan.org/dist/Cgi-Simple/)? It's not been updated
in a
couple of years, the outstanding bugs appear to mostly be related to
the same issue, and I tried emailing him about this using the cont
On 16 Jan 2007, at 16:25, Jiří Pavlovský wrote:
I use it too. In CGI::Application run under Registry. I had to make
few changes for it to run under mp2 IIRC.
Do you still have those changes? I'd be interested to see a diff
against the released version if possible.
--
Andy Armstrong, hexten
Andy Armstrong wrote:
On 16 Jan 2007, at 16:25, Jiří Pavlovský wrote:
I use it too. In CGI::Application run under Registry. I had to make
few changes for it to run under mp2 IIRC.
Do you still have those changes? I'd be interested to see a diff
against the released version if possible.
Thos
On 16 Jan 2007, at 16:45, Jiří Pavlovský wrote:
Do you still have those changes? I'd be interested to see a diff
against the released version if possible.
Those were just Apache -> Apache2 renaming issues.
OK, I think I got all those, thanks.
--
Andy Armstrong, hexten.net
I added these lines:
use lib '/usr/home/httpd/domains/www.ehunter.com/ehunter_perl/Handlers';
PerlModule Recipes
SetHandler perl-script
PerlHandler Recipes
Options +ExecCGI
PerlSendHeader On
allow from all
Now im getting this error on the h
On Tuesday 16 January 2007 12:03, iNetForce wrote:
> Now im getting this error on the httpd-error.log file:
>
> Syntax error on line 691 of /usr/local/etc/apache/httpd.conf:
> Can't locate Image/Magick.pm in @INC
Looks like your code depends on Image::Magick. You will probably need to
install
On Tue, 16 Jan 2007, Jonathan Vanasco wrote:
[ ... ]
i just use libapreq. i'd love to figure out a
compatibility layer one day , and just be able to abstract
all my code from mod_perl so it *could* run under fcgi or
something if need be. i severely doubt that will ever
happen, but it is a bi
Tracy12 wrote:
How can we retrieve the URL Scheme (http/https ?) from a perl module, Port
given that only input parameter is $r
should we use my $uri = Apache::URI->parse($r) and $uri->scheme;
I use $r->get_server_port. If it's 80 it's http, if it's 443, it's
https. Of course, this
Robert Landrum <[EMAIL PROTECTED]> wrote:
> Tracy12 wrote:
> >How can we retrieve the URL Scheme (http/https ?) from a perl module, Port
> >given that only input parameter is $r
> >
> >should we use my $uri = Apache::URI->parse($r) and $uri->scheme;
> I use $r->get_server_port. If it's 80 i
On Tue, 16 Jan 2007 05:13:55 -0500
Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> i just use libapreq. i'd love to figure out a compatibility layer
> one day , and just be able to abstract all my code from mod_perl so
> it *could* run under fcgi or something if need be. i severely doubt
>
I installed Image Magick, but now im getting this error:
http# apachectl restart
/usr/local/sbin/apachectl restart: httpd not running, trying to start
Syntax error on line 691 of /usr/local/etc/apache/httpd.conf:
Can't locate Mail/Sendmail.pm in @INC (@INC contains:
/usr/home/httpd/domains/ww
iNetForce wrote:
> I installed Image Magick, but now im getting this error:
>
> http# apachectl restart
> /usr/local/sbin/apachectl restart: httpd not running, trying to start
> Syntax error on line 691 of /usr/local/etc/apache/httpd.conf:
> Can't locate Mail/Sendmail.pm in @INC (@INC contains:
> > false cru .libs/libapreq2.a util.o version.o cookie.o param.o parser.o
> > parser_urlencoded.o parser_header.o parser_multipart.o module.o
> > module_custom.o module_cgi.o error.o
> >
A pretty big clue. Included libtool configured with:
AR="false"
--Jon
You got me lost there, the terminology you guys use really throw me off,
sorry :(
sendmail is installed on the system, what exactly do I need to do so I dont
get the sendmail error?
Michael Peters wrote:
>
>
>
> iNetForce wrote:
>> I installed Image Magick, but now im getting this error:
>>
iNetForce wrote:
> You got me lost there, the terminology you guys use really throw me off,
> sorry :(
> sendmail is installed on the system, what exactly do I need to do so I dont
> get the sendmail error?
It's not sendmail, it's the Perl module named Mail::Sendmail (which acts a kind
of a wrap
On Tuesday 16 January 2007 15:12, iNetForce wrote:
> You got me lost there, the terminology you guys use really throw me off,
> sorry :(
> sendmail is installed on the system, what exactly do I need to do so I dont
> get the sendmail error?
Things that end in .pm are usually perl modules. So, you
On Jan 16, 2007, at 12:41 PM, Frank Wiles wrote:
I believe most of the web frameworks provide this sort of
abstraction, at least I know Gantry ( www.usegantry.org ) does.
You can move between the Gantry standalone server, CGI, FCGI, MP1,
and MP2 with little to no code changes. ( W
On Tue, 16 Jan 2007, [EMAIL PROTECTED] wrote:
Hi folks,
Not sure whether this issue has been resolved earlier, but did my bit
searching on the list and googled - couldn't find any standard solutions
working for me. And apologies for the long mail.
I am upgrading our servers to mod_perl 2.0.
Does this mean there is no direct way to retrieve the scheme from the $r
I have seen old code bases where they do the following
my $uri->Apache::URI->parse($r);
my $schme= $uri->scheme;
But this is not working in mod_perl2.x
Robert Landrum wrote:
>
> Tracy12 wrote:
>> How can we retriev
I have a strange issue with a particular script that sometimes (often)
generates a 302 to another script without a clear reason why.
Oddly enough, I simply placed a few "warn('blah')" code snippets to crudely
determine from the error log where it was happening in production (because I
cannot repl
Tracy12 wrote:
> Does this mean there is no direct way to retrieve the scheme from the $r
>
> I have seen old code bases where they do the following
>
> my $uri->Apache::URI->parse($r);
> my $schme= $uri->scheme;
>
> But this is not working in mod_perl2.x
see
http://perl.apache.org/docs/2.
On 17/01/07, Randy Kobes <[EMAIL PROTECTED]> wrote:
On Tue, 16 Jan 2007, [EMAIL PROTECTED] wrote:
> Hi folks,
>
> Not sure whether this issue has been resolved earlier, but did my bit
> searching on the list and googled - couldn't find any standard solutions
> working for me. And apologies for t
On Tue, 16 Jan 2007, [EMAIL PROTECTED] wrote:
> Hi folks,
>
> Not sure whether this issue has been resolved earlier, but did my
bit > searching on the list and googled - couldn't find any standard
solutions > working for me. And apologies for the long mail.
>
> I am upgrading our servers t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, Jan 16, 2007 at 11:06:54AM -0800, iNetForce wrote:
>
> I installed Image Magick, but now im getting this error:
Hi, Force
just to repeat what has been said elsewhere in slightly different terms
when you see this:
> http# apachectl restart
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, Jan 16, 2007 at 04:45:10PM -0800, Will Fould wrote:
> I have a strange issue with a particular script that sometimes (often)
> generates a 302 to another script without a clear reason why.
>
> Oddly enough, I simply placed a few "warn('blah')"
39 matches
Mail list logo