hi
this might be a faq, but couldn't find it in the manual.
is it not possible to preload the Apache constants ?
currently i do like this in my handler file:
Foo.pm
--
package Apache::Foo;
use strict;
use Apache::Reload;
use Apache::Constants ':common';
...
sub handler {
my $r = shift;
At 17:42 06.10.2002, allan wrote:
use Apache::Constants ':common';
to my startup.pl file.
but if i do that switch, i will get this kind of error:
[error] Bareword OK not allowed while strict subs in use
why is that ?
Hi Allan,
This is because when you issue use Apache::Constants
Hi,
I wonder if anyone can tell me what to do to solve
this problem? I'm no perl programmer. Just want to GET ASP to work on my Apache2
webserver.
cc -c
-I/usr/src/mod_perl-1.99_07/src/modules/perl -I/usr/src/mod_perl-1.99_07/xs
-I/usr/local/apache/include -D_REENTRANT -D_GNU_SOURCE
[EMAIL PROTECTED] wrote:
We are using IPC::MM and it works great.
IPC::MM is the fastest game in town. It's only drawback is that the
data is not persistent, so if you want your cache to persist across
restarts it won't work for you.
Apache::SharedMem and all the other modules based
Hi. In Apache 1 I used the CGI module to send out HTML to do a
non-internal redirect from my PerlAuthenHandler script, once
authentication had been established. But now Apache 2 / mod_perl 2
doesn't seem to like that (complains that it can't do a send_cgi_header on
a null value, for exactly
1) the sessions keys for the new sessions are twice as long as the
old ones. generally, this is a good thing, but i am concerned that
the old session data will not get read when the cookie is submitted.
will the old sessions get read and reused, read and new ones created,
totally ignored?
Hello again,
Please CC the List with your replies.
On Sun, 6 Oct 2002, Mitchel, Jennifer (Jem) wrote:
Yes I am sure.
-Original Message-
From: Ged Haywood [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 05, 2002 3:12 AM
To: Mitchel, Jennifer (Jem)
Are you sure you're
hi per
thanks very much for the reply.
hmm, ok then. i see. so another theoretic workaround [though ugly]
could be to use the fully qualified name of the constant, like
return Apache::Constants-OK if $r-header_only;
./allan
Per Einar Ellefsen wrote:
At 17:42 06.10.2002, allan wrote:
On Thu, 3 Oct 2002, Paul Simon wrote:
If I try to call index.cgi under /test/index.cgi, the page just
hangs. index.cgi works as a straight CGI page. Here it is:
#!C:/Perl/bin/Perl.exe
print Content-type: text/plain\n\n;
print mod_perl 2.0 rocks!\n;
[ .. ]
I just upgraded all the Win32
At 21:29 06.10.2002, allan wrote:
hi per
thanks very much for the reply.
hmm, ok then. i see. so another theoretic workaround [though ugly]
could be to use the fully qualified name of the constant, like
return Apache::Constants-OK if $r-header_only;
Yes, but it would be
10 matches
Mail list logo