Hi,
you should have said that you are running as CGI. Here the modification
using PerlRequire doesn't have any effects because you are starting a
new perl-interpreter for every request. You should make a
Apache::Registry-Script out of it, else you'll have to stick with
use lib qw() in your .cgi.
Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
Looks exactly the same internally as the perl for loop. The only
difference is that it calls apr_bucket_delete when it's done with
it. Which you can do with the for() loop just the same.
But you didn't *write* that, so we must be t
Tom Schindl wrote:
Hi,
Is Apache allowed to change into this directory/read the file, try to
move it to e.g. /tmp and see if it works. You could also insert a
print-Statement and you should see the output on the console when apache
is started (stop/start not restart). I'm not sure but I think a
Tom et al,
OK. Permissions on startup.pl are:
-rwx--1 darnold darnold 146 Jul 22 23:07 startup.pl
But I am running Apache with user=darnold and group darnold.
I put a print statement in startup.pl, which was a good idea by the way.
# File: startup.pl
use lib qw(/home/darnold/mo
Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
Moving $b->remove to the end makes the code horribly kludgy. It's
better to change the idiom to step through the buckets instead of
removing them. Adjusting John's sample
Stas Bekman <[EMAIL PROTECTED]> writes:
> Joe Schaefer wrote:
> > Stas Bekman <[EMAIL PROTECTED]> writes:
> > [...]
> >
> >>Moving $b->remove to the end makes the code horribly kludgy. It's
> >>better to change the idiom to step through the buckets instead of
> >>removing them. Adjusting John's sa
Yes.
David Arnold wrote:
All,
Is this OK?
# File: startup.pl
use lib qw(/home/darnold/modperl/);
use lib qw(/usr/local/apache/module/);
1;
Where I've mkdir the module directory in /usr/local/apache.
Can't test at the moment until I figure out my last question.
Thanks.
Reclaim Your Inbox!
http://ww
Hi,
Is Apache allowed to change into this directory/read the file, try to
move it to e.g. /tmp and see if it works. You could also insert a
print-Statement and you should see the output on the console when apache
is started (stop/start not restart). I'm not sure but I think a restart
will not r
All,
Is this OK?
# File: startup.pl
use lib qw(/home/darnold/modperl/);
use lib qw(/usr/local/apache/module/);
1;
Where I've mkdir the module directory in /usr/local/apache.
Can't test at the moment until I figure out my last question.
Thanks.
--
Report problems: http://perl.apache.org/bugs
All,
I have this in conf/httpd.conf:
# Startup File:
PerlRequire /home/darnold/modperl/startup.pl
And:
[EMAIL PROTECTED] apache]# cat /home/darnold/modperl/startup.pl
# File: startup.pl
use lib qw(/home/darnold/modperl/);
1;
However, I am getting this in my error log:
Can't locate OnlineTest
Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
Moving $b->remove to the end makes the code horribly kludgy. It's
better to change the idiom to step through the buckets instead of
removing them. Adjusting John's sample code:
my $bb = $r->upload('file')->bb();
open
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
> Moving $b->remove to the end makes the code horribly kludgy. It's
> better to change the idiom to step through the buckets instead of
> removing them. Adjusting John's sample code:
>
> my $bb = $r->upload('file')->bb();
> open(OUT
Stas Bekman wrote:
Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
Interesting. What's the type of the bucket? Is that a file bucket?
I believe so. File buckets morph into two buckets
when you read from them. The current bucket transforms
into a heap bucket, and a new file buc
Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
Interesting. What's the type of the bucket? Is that a file bucket?
I believe so. File buckets morph into two buckets
when you read from them. The current bucket transforms
into a heap bucket, and a new file bucket is inserted beh
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
> Interesting. What's the type of the bucket? Is that a file bucket?
I believe so. File buckets morph into two buckets
when you read from them. The current bucket transforms
into a heap bucket, and a new file bucket is inserted behind
*it*.
Howe
John Williams wrote:
I've been having problems getting uploads to work using libapreq2-2.03_04-dev.
I finally have it working, but I thought I would post my story for the benefit
of others.
Originally I was doing the upload like this:
my $bb = $r->upload('file')->bb();
open(OUT,">/t
John Williams <[EMAIL PROTECTED]> writes:
[...]
> Request for libapreq2 developers: Could you please either remove or
> document this gotcha?
The gotcha here is really a generic issue (ie working with
bucket brigades through the APR:: modules) so maybe it is
(or needs to be) addressed in the mp2
MARTIN MOSS wrote:
Michael <[EMAIL PROTECTED]> wrote:Perrin Harkins
wrote:
On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote:
This error doesn't occur on machines running the
same code (mirrored
in the same way as the redhat box), it works
perfectly fine.
Has anybody seen this type of error before, i
Michael <[EMAIL PROTECTED]> wrote:Perrin Harkins
wrote:
> On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote:
>
>>This error doesn't occur on machines running the
same code (mirrored
>>in the same way as the redhat box), it works
perfectly fine.
>>
>>Has anybody seen this type of error before, is i
Perrin Harkins wrote:
On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote:
This error doesn't occur on machines running the same code (mirrored
in the same way as the redhat box), it works perfectly fine.
Has anybody seen this type of error before, is it the symptom of some
other issue that I've missed
I'm not sure, is there a way to find out what options apache has been built with?
There are no differences in code & http.conf between the working machines, only OS versions.
MartyPerrin Harkins <[EMAIL PROTECTED]> wrote:
On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote:> This error doesn't occur
I've been having problems getting uploads to work using libapreq2-2.03_04-dev.
I finally have it working, but I thought I would post my story for the benefit
of others.
Originally I was doing the upload like this:
my $bb = $r->upload('file')->bb();
open(OUT,">/tmp/test_file");
richard dinh wrote:
Why do you think you can do that at all? You can
lookup, yes, but
modify? Please correct me if I'm wrong.
--
I don't know if it is possible. But I need to be able
to change the values. What the rest my code does is
get user cert, check against directory for a valid
cert, chec
>
> Why do you think you can do that at all? You can
> lookup, yes, but
> modify? Please correct me if I'm wrong.
>
> --
I don't know if it is possible. But I need to be able
to change the values. What the rest my code does is
get user cert, check against directory for a valid
cert, check agai
Let those modperl talk proposals come in en masse!
Original Message
Subject: ApacheCon US 2004: Call for Papers deadline extended!
Date: Thu, 22 Jul 2004 18:32:06 +0200
From: Lars Eilebrecht <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
richard dinh wrote:
Hello, I am running Apache 2.0.49 with mod_perl,
mod_ssl, on Windows 2000.
The problem that I am trying to solve is to take a
user's certificate, find out that information, and
rewrite that information in the Apache Environment
table.
When the page I have finally loads, the cl
Is anyone publicly maintaining a current apache (1.3 or 2.0) with a static
mod_perl and mod_ssl? I've searched and not found such a thing. It would
seem that it /should/ exist, but I haven't run across it. Does anyone
have any pointers I'm missing?
--
--
Report problems: http://perl.apache.
[EMAIL PROTECTED] wrote:
Hi everybody,
NetBSD-1.6.2, Apache-2.0.50, perl-5.8.4, mod_perl-1.99_14, standard istall
from pkgsrc:
Failed Test Stat Wstat Total Fail Failed List of Failed
---
t/filter/both_st
Simon Miner wrote:
[...]
We found most of these approaches by looking in Practical mod_perl and the
mod_perl Developer's Cookbook. Are there any other suggestions that folks
on the mailing list can offer us as we continue to troubleshoot this issue?
If you can pinpoint the chunks of code that you
On Thu, 2004-07-22 at 10:40, Simon Miner wrote:
> I ended up modifying our code so that it skips the regex I sent in my
> previous message on most requests. This circumvents the biggest part of our
> slow down, but it isn't completely solving the problem. We're still seeing
> code sluggishness on
On Thu, 2004-07-22 at 12:06, MARTIN MOSS wrote:
> There are no differences in code & http.conf between the working
> machines, only OS versions.
Okay, if the code and conf are the same, and method handlers are enabled
as you told me off-list (don't do that), then I'm kind of at a loss. Is
it the
We're pleased to announce that Krang SiteMap v1.00 has been released.
Krang SiteMap is a Krang add-on for generating robot-friendly sitemaps to
aid in Search Engine Optimization. SiteMap is designed to be easily
integrated into existing Krang element libraries with minimal work.
From the documenta
On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote:
> This error doesn't occur on machines running the same code (mirrored
> in the same way as the redhat box), it works perfectly fine.
>
> Has anybody seen this type of error before, is it the symptom of some
> other issue that I've missed somehow?
All,
I have a quirky issue concerning a redhat machine and Apache 1.
I have a method handler
sub handler ($$)
{
my $class=shift;
my $r = shift;
}
Which when running on a redhat linux machine dies with the error message "Attempt to bless into a reference" and when analysing the incoming v
Hello, I am running Apache 2.0.49 with mod_perl,
mod_ssl, on Windows 2000.
The problem that I am trying to solve is to take a
user's certificate, find out that information, and
rewrite that information in the Apache Environment
table.
When the page I have finally loads, the client machine
never
Hi again,
Yes, I actually did a use Devel::SawAmpersand and it didn't see any evil
variables. (Currently, our code isn't using the English package.)
I ended up modifying our code so that it skips the regex I sent in my
previous message on most requests. This circumvents the biggest part of our
On Monday 19 July 2004, Rajesh Pethe wrote:
> Dear Sir,
>
> I've statically compiled apache-1.3.31 and
> mod_perl-1.29 and now I need use Apache::Request in
> my scripts but the module is'nt present on my system.
> I've downloaded it from CPAN but 'perl Makefile.PL'
> results in error due to abse
Hi everybody,
NetBSD-1.6.2, Apache-2.0.50, perl-5.8.4, mod_perl-1.99_14, standard istall
from pkgsrc:
Failed Test Stat Wstat Total Fail Failed List of Failed
---
t/filter/both_str_con_add.t
Dear Sir,
I've statically compiled apache-1.3.31 and
mod_perl-1.29 and now I need use Apache::Request in
my scripts but the module is'nt present on my system.
I've downloaded it from CPAN but 'perl Makefile.PL'
results in error due to absence of needed version of
Apache::Test module.
Next i dow
39 matches
Mail list logo