Frank Maas wrote:
Hi,
Well, by now you must know that I am working on something... and I
keep stumbling on things I seem not to understand and not to be
able to find in the docs / books.
See this example:
# SetHandler perl-script
PerlHeaderparserHandler MyClass->first
PerlAuthenHandler
Trey Hyde wrote:
My PerlCleanupHandler seems to be firing before the content phase has
finished processing the page.
The handler pretty much looks like
sub handler {
my ($r) = @_;
undef $Foo::bar;
undef $Foo::baz;
return OK;
}
It's being invoked in a virtual host apache conf segment with
PerlClean
Gareth Palmer wrote:
I'm getting a strange error while trying to using the GnuPG module
while running under mod_perl (everything works fine when executing from
a shell)
The message is:
Can't locate object method "OPEN" via package "Apache::RequestRec"
(perhaps you forgot to load "Apache::Request
[EMAIL PROTECTED] wrote:
Hi,
I'm getting a bizarre compile error while trying to build
Apache::Scoreboard 0.10 on a Mandrake Linux 9.0 system.
Here's a snippet of make output, from the first gcc command that failed to just the first few errors it generates:
gcc -c -I../
-I/usr/lib/perl5/site_pe
Jim Morrison [Mailing-Lists] wrote:
[...]
I'm just wondering how Linux (RedHat 7.2) deals with dual processors,
[...]
Does linux just take care of 2 proccessors or does the code have to be
compatable?
If you are using a non threaded mod_perl, which is the case with
- mod_perl 1.0
- mod_perl w/ pre
Blayne Bayer wrote:
I might be posting this to the wrong group
Have you tried searching for the right forum before posting here?
In the future check this document first:
http://perl.apache.org/docs/offsite/other.html
Your XS questions probably belong here:
http://lists.perl.org/showlist.cgi?name=pe
One more issue with CGI.pm and mp2, and other modules as well.
CGI.pm is using Apache->request. The setting/retrieval of the global request
record under threads is expensive, so the use of Apache->request is deprecated
in mp2.
If CGI.pm can be changed to optionally accept $r (as an argument to
Stas Bekman wrote:
Stas Bekman wrote:
Lincoln Stein wrote:
Please find enclosed a beta version of CGI.pm 2.92. I would
appreciate it if people could test it on both mod_perl 1 and mod_perl
2, as well as under normal CGI scripts too ;-)
Thanks Lincoln. 'make test' passes with mp1 and mp2
Ah
Stas Bekman wrote:
Lincoln Stein wrote:
Please find enclosed a beta version of CGI.pm 2.92. I would
appreciate it if people could test it on both mod_perl 1 and mod_perl
2, as well as under normal CGI scripts too ;-)
Thanks Lincoln. 'make test' passes with mp1 and mp2
Ah, no it doesn't pass 1
On Fri, Mar 14, 2003 at 10:31:25AM +1100, Carl Brewer wrote:
>
>
> Stas Bekman wrote:
> >Lincoln Stein wrote:
> >
>
> >You want to move to MP2, if one of the following reasons apply:
> >
> >- you are stuck with Apache2
> >- you want to use i/o filters
> >- you want to write your own protocol han
Stas Bekman wrote:
Lincoln Stein wrote:
You want to move to MP2, if one of the following reasons apply:
- you are stuck with Apache2
- you want to use i/o filters
- you want to write your own protocol handlers
- you want to use a threaded mod_perl
- you are stuck with win32 (mp1 is unusable on
Lincoln Stein wrote:
Please find enclosed a beta version of CGI.pm 2.92. I would appreciate it if
people could test it on both mod_perl 1 and mod_perl 2, as well as under
normal CGI scripts too ;-)
Thanks Lincoln. 'make test' passes with mp1 and mp2, however the test suites
aren't exhaustively
Perrin Harkins wrote:
Stas Bekman wrote:
Ron Savage wrote:
I see this item:
if one wishes to simply read POST data, there is the more modern
{setup,should,get}_client_block API, and even more modern filter API.
Along with continued support for read(STDIN, ...) and $r->read($buf,
$r->headers_in->{
[please keep the threads on the list unless requested otherwise]
Georg Botorog wrote:
Thanks. But I still have not understood how I avoid to include
Apache::DBI in the current version of Apache (2). In mp1, there was an
explicit inclusion statement in httpd.conf, which I could leave out. I
have fo
Andrew,
Ya need to remember to CC the group as well.
Copied from an oldish Netscape spec:
--
domain=DOMAIN_NAME
When searching the cookie list for valid cookies, a comparison of the domain
attributes of the cookie is made with the In
Richard Heintze wrote:
He needs declarative role based authorization and
authentication for his web site -- and maybe fault
tolerance too depending on the price of the hardware
for a linux server.
These are two separate things.
Authen/Authz can be implemented any way you like on mod_perl. It does
Usually when I have this problem the path and/or domain is incorrect. Try
it without either.
Tom
> -Original Message-
> From: Andrew Fritz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2003 12:25 PM
> To: [EMAIL PROTECTED]
> Subject: mod_perl not sending cookies
>
>
> I'm usin
Are you using Apache::Cookie?
If so,
#same as $cookie->bake
$r->err_headers_out->add("Set-Cookie" => $cookie->as_string);
Are you doing this?
Richard.
- Original Message -
From: "Andrew Fritz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 13, 2003 8:
I'm using Apache:AuthCookie. I have set up a basic test site. It appears
that AuthCookie never send the cookie even though the call to:
$r->err_headers_out->add("Set-Cookie" => $cookie);
is there. If I modify the call to include a simple cookie:
$r->err_headers_out->add("Set-Cookie" => 'a=b'
Lincoln Stein wrote:
Hi Stas,
Thanks. I'll fold these changes and release on CPAN. I'll also remove the
$|=1 setting, since that was globally needed for FastCGI compatibility, and I
don't think that anyone uses it anymore.
Lincoln
They have came out with a fastcgi (mod_fastcgi-2.4.0) rele
On March 13, 2003 11:48 am, Richard Heintze wrote:
> My client is partial to perl so I installed mod_perl
> on Apache HTTPD on his windows servers.
>
> Now, however, he wants to price a linux cluster with
> raid to replace his windows servers.
>
> He needs declarative role based authorization and
>
My client is partial to perl so I installed mod_perl
on Apache HTTPD on his windows servers.
Now, however, he wants to price a linux cluster with
raid to replace his windows servers.
He needs declarative role based authorization and
authentication for his web site -- and maybe fault
tolerance too
Hi Stas,
Thanks. I'll fold these changes and release on CPAN. I'll also remove the
$|=1 setting, since that was globally needed for FastCGI compatibility, and I
don't think that anyone uses it anymore.
Lincoln
On Monday 10 March 2003 08:43 pm, Stas Bekman wrote:
> Hi Lincoln,
>
> > I'm not i
Hi,
Alias /cctvimages/ /home/me/images/
Should do it.
Regards,
Abdul-Wahid
On Thu, 2003-03-13 at 18:35, mel awaisi wrote:
> Hi list
>
> How do i make an alias on my webserver?
>
> i have images on my machine located in /home/me/images/. i would like to be
> able to access them on /home/ht
Hi list
How do i make an alias on my webserver?
i have images on my machine located in /home/me/images/. i would like to be
able to access them on /home/httpd/htdocs/
i have tried this:
Alias /home/me/images/ "/home/httpd/htdocs/cctvimages/"
i have mkdir cctvimages in /home/http/htdocs/cctvimag
I might be posting this to the wrong group, but any help would be
appreciated. This is my problem, I am trying to use h2xs to create a
extension for perl using an api provided by a 3rd party vendor. I have
the .h,.so,.o files for their c libraries. I cannot figure out how to
build the extension. I
Stas Bekman wrote:
Ron Savage wrote:
I see this item:
if one wishes to simply read POST data, there is the more modern
{setup,should,get}_client_block API, and even more modern filter API.
Along with continued support for read(STDIN, ...) and $r->read($buf,
$r->headers_in->{'content-length'})
I fee
Hi,
I'm getting a bizarre compile error while trying to build
Apache::Scoreboard 0.10 on a Mandrake Linux 9.0 system.
Here's a snippet of make output, from the first gcc command that failed to just the
first few errors it generates:
gcc -c -I../
-I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thr
Are you sure your cgi program is executable by the user the server is
running as?
Regards,
Ben
> Abdul-wahid Paterson wrote:
> > Hi,
> >
> > Shouldn't it be
> >
> > AddHandler cgi-script .cgi
> >
>
> Well, thank you for trying. I replaced the line:
>
>AddType application/x-httpd-cg
Abdul-wahid Paterson wrote:
Hi,
Shouldn't it be
AddHandler cgi-script .cgi
Well, thank you for trying. I replaced the line:
AddType application/x-httpd-cgi .cgi
for the one you told me, now the binary file isn't
displayed in the browser, but it prompts me to download
it. So it isn't execute
On 13 Mar 2003 at 5:16, [EMAIL PROTECTED] wrote:
> Hi -
>
> I'm a rookie; I'm developing a handler under
> mod_perl 1.99-09-dev (cvs) and Apache 2.0.44.
>
> The handler works w/o subs; but when I split
> it up with 'local' subroutines, as:
>
> [...]
*STUPID*STUPID*STUPID*STUPID*STUPID*STUPID*
I have have had about 50 dual CPU/1GB ram boxes running a
combo of linux/freebsd over the least few years (20
currently). All running modperl/apache.
I always go Dual-CPU. Its not that pricey. We have had no
SMP problems at all and I think it performs much better,
about 30% higher transaction
Hey ho,
Sorry if this is an FAQ or a little OT..
We're thinking of moving a couple of servers and one of the
possibilities is a dual PIII box (Compaq AFAIK, probably pretty standard
rack box)
I'm just wondering how Linux (RedHat 7.2) deals with dual processors,
and whether any of the following w
Hi -
I'm a rookie; I'm developing a handler under
mod_perl 1.99-09-dev (cvs) and Apache 2.0.44.
The handler works w/o subs; but when I split
it up with 'local' subroutines, as:
# file:MyApache/Redirect.pm
# ---
package MyApache::Redirect;
use strict;
use warnings;
use Apa
Hi,
Shouldn't it be
AddHandler cgi-script .cgi
Regards,
Abdul-Wahid
On Thu, 2003-03-13 at 10:53, Francesc Guasch wrote:
> I have a mod_perl server and I need to add a cgi application
> outside mod_perl, nagios.
>
> I followed the guide and when I try to use the cgis, the
> binary fil
I have a mod_perl server and I need to add a cgi application
outside mod_perl, nagios.
I followed the guide and when I try to use the cgis, the
binary files are downloaded instead of executed.
I tried the same in another apache server without Mason
and it worked well. So I think something of my con
36 matches
Mail list logo