Hi!
I have strange problems while using opendir / readdir
under MasonHQ. I'm not shure, but it seems to be a perl / modperl / Apache
or Mason Bug.
I have no problem to run the same directly from the shell.
Is the a known bug?
Kind regards
Cornelius Kuschnereit
Environement:
Apache 1.3.19
modper
Hi, my name is
Werner Schmidt-Wilczek,
i am a programmer at
the Policegovernment in Nuremberg, Bavaria, Germany.
I am using mod_perl
for our Intranet. The performance is great, but there are many
sideeffects!
An
example:
I have a database
with 5 items. I load this items one time
On Thu, Mar 29, 2001 at 10:11:39PM -0700, Bolt Thrower wrote:
> Victor Michael Blancas wrote:
> >
> > >
> > > So how am I supposed to install Apache::AuthCookieDBI via the CPAN
> > > shell?
> > >
> > > Thanks,
> > >
> >
> > `perl -MCPAN -e "install Apache::AuthCookieDBI"`
> >
Apache::DBI has b
Hello,
RR>I'm needing to implement a handler that uses a true Singleton pattern for
RR>the class instance. One per server, not just one per process (or thread).
SL>You'll need to use some form of persistance mechanism such as a
SL>database, file, or perhaps (assuming you're on a Unix system)
SL>
At 5:30 PM -0800 3/30/01, Randy J. Ray wrote:
>I understand the forking model of Apache, and what that means in terms of
>data initialized in the start-up phase being ready-to-go in each child
>process. But what I need to do is manage it so that a particular value is
>shared between all children,
I understand the forking model of Apache, and what that means in terms of
data initialized in the start-up phase being ready-to-go in each child
process. But what I need to do is manage it so that a particular value is
shared between all children, such that changes made by one are recognized
by th
Yes!
I can see all Files and Dirs without . and ..
Can this be a hint why readdir dosn't work?
Thanx! Cornelius
--
the (right) result:
--
Test -x
1 file:"/usr/local/apache/bin" length of filename:21
Does glob() work?
my @files = glob( "$directory/*" );
Thanks,
Tim Tompkins
--
Staff Engineer / Programmer
http://www.arttoday.com/
--
- Original Message -
From: "Cornelius Kuschnereit" <[EMAIL PRO
On Fri, 30 Mar 2001, Cornelius Kuschnereit wrote:
> I have strange problems while using opendir / readdir
> under MasonHQ. I'm not shure, but it seems to be a perl / modperl / Apache
> and not a Mason Bug.
> I have no problem to run the same directly from the shell.
>
> Is there a known bug?
Cornelius Kuschnereit wrote:
> @dirs = readdir( DIR );
> foreach $dir (sort @dirs) {
next unless -d "directory/$dir";
> print "file: $dir\n";
> }
Hello!
The following code doesn't work. I think that child_init_handler is
never called. But there are no errors in the error log.
What goes wrong here?
-[/home/nikratio/cvs/tsession-perl/Apache/foo.pm]
#!/usr/bin/perl -w
package Apache::foo;
use Apache::Cookie ();
use Apa
Cornelius Kuschnereit wrote:
> opendir( DIR, $directory );
opendir( DIR, $directory ) or die "Can't read $directory because of $!";
On Fri, 30 Mar 2001, Cornelius Kuschnereit wrote:
> Hi!
> I have strange problems while using opendir / readdir
> under MasonHQ. I'm not shure, but it seems to be a perl / modperl / Apache
> and not a Mason Bug.
> I have no problem to run the same directly from the shell.
>
> Is there a known bug
Hi!
I have strange problems while using opendir / readdir
under MasonHQ. I'm not shure, but it seems to be a perl / modperl / Apache
and not a Mason Bug.
I have no problem to run the same directly from the shell.
Is there a known bug?
Kind regards
Cornelius Kuschnereit
Environement:
Apache 1.3.
Hi.
I'm trying some of the well-known Apache-Perl-Modules, such as
DayLimit.pm.
Strangely, the server throws an internal error (500), when the Perl module
returns 'OK'. The same is with 'DECLINED'.
FORBIDDEN works well, AUTH_REQUIRED works also (though it doesn't make
sense in the access control
OK, I do agree in principal (that it's important for the book to be the
best that it can be). Although my post was really meant to be reassuring
rather than saying that people shouldn't bother pitching in.
I think the mod_perl guide is great. Yes, there may be inaccuracies in
there (I haven't
On Thu, 29 Mar 2001, Richard Anderson wrote:
> I want to read and parse a file when Apache mod_perl starts and have access to the
>data while my mod_perl methods are processing the request. The most obvious approach
>(to me) is to put the reading/parsing code at the beginning of my mod_perl mo
On Fri, 30 Mar 2001, Gunther Birznieks wrote:
> At 06:44 PM 3/29/01 +0800, Stas Bekman wrote:
> > > Indeed, I've often wished O'Reilly would provide book sources for people
> > > that have bought the treebook. Manning has something like that, you can buy
> > > the ebook cheaper than the actual bo
18 matches
Mail list logo