William A. Rowe, Jr. wrote:
Stas Bekman wrote:
William A. Rowe, Jr. wrote:
Stas Bekman wrote:
But which file to open as a place holder? In this example I use
/dev/null and it works as you wish. AFAIK, windows doesn't have
/dev/null, unless you run on cygwin.
Of course, it does, but it has the
Stas Bekman wrote:
> William A. Rowe, Jr. wrote:
>> Stas Bekman wrote:
>>> But which file to open as a place holder? In this example I use
>>> /dev/null and it works as you wish. AFAIK, windows doesn't have
>>> /dev/null, unless you run on cygwin.
>>
>> Of course, it does, but it has the classic MS
William A. Rowe, Jr. wrote:
Stas Bekman wrote:
But which file to open as a place holder? In this example I use
/dev/null and it works as you wish. AFAIK, windows doesn't have
/dev/null, unless you run on cygwin.
Of course, it does, but it has the classic MS-DOS name of "NUL"
present in the con
Stas Bekman wrote:
>
> But which file to open as a place holder? In this example I use
> /dev/null and it works as you wish. AFAIK, windows doesn't have
> /dev/null, unless you run on cygwin.
Of course, it does, but it has the classic MS-DOS name of "NUL"
present in the context of any directory (
Stephane, you are correct in your observations that original STDIN and
STDOUT filehandles are not preserved when perlio CGI mode is used.
This is because how Perl works. Consider the following perl program, run
from the command line (not mod_perl!):
#!/usr/bin/perl
use strict;
use warnings;
On Apr 2, 2007, at 3:22 PM, David Romero wrote:
hi list
I have a mod_perl installation
instalation send
Bareword "Apache2::ServerUtil::server_root" not allowed while
"strict subs"
after update perl, when i try to reinstall mod_perl makefile send
this
Cannot install mod_perl/2.0.3 on to
hi list
I have a mod_perl installation
instalation send
Bareword "Apache2::ServerUtil::server_root" not allowed while "strict subs"
after update perl, when i try to reinstall mod_perl makefile send this
Cannot install mod_perl/2.0.3 on top of mod_perl/1.99_16
due to a major API change between m
I don't think having the handler set as perl-script would have any
affect. I have done this in a bunch of different places without any
problem using SetHandler modperl and SetHandler perl-script.
That being said, using either of the other two options you suggest would
be better than returning DE
On 4/2/07, Adam Prime x443 <[EMAIL PROTECTED]> wrote:
you want:
sub handler {
my $r = shift;
my $uri = $r->uri;
return DECLINED if $url =~ /^\/gallery;
# not a gallery request... do some stuff and return an XML document
}
I don't think it's that simple. He must have already
Adam Prime x443 wrote:
>
>
> That looks ok to me. Is there a ResponseHandler as well for the
> gallery, or just the AccessHandler?
>
> The symptoms you're describing seem like OK is getting returned when no
> content has been printed. Do you know if headers are even getting sent
> with these
That looks ok to me. Is there a ResponseHandler as well for the
gallery, or just the AccessHandler?
The symptoms you're describing seem like OK is getting returned when no
content has been printed. Do you know if headers are even getting sent
with these requests?
adam
-Original Message--
you want:
sub handler {
my $r = shift;
my $uri = $r->uri;
return DECLINED if $url =~ /^\/gallery;
# not a gallery request... do some stuff and return an XML document
}
-Original Message-
From: foobar [mailto:[EMAIL PROTECTED]
Sent: Monday, April 02, 2007 11:58 AM
To:
Perrin Harkins-3 wrote:
>
> On 4/2/07, foobar <[EMAIL PROTECTED]> wrote:
>> I'm not sure if this is a configuration problem or a design fault. I can
>> see
>> that both handlers are called but why my image file length is zero bytes
>> is
>> beyond me.
>
> Sounds like a problem in the access ha
On 4/2/07, foobar <[EMAIL PROTECTED]> wrote:
I'm not sure if this is a configuration problem or a design fault. I can see
that both handlers are called but why my image file length is zero bytes is
beyond me.
Sounds like a problem in the access handler code. Can you show it to us?
- Perrin
Hi,
Im hoping someone here can help me, im really struggling with an annoying
problem :(
I have an Apache2 server running mod_perl2. I'm name based virtual host
which has a location match directive to map requests for "/" to my Response
Handler
PerlResponseHandler MySite::Request
Th
Okay, I've just been asked can I whack an entry into the access log file for
the subrequest made?!
I know that subrequests don;t perform the logging phase but is there anything I
can do to force it or for me to write to the access_log for that request?
I've only been able to find how to write t
16 matches
Mail list logo