Hello members,
I would config/write a modperl module to do this thing.
When someone access a file which is located on special directory,say it was,
/download/test.flv
we would do some auth check.If his IP or request time were
reasonable,we could let him access this file.Otherwise we would return
2007/6/13, Jeff Pang <[EMAIL PROTECTED]>:
hello,
When I installed Apache2::Request (without make test) and rut it I got
the errors:
[EMAIL PROTECTED] libapreq2-2.08]# perl -MApache2::Request -e ''
Can't load
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/APR/APR.so'
for module AP
On 6/13/07, Jen mlists <[EMAIL PROTECTED]> wrote:
I have some questions for modperl before using them.
what's the difference for mp1 and mp2?
It sounds like you're looking for this:
http://perl.apache.org/docs/2.0/user/intro/overview.html
- Perrin
Geoffrey Young wrote:
My PerlResponseHandler works fine on files in the /tools directory for
pages that are specified, for example:
/tools/environment.page
/tools/index.page
If I use just the directory URI:
/tools/
the DirectoryIndex specification works but I don't get any configuration
data
hello list,
I have some questions for modperl before using them.
what's the difference for mp1 and mp2? Does mp2 have large improvement
on performance?what's better for these choices below?
apache1.3 + mp1
apache2.0 + mp2
apache2.2 + mp2
Thanks!
i'm in a weird situation...
if i do this:
my $apr= Apache2::Request->new( $r , %{$self->URI_get_defaults( $r-
>uri )} );
$r->discard_request_body;
everything works fine in one webapp, and i don't have to deal with
weird stalls when an overlimit amount of data is posted.
Hi all
I am able to execute the below program in perl but NOT in mod_perl
$pid = open2(*Reader,*Writer,$test_cmd);
Writer->autoflush();
Reader->autoflush();
print Writer "mypwd\n";
while () {
$output .= $_;
}
In mod perl , whatever I write to Writer using "print Writer " does not get
reached t
On Jun 13, 2007, at 11:52 AM, Jeff Pang wrote:
It said I was making test with root identify,but Apache would be
run as nobody.So in the source dir,I do "chown -R nobody:nobody ."
and re-make test with root and nobody,but both still got failed.
I run MP1 with Apache::Request well for long
Jonathan Vanasco 写道:
On Jun 13, 2007, at 5:44 AM, Jeff Pang wrote:
When I installed Apache2::Request (without make test) and rut it I got
the errors:
at the risk of stating the obvious...
what happens why you run make test ?
It said I was making test with root identify,but Apache would b
On Jun 13, 2007, at 5:44 AM, Jeff Pang wrote:
When I installed Apache2::Request (without make test) and rut it I got
the errors:
at the risk of stating the obvious...
what happens why you run make test ?
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Also, ages ago, I asked the list about seg faults we were having plus I asked
about syswrite and STDOUT being tied to MP etc.
Well, the seg faults were coming from syswrite. Here's the scenario
We have large files that can be downloaded and if a user clicks a file, the
dialogue box as
Okay, to answer my own post from a few days ago (I haven;t been working on it
since the post, just the last 30 mins ;) )
Anyway, the answer to me not seeing PerlPassEnv vars at server startup was
because they were in files that were Include(d) into httpd.conf.
They are now in httpd.conf and eve
> My PerlResponseHandler works fine on files in the /tools directory for
> pages that are specified, for example:
>
> /tools/environment.page
> /tools/index.page
>
> If I use just the directory URI:
>
> /tools/
>
> the DirectoryIndex specification works but I don't get any configuration
> data
Within a PerlCleanupHandler I'm trying to get hold of how much data has
been sent for interrupted transfers. I had used $r->last->bytes_sent in
apache1 but it always just contains the whole filesize in apache2
I'm trying to use apache2 filters to get an accurate result like logio.
I have the belo
Jeff Pang 写道:
> hello,
>
> When I installed Apache2::Request (without make test) and rut it I got
> the errors:
>
Sorry,forgot the info for my system.
[EMAIL PROTECTED] ~]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant)
[EMAIL PROTECTED] ~]# uname -r
2.6.9-5.EL
[EMAIL
hello,
When I installed Apache2::Request (without make test) and rut it I got
the errors:
[EMAIL PROTECTED] libapreq2-2.08]# perl -MApache2::Request -e ''
Can't load
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/APR/APR.so'
for module APR: libaprutil-0.so.0: cannot open shared obje
16 matches
Mail list logo