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 book, and
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
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
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
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
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?
A
Cornelius Kuschnereit wrote:
opendir( DIR, $directory );
opendir( DIR, $directory ) or die "Can't read $directory because of $!";
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
Cornelius Kuschnereit wrote:
@dirs = readdir( DIR );
foreach $dir (sort @dirs) {
next unless -d "directory/$dir";
print "file: $dir\n";
}
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?
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 BR
1 file:"/usr/local/apache/bin" length of
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
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,
Hello,
RRI'm needing to implement a handler that uses a true Singleton pattern for
RRthe class instance. One per server, not just one per process (or thread).
SLYou'll need to use some form of persistance mechanism such as a
SLdatabase, file, or perhaps (assuming you're on a Unix system)
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
15 matches
Mail list logo