Apache::Constants in startup.pl

2002-10-06 Thread allan
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;

Re: Apache::Constants in startup.pl

2002-10-06 Thread Per Einar Ellefsen
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

mod_perl, Apache2

2002-10-06 Thread Benny Jensen
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

Re: Apache::SharedMem

2002-10-06 Thread Perrin Harkins
[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

non-internal redirect at authenticate stage in Apache 2?

2002-10-06 Thread Kirk Bowe
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

Re: problems with sessions and upgrading

2002-10-06 Thread Gerald Richter
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?

RE: error from my .htaccess file

2002-10-06 Thread Ged Haywood
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

Re: Apache::Constants in startup.pl

2002-10-06 Thread allan
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:

Re: install/config mod_perl-2(1.99_08)

2002-10-06 Thread Randy Kobes
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

Re: Apache::Constants in startup.pl

2002-10-06 Thread Per Einar Ellefsen
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