On Tue, 6 Jun 2000, Drew Taylor wrote:
"Ken Y. Clark" wrote:
On Tue, 6 Jun 2000, Drew Taylor wrote:
I have a question about data structures. Currently, I am doing SQL
queries and returning an array ref and a hash ref. The array is to
preserve order, and the has
Ken Miller wrote:
Well, if the keys are unique, you could just return a hashref, and then
access it using sorted keys:
foreach( sort keys %$HR ) {
## insert useful stuff here
}
If only I could just use sort. :-) The order could be completely
arbitrary, based on search parameters,
. | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
-Original Message-
From: Drew Taylor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 14:56
To: Ken Miller
Cc: modperl
Subject: Re: Data structure question
Ken Miller wrote:
Well, if the keys are unique, you could just r
Stas Bekman wrote:
and in perl5.6 it's called pseudohash (well it was known before but is
supported in 5.6)
http://www.perl.com/pub/doc/manual/html/pod/perldelta.html#Pseudo_hashes_are_supported
I know about pseudohashes - thanks to Damien again! :-). They look very
cool, but to be honest
Jerrad Pierce wrote:
you can use sort, of the values are hashes or indexes:
foreach ( sort { $a-{name} cmp $b-{name} keys %hash )
or
foreach ( sort { $a-[0] cmp $b-[0] keys %hash )
In this case I can't use sort since the order is completely arbitrary,
based on the SQL issued. Hence the
On Tue, 6 Jun 2000, Drew Taylor wrote:
I know about tied hashes - Thanks Damien for your excellent book! - but
there is a performance penalty. How big is this penalty? Is it worth
using tied hashes? Versus an array of hash refs?
They're a lot slower than normal data structures, or even normal
On Tue, 6 Jun 2000, Perrin Harkins wrote:
On Tue, 6 Jun 2000, Drew Taylor wrote:
I know about tied hashes - Thanks Damien for your excellent book! - but
there is a performance penalty. How big is this penalty? Is it worth
using tied hashes? Versus an array of hash refs?
They're a lot
Hi Drew,
How about writing a custom sort routine, based on the order you would be
using in the array, and returning that as a code ref? Sorting the hash
would be as simple as:
Common.pm:
sub
darren chamberlain wrote:
Hi Drew,
How about writing a custom sort routine, based on the order you would be
using in the array, and returning that as a code ref? Sorting the hash
would be as simple as:
In this case, it's overkill: the DB has already put the data together in
the order I
Stas Bekman wrote:
On Tue, 6 Jun 2000, Perrin Harkins wrote:
On Tue, 6 Jun 2000, Drew Taylor wrote:
I know about tied hashes - Thanks Damien for your excellent book! - but
there is a performance penalty. How big is this penalty? Is it worth
using tied hashes? Versus an array of
forget about mod_perl for a moment. yes, true, Perl's built-in require
will not reload a module if it's already in %INC. but that's doesn't mean
a Perl environment cannot un-cache that entry so it will be reloaded.
consider the code below, pretend that loop is a long-lifetime server,
Tk type
re you brought it up. just as
i've said using 'exit()' is broken, along with any other code that makes
assumptions about it's calling environment.
What happened, if you go back and read the thread, is that I had a question
and had a very hard time explaining what I actually meant (because my
On Thu, Jun 01, 2000 at 11:59:53AM -0700, Doug MacEachern [EMAIL PROTECTED] wrote:
will not reload a module if it's already in %INC. but that's doesn't mean
a Perl environment cannot un-cache that entry so it will be reloaded.
consider the code below, pretend that loop is a long-lifetime
On Thu, 1 Jun 2000, Marc Lehmann wrote:
It's easy, I just have to kick my ass each time I want to use a lexical
for data abstraction and use a package variable instead, with only the
exception that I have to be very careful that I never re-use the same
name. This is quite difficult for code
nds here. I am still defensive because calling somebody else's code
broken should not be done so lightly.
What happened, if you go back and read the thread, is that I had a question
and had a very hard time explaining what I actually meant (because my initial
mails were simply not verbose enough o
On Tue, May 23, 2000 at 10:05:01AM +0200, Marc Lehmann wrote:
On Tue, May 23, 2000 at 12:56:28AM -0500, Autarch [EMAIL PROTECTED] wrote:
On Tue, 23 May 2000, Marc Lehmann wrote:
stable (mod_perl really is very unstable for large applications). Apart
Wow, I wish you'd warned me
On Wed, 24 May 2000, Marc Lehmann wrote:
You must be kidding here!!! Using lexicals on package level is broken??? If
it is broken, then _why_ is it recommended programming practise in perl (see
perltoot for example)?
i'm not kidding. i don't understand whay you mean by 'using lexicals on
On Thu, May 25, 2000 at 11:58:38AM -0700, Doug MacEachern [EMAIL PROTECTED] wrote:
You must be kidding here!!! Using lexicals on package level is broken??? If
it is broken, then _why_ is it recommended programming practise in perl (see
perltoot for example)?
i'm not kidding. i don't
Huh? Why is "do" a bad thing
Do is bad because it is called every time, even if you've already executed
You are confused about the two different forms of do. The do BLOCK form I
used has nothing to do with the do EXPR form you seem to be confused about.
perldoc -f do explains the
On Tue, May 23, 2000 at 08:22:59PM -0700, Doug MacEachern [EMAIL PROTECTED] wrote:
If this were true, it would be very bad. If there is no technical
need to do this "half-reloading" then it should definitely be turned
off.
it is off by default, you turned it on with 'PerlFreshRestart On'
[EMAIL PROTECTED] (Marc Lehmann) wrote:
flag to keep from compiling again and checking $@ yourself, so you're
getting around these problems, but the file form of do is generally a red
flag.
This is just as saying "division is a bad thing in general, because it
let's you try to divide by
e). Third-party modules (e.g. from
CPAN) however, still suffer from this problem, and due to my dumbness I
fall into that trap again and again.
And so my question is: why does this behaviour exist, and why is it
necessary (the documents I saw so far only told me that this "has
something t
On Tue, May 23, 2000 at 12:56:28AM -0500, Autarch [EMAIL PROTECTED] wrote:
On Tue, 23 May 2000, Marc Lehmann wrote:
stable (mod_perl really is very unstable for large applications). Apart
Wow, I wish you'd warned me before I did several large applications using
mod_perl. Fortunately,
On Tue, May 23, 2000 at 12:27:58PM +0800, Gunther Birznieks [EMAIL PROTECTED]
wrote:
replace my $global with use vars qw($global); and your problem should
disappear.
If you had read my mail you would have known that I do not search for a
workaround. While in this simple example it is
On Tue, 23 May 2000, Marc Lehmann wrote:
On Tue, May 23, 2000 at 12:56:28AM -0500, Autarch [EMAIL PROTECTED] wrote:
On Tue, 23 May 2000, Marc Lehmann wrote:
stable (mod_perl really is very unstable for large applications). Apart
Wow, I wish you'd warned me before I did several
On Mon, May 22, 2000 at 11:24:10PM -0700, Perrin Harkins [EMAIL PROTECTED] wrote:
business about being parsed twice only applies to Apache's config file
and Perl sections in it, not to your modules.
A little followup: Looking at the mod_perl source, I see that INC is
tinkered with in a lot of
On Tue, May 23, 2000 at 09:26:13AM +0100, Matt Sergeant [EMAIL PROTECTED] wrote:
Hmm... AxKit does all this, and is very stable for me, and I've only had a
couple of reports of segfaults, none of which went unsolved as far as I
know...
OK. To be fair, I am not 100% sure wether it's an
[EMAIL PROTECTED] (Marc Lehmann) wrote:
=
package othermodule;
my $global = 5;
sub set_global {
$global = shift;
}
=
And use this from
I want handler a request only if the url is like http://localhost/idTrans=XXX
In other case do the default
behaviour.
How could I do this?
I suppose that I have to use PerlTransHandler, but
I don't know how.
Thanks in advance.
Antonio.
: [EMAIL PROTECTED]Subject: PerlTransHandler
question.
I want handler a request only if the url is like
http://localhost/idTrans=XXX
In other case do the default
behaviour.
How could I do this?
I suppose that I have to use PerlTransHandler,
but I don't know how.
Thanks in advance
"Antonio" == Antonio Pascual [EMAIL PROTECTED] writes:
Antonio I want handler a request only if the url is like http://localhost/idTrans=XXX
Antonio In other case do the default behaviour.
Antonio How could I do this?
Antonio I suppose that I have to use PerlTransHandler, but I don't know how.
helu.
Marc Lehmann wrote:
And so my question is: why does this behaviour exist, and why is it
necessary (the documents I saw so far only told me that this "has
something to do with apache's configuration file parsing", which doesn't
explain much, especially as it does seem u
On Tue, May 23, 2000 at 10:08:46AM -0700, Gustavo Duarte [EMAIL PROTECTED] wrote:
I'm not sure this makes sense for your case, but it might help, so...
It probably makes a lot of sense. Thanks!
"When the server [apache] is restarted, the configuration and module
initialization phases are
On Tue, 23 May 2000, Marc Lehmann wrote:
At leats in the example I sent in there is no sign of any closure.
There is a closure, and this might be the thing that's making trouble for
you, or at least part of it. This is a closure:
that example is only a closure if it's compiled by
I'm currently running "mod_perl" 1.21_03 and I'm using
"PerlFreshRestart." I haven't experienced any problems
with it, but I'm wondering if I should upgrade to the
seemingly more stable "1.23" release.
Could someone shed some light?
Thanks,
Pierre
"PJN" == Pierre J Nicolas [EMAIL PROTECTED] writes:
PJN I'm currently running "mod_perl" 1.21_03 and I'm using
PJN "PerlFreshRestart." I haven't experienced any problems
PJN with it, but I'm wondering if I should upgrade to the
PJN seemingly more stable "1.23" release.
If you have no problems
hat ugly but working trick above). Third-party modules (e.g. from
CPAN) however, still suffer from this problem, and due to my dumbness I
fall into that trap again and again.
And so my question is: why does this behaviour exist, and why is it
necessary (the documents I saw so far only told me that
nd again.
And so my question is: why does this behaviour exist, and why is it
necessary (the documents I saw so far only told me that this "has
something to do with apache's configuration file parsing", which doesn't
explain much, especially as it does seem unnecessary).
On Tue, 23 May 2000, Marc Lehmann wrote:
stable (mod_perl really is very unstable for large applications). Apart
Wow, I wish you'd warned me before I did several large applications using
mod_perl. Fortunately, they haven't experienced any mod_perl related
problems. Just a fluke, I guess.
Greetings,
[i sent this once, but think it got hung up at the mail server... my
apologies if this already went through]
I've run into some interesting behaviors with the PerlFreshRestart
directive. If I understand correctly, this directive is supposed to force
modules to reload when you
-Original Message-
From: David Veatch [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 19, 2000 11:48 AM
To: [EMAIL PROTECTED]
Subject: PerlFreshRestart Question/Problem
Greetings,
[i sent this once, but think it got hung up at the mail server... my
apologies if this already
At 01:22 PM 5/19/00 -0400, Geoffrey Young wrote:
I think the title says it best:
http://perl.apache.org/guide/troubleshooting.html#Evil_things_might_happen
_when_us
Sweet. Thanks. So the problem is probably any number of weak module
issues. That's enough for me right now... turning it off
At 01:22 PM 5/19/00 -0400, Geoffrey Young wrote:
I think the title says it best:
http://perl.apache.org/guide/troubleshooting.html#Evil_things_might_happen
_when_us
Sweet. Thanks. So the problem is probably any number of weak module
issues. That's enough for me right now... turning
"SB" == Stas Bekman [EMAIL PROTECTED] writes:
SB Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I
SB thought to remove this item from the Guide. Are there still problems with
SB DSO?
DSO works great for me now with the fixes in place of mod_perl 1.23.
However, note that
On Fri, 19 May 2000, Stas Bekman wrote:
Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I
thought to remove this item from the Guide. Are there still problems with
DSO?
If I remember correctly the problem was of broken internal pointers when
the DSO code was reloaded.
On Fri, 19 May 2000, Doug MacEachern wrote:
On Fri, 19 May 2000, Stas Bekman wrote:
Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I
thought to remove this item from the Guide. Are there still problems with
DSO?
If I remember correctly the problem was of
: PerlFreshRestart Question/Problem
At 01:22 PM 5/19/00 -0400, Geoffrey Young wrote:
I think the title says it best:
http://perl.apache.org/guide/troubleshooting.html#Evil_things_might_happen
_when_us
Sweet. Thanks. So the problem is probably any number of weak module
issues. That's
to the question:
Is there a way to run ASP as a cgi program (interchangably).
What are the steps involved to do that?
Thanks alot for the help,
Charles Dalsass
www.neptuneweb.com
).
I've been unable to nail down an answer to the question:
Is there a way to run ASP as a cgi program (interchangably).
What are the steps involved to do that?
Thanks alot for the help,
Charles Dalsass
www.neptuneweb.com
Check the mod_perl guide for the usage of require() and do(). You probably
want to use do() instead of require().
Chris
-Original Message-
From: Brett Lee [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 7:56 AM
To: [EMAIL PROTECTED]
Subject: newbie question - require
In moving
Brett Lee wrote:
but with mod_perl, the info in the hash tables seems to be found "every
other refresh" (which has me stumped).
Would anyone be able to suggest a solution or reading material on this?
don't forget to check your stuff out with single-process mode,
via 'apachectl stop; apache
In moving from CGI.pm to mod_perl, I ran across the common error with
functions that exist in scripts pulled in with 'require'.
Mod_perl_traps.html had the solution. Similarly, am using ('require')
another file which holds all the hash tables (countries, states, etc.)
that my scripts need to
On Sat, 6 May 2000, Gunther Birznieks wrote:
At 06:56 PM 5/5/00 -0400, Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently
On Fri, 12 May 2000, Doug MacEachern wrote:
On Sat, 6 May 2000, Gunther Birznieks wrote:
At 06:56 PM 5/5/00 -0400, Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a
not compiled, but the all the code lives in a BIG hash table for CGI.pm to
autoload from. the export lists take up alot of space too. regardless if
you're using html routines or not.
As I have replied to FEITO Nazareno today, this happens only if you
precompile CGI.pm's functions at
7On Wed, 10 May 2000, Niral Trivedi wrote:
All,
I am not sure whether this is the right place to ask this question...
sorry if not..
My question is, Can we use custom database for authentication with
Apache instead of default text based authentication???
Has anybody done that before
All,
I am not sure whether this is the right place to ask this question...
sorry if not..
My question is, Can we use custom database for authentication with
Apache instead of default text based authentication???
Has anybody done that before?? I have looked apache site and cpan site
"NT" == Niral Trivedi [EMAIL PROTECTED] writes:
NT My question is, Can we use custom database for authentication with
NT Apache instead of default text based authentication???
NT Has anybody done that before?? I have looked apache site and cpan site..
NT but couldn't find any doc
Peter Haworth wrote:
Drew Taylor wrote:
What I would really like is a module which subclasses Apache::Request,
and has the popup_menu, scrolling_list, and checkbox group methods
available. That way I can use the smaller (faster) Apache::Request and
still have the few HTML generation
Drew Taylor wrote:
What I would really like is a module which subclasses Apache::Request,
and has the popup_menu, scrolling_list, and checkbox group methods
available. That way I can use the smaller (faster) Apache::Request and
still have the few HTML generation methods that I need. This
-Original Message-
From: Drew Taylor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 9:08 AM
To: Peter Haworth
Cc: [EMAIL PROTECTED]
Subject: Re: Newbie Question -
Peter Haworth wrote:
Drew Taylor wrote:
What I would really like is a module which subclasses
Geoffrey Young wrote:
Drew Taylor wrote:
I'm quite sure it would be an easy write, but I just haven't done it
yet. I think once I convert my CGIs to handlers, it makes
sense to do it
then. It would be interesting to see if anyone else is interested and
work out an API for the most
-Original Message-
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 05, 2000 6:22 PM
To: Geoffrey Young
Cc: 'Pierre J. Nicolas'; [EMAIL PROTECTED]
Subject: RE: Newbie Question -
mod_perl overrides the perl print() function - print()ing to STDOUT
Adi wrote:
Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently use CGI.pm, I think you'll find that a lot of your
The current request will have exclusive rights to it since each apache
engine has it's own perl engine. For your intents and purposes, a single
perl engine is never servicing more than one request to completion at any
given time.
Whether that environment variable survives untouched to the
Good Morning,
I just started using mod_perl, I'm still using the CGI.pm module, but I
plan
to convert. I've loaded the Apache::Registry and I'm experiencing a
strange
problem.
I have this snippet:
print "Content-Type: text/html\n\n";
print_template(file_handle, *file_handle_ref)
Good Morning,
I just started using mod_perl, could someone please tell me why
I would get an error:
"Undefined subroutine Apache::ROOT::dir::prog_name::function_name
called at
/path/to/script/script_name line line_numer"
when I specifically "require module_with_function_name" in the script.
I
PROTECTED]
Subject: Newbie Question
Good Morning,
I just started using mod_perl, could someone please tell me why
I would get an error:
"Undefined subroutine Apache::ROOT::dir::prog_name::function_name
called at
/path/to/script/script_name line line_numer"
when I specifically
Hi!
I am sorry to ask this bit off question, but still. Has anyone used
Apache::Session on Solaris (Sparc, not intel)?
We implemented system on Linux (intel) and tried to port it to Solaris, but
session doesn't work - can not create session files. Store manager used is
FileStore and SysV
Gundars Kulups wrote:
Hi!
I am sorry to ask this bit off question, but still. Has anyone used
Apache::Session on Solaris (Sparc, not intel)?
We implemented system on Linux (intel) and tried to port it to Solaris, but
session doesn't work - can not create session files. Store manager used
On Fri, 5 May 2000, Pierre J. Nicolas wrote:
Good Morning,
I just started using mod_perl, I'm still using the CGI.pm module, but I
plan
to convert. I've loaded the Apache::Registry and I'm experiencing a
strange
problem.
I have this snippet:
print "Content-Type:
mod_perl overrides the perl print() function - print()ing to STDOUT
explititly will not work.
just use print() if you can...
sure it will,
print STDOUT "hi";
and
print "hi";
are the same thing, provided STDOUT is the currently selected output
filehandle, which it is by default.
"Pierre J. Nicolas" wrote:
Good Morning,
I just started using mod_perl, I'm still using the CGI.pm module, but I
plan
to convert.
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently use CGI.pm, I think you'll find that a lot of your
current code can simply be cut-and-pasted into a
Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently use CGI.pm, I think you'll find that a lot of your
current code can
On Fri, May 05, 2000 at 05:58:33PM +0200, Francesc Guasch wrote:
[Solaris + Apache::Session]
After the use Apache::Session you maybe have
to type something like this.
$Apache::Session::SysVSemaphoreLocker::nsems=16;
In my preliminary testing, it appears this is also necessary to get
At 06:56 PM 5/5/00 -0400, Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently use CGI.pm, I think you'll find that a lot of your
What´s better?
Make httpd from mod_perl or make prep_httpd and then make httpd from apache?
I hope you understand my question.
Nazarenowww.obsequie.com
I do the same thing, but my memory is out in a little while...
the error_log begin to send me out of memory!!!
any idea?
Nazarenowww.obsequie.com
I have a page... www.obsequie.com but when I in with IE I can´t see the
pictures... I just maintaining the site...
I don´t know if the problem is in the scripts cause of some redirection or
is because Apache is redirecting bad domain... can anybody help me? may be
this question doesn´t belong
I am trying to implement a cross platform auth scheme whereby users log
into a system running in a microsoft environment. Then, when they want to
check their e-mail, they click a link in the form of:
mail.isoftcorp.com/auth?k=sequence
the key sequence is determined when they log into the main
** Web App Development Needs? ***
Contact OSATech today! http://www.OSATech.com
***
- Original Message -
From: "Gagan Prakash" [EMAIL PROTECTED]
To: "modperl (E-mail)" [EMAIL PROTECTED]
Sent: Saturday, April
On Wed, 5 Apr 2000, Charles Aulds wrote:
Doug,
Can you tell me with a simple response, are the modules shown on my status
page http://192.168.1.1/perl-status?inc all loaded by mod_perl when it starts?
I have no PerlModule or PerlRequire directives in effect.
Apache.pm and
On Mon, 10 Apr 2000, Jeff Gleixner wrote:
Been running a mod_perl/Mason enabled server for a while, now I want to
change the owner of the process to "www", from "nobody". In doing so I
get:
Permission denied at
/usr/local/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker.pm
use IPO::Shareable qw(:NYSE);
my $ipo = IPO::Shareable-new($company);
$ipo-is_internet();
hype $ipo; # dangerous indirect syntax!
my $shares = $ipo-invest($LITTLE);
$ipo-inflate($HUGE); # Note that HUGE is not really a constant
$ipo-sell($shares); # may need to use
Hello,
We recently bought a new Raq3 server. We have
developed a script to add users directly from the web interface. IT is bombing
out as the script should be run as 'root'.
I want to know if the script can be set with setuid
as root for execution.
Thanks for any help.
VIjay
I want to know if the script can be set with setuid as root for
execution.
Since you asked this on this list, I will assume the script is a mod_perl
script. Unless the whole web server runs as root, I don't think the
script can run as root.
Here's what you can do instead. Have the mod_perl
All,
I am not sure whether this is the right group to post this question.. I
have found this thing in book "Writing Apache Modules with PERL and C"
from O'Reilly..
This book has a topic in it in which it has given an example using a
module called 'IPO::Shareable' which is available
http://perl.apache.org/guide/performance.html#Persistent_DB_Connections
The answers to most beginner questions are in the guide as well.
--Jeff
At 05:28 PM 4/4/00, Adam Gotheridge wrote:
I have been using zope for a while and while it is cool, I really like the
speed/power/ease-of-use of perl
As a beginner in Mod_perl,
I have to get the file from the remote host (Mod_perl enabled Apache)
if not in the local host, so I am currently modifying SendFile.pm in Eagle
book
at
unless(-e $r-finfo) {
...
instead of giving the nonexistence error message here
get the file from
On Sat, 12 Feb 2000 [EMAIL PROTECTED] wrote:
As a beginner in Mod_perl,
I have to get the file from the remote host (Mod_perl enabled Apache)
if not in the local host, so I am currently modifying SendFile.pm in Eagle
book
at
unless(-e $r-finfo) {
...
instead of giving the
On Tue, 8 Feb 2000, Terry G Lorber II wrote:
DBD::mysql::st execute failed: MySQL server has gone away at slashmod.pm
line 23
[...]
Is this a server problem, a perl problem, or a MySQL problem? Do I need
to adjust a timeout setting somewhere?
Sounds like you need Apache::DBI.
1) Enable
Hi - I'm probably posting this to the incorrect list (If there is a
dedicated apache list would someone please point me in it's direction.)
Here's my problem -
I'm trying to grab the 'id' part of a url - e.g - www.somewhere.com/id
and place the val. into an environment variable - which
I successfully installed mod_perl under Apache/1.3.6 (Unix). However, when
attempting to run some Web pages I have that use #perl sub I get an error
log message, "unknown directive 'perl' in parsed doc."
I installed mod_perl right from CPAN and assumed that mean EVERYTHING=1
would be the default
I successfully installed mod_perl under Apache/1.3.6 (Unix). However, when
attempting to run some Web pages I have that use #perl sub I get an error
log message, "unknown directive 'perl' in parsed doc."
I installed mod_perl right from CPAN and assumed that mean EVERYTHING=1
would be the
Replies below:
On Sun, 6 Feb 2000, Stas Bekman wrote:
Date: Sun, 6 Feb 2000 23:20:49 +0200 (IST)
From: Stas Bekman [EMAIL PROTECTED]
To: gnielson [EMAIL PROTECTED]
Cc: "ModPerl Mailing List (E-mail)" [EMAIL PROTECTED]
Subject: Re: Question about error log message and PERL
On Sun, 6 Feb 2000, Stas Bekman wrote:
[...]
EVERYTHING=1 should install PerlSSI as well.
Configure perl-status to work (see 'perldoc Apache::Status') then do:
http://localhost/perl-status?hooks to check the enabled hooks.
Thanks for that information. That showed me that
On Mon, 7 Feb 2000, Stas Bekman wrote:
Date: Mon, 7 Feb 2000 00:01:56 +0200 (IST)
From: Stas Bekman [EMAIL PROTECTED]
To: gnielson [EMAIL PROTECTED]
Cc: "ModPerl Mailing List (E-mail)" [EMAIL PROTECTED]
Subject: Re: correction! Re: Question about error log message and PERL_SSI
correction! Re: Question about error log message and PERL_SSI
Ooops, I was wrong, you need to use ALL_HOOKS=1 to enable all handlers or
just PERL_SSI=1 for PerlSSI.
(I thought EVERYTHING=1 installs it all :)
So I guess I need to rebuild it manually, eh, with ALL_HOOKS=1?
On Fri, Feb 04, 2000 at 06:21:21PM -0800, John Darrow wrote:
I apologize if this is a dumb question, but I just installed Apache and
mod_perl and all seems to have gone well. The trouble comes in when I try
to run a script using Apache::Registry and CGI.pm. I get an extra
Content-Type
801 - 900 of 956 matches
Mail list logo