Hello,
I am getting this error message. Can anyone tell me
what it is and how to get rid of it. (or if I need to worry about
it)
[Wed Nov 7 18:52:40 2001] [error] [Wed
Nov 7 18:52:40 2001] Gateway00.pm: Apache/Gateway00.pm did not return a
true value at (eval 146) line 3.
Config:
[Wed
Thanks,
I have it fixed
My module was ending like this:
return OK;
1;
__END__
When return OK; was removed the error goes. A copy + paste error - sorry.
- Original Message -
From: "___cliff rayman___" <[EMAIL PROTECTED]>
To: "David" <[EMAIL PROTECTE
was suppose to be uploaded to.
If you can give me a hint on what went wrong I would greatly appreciate
it. Thank you.
--
David Coley
[EMAIL PROTECTED]
http://www.davidcoley.com
Keeping programmers ahead, by sharing the source.
http://www.codecipher.com
tory it was suppose to be uploaded to.
> :
> : If you can give me a hint on what went wrong I would greatly appreciate
> : it. Thank you.
> :
> :
> : --
> :David Coley
> : [EMAIL PROTECTED]
> : http://www.davidcoley.com
> :Keeping programmers ah
> From: ___cliff rayman___ <[EMAIL PROTECTED]>
> Date: Wed, 10 May 2000 14:40:14 -0700
> Subject: Re: Need help on "Error on evaluating script from P-code"
>
>
>
Do us all a favor and change your Netscape Messenger settings to send ascii mail and
not
HTML m
unning under
Apache::Registry with Apache::StatINC enabled.
I'm sure I'm missing something that you need to know, so feel free to
ask... it was a long night last night...
David Veatch - [EMAIL PROTECTED]
"Many people would sooner die than think.
In fact, they do." - Bertrand Russell
ls are far more expensive than checking the
modules in %INC so far... and we've optimized our use of connections and
selects quite a bit. It is certainly a concern that we're keeping in mind,
though.
David Veatch - [EMAIL PROTECTED]
"Many people would sooner die than think.
In fact, they do." - Bertrand Russell
Can anyone help explain why PERL gives such a large memory
footprint & advise how to get around it.
Running the simple script below, I get a footprint of 63 MB
about 22 bytes per int.
The C program only 11748 K ... 4 bytes per int
#!/usr/local/bin/perl
for ( $i=0 ; $i< 300 ; $i++ )
{
ice
Thanks in Advance
Dave
--
----
David Larkin,
D.J.L. Software Consultancy Ltd. The Industry Centre,
Sunderland Enterprise Park, SR5 3XB UK
Switchboard Tel: 44 191 5152666 Fax: 44 191 5152669
Direct Line Tel: 44 191 5153527 Fax: 44 191 5153527
Email [EMAIL PROTECTED]
SMS-Email [EMAIL PROTECTED] (Max 160 char)
-
search engine listings. Because of their
usage pattern & with a bit of care in the use of session data we have
constructed a site which still works when entered at any page with a virgin
user session.
For 'sensitive' areas of the site the user must validate themselves against
the sessio
I'm coming to this discussion quite late since I only just
resubscribed having changed jobs. Well, quit a job and gone
freelance.
As it happens, I've just written a form generation library, but one
that's driven by being mapped directly on top of a database table. It
can deduce the various field
iffer, or
do they access the same data (in different ways)?
Thanks
David
"Eric Jain" <[EMAIL PROTECTED]> writes:
> Any Perl module required from within a module which has been preloaded
> through PerlRequire or PerlModule in httpd.conf will be preloaded into
> shared memory as well. Correct?
Yes. Thus saving some latency when Apache forks a new child.
--
Dave Hodg
Jason Bodnar <[EMAIL PROTECTED]> writes:
> Definitely read the perltoot (Tom's OO Tutorial). I've heard alot of good
> things about Damian Conway's OO Perl book but I haven't read it myself. The
> advanced perl programming book has a nice section on OO. But, learning OO
> in a Java or C++ contex
The guys I've been working with for the last couple of weeks need a
contractor to start moving their more heavily hit scripts to
mod_perl. It's likely to be at least a three month gig, but they're
looking for someone with real world mod_perl battlefield
experience. Then some general code analysis
> > [Thu May 25 19:34:31 2000] [error] mod_ssl: Init: Failed to generate
temporary 5
> > 12 bit RSA private key
Sorry, I missed the earlier discussion on this (so I may have got
the wrong end of the stick), but I got this too when trying to build
apache 1.3.12 with perl-5.6.0 and mod_ssl 2.6.4,
Doug MacEachern <[EMAIL PROTECTED]> writes:
> > % gdb httpd $pid_of_spinning_process
> > % source modperl_x.xx/.gdbinit
> > % curinfo
>
> oops, that should be:
>
> % gdb httpd $pid_of_spinning_process
> (gdb) source modperl_x.xx/.gdbinit
> (gdb) curinfo
>
>
Is this magic in the guide? I'm
error log file to the end of this email.
Any suggestions you might offer would be greatly appreciated. David
The problem seems to be with the module src.t:
-
use ExtUtils::testlib;
use Apache::test;
use Apache::src;
my $i = 0;
skip_test if WIN32
Eric Cholet <[EMAIL PROTECTED]> writes:
> I've added it to SUPPORT, and it will be added to the guide soonish.
Cool. One of those things you hope you never need...
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.
OK, I'm new to all this, and it's by a sheer miracle that I've compiled Perl
5.6, Apache & mod_perl on my BSDI 4.1 box. I may be using completely the
wrong terminology, so please bear with me !
I'm running lots of scripts under Apache::PerlRun, migrating the scripts one
at a time to run in Apache
Thanks for the response Gunther,
I'll look into running seperate servers.
I'm now preloading CGI & DBI and memory APPEARS to be gobbled a lot slower
now. Which is nice.
Does DBI automatically pull in DBD, or should I preload Apache:DBD also ?
Since upgrading to the latest verion of mod_perl I've noticed that I get
remote host names appearing in my access logs rather than IP addresses (in
80% of entries).
My concern is that my machine is try to perform DNS lookups, and the
subsequent load it may add.
My httpd.conf has-> HostnameLookup
The problem was solved offline with the kind help of Bill Mosely, but I'll
post the solution here for the masses.
I had an entry in my httpd.conf to the tune of something like:
Deny from some.bad.domain.com
As this was a name and not an IP address, the machine had to lookup each
incoming IP add
A patch has just been released for Perl 5.6.0, which fixes
some, (or hopefully all!) of the bugs which cause coredumps
or 'Bizarre copy of HASH/ARRAY' runtime errors in the general
vicinity of Carp::confess(), caller(), @DB::args etc.
This certainly fixes the failure in Mason's t/05-request test
At 21:27 -0600 00.6.15, dreamwvr wrote:
>Hi Jeffery,
>What is this about?
>> You forgot the part about suing legitimate domain name holders, harrassing
>> artists with little or no income, and trying to extend USA jurisdiction to
>> the internet.
>>
>> While I'm sure the engineering department had
tart looking to change this to mod_perl and get
it fixed.
Is this a basic installation problem or is it configuration in the one of
the .conf files such as httpd.conf
Also whats mod_cgi?
Thank-you in advance for your help.
regards
David
Adi <[EMAIL PROTECTED]> writes:
> Is there any interest in such a module?
Good plan IMHO.
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apache, mod_perl, MySQL, Sybase hired gun for, well
"Scott Thomason" <[EMAIL PROTECTED]> writes:
> I know this must have been discussed before, but a mailing list archive search on
>"fastcgi" didn't turn up much. What guidelines do you folks follow to determine
>whether FastCGI or Apache::Registry is a better choice?
I've 90% written a little
Justin <[EMAIL PROTECTED]> writes:
> What I think happens is the children die after their last request,
> and apache does not kick off a new child straight away.. MinFree is
> set to 2 .. as 12 becomes 11 becomes 10 becomes 9, my backend is
> getting less and less powerful and more and more swam
Perrin Harkins <[EMAIL PROTECTED]> writes:
> On Thu, 22 Jun 2000, Todd Federman wrote:
>
> > So, my main question: Is there a way to use mod_perl with remote
> > execution, or at that point is it just silly not to go with fastcgi?
>
> Not sure how you missed it, but go and read the discussion
Stas Bekman <[EMAIL PROTECTED]> writes:
> On 23 Jun 2000, David Hodgkinson wrote:
>
> >
> > Justin <[EMAIL PROTECTED]> writes:
> >
> > > What I think happens is the children die after their last request,
> > > and apache does not kick off
Stas Bekman <[EMAIL PROTECTED]> writes:
> > If you take a large script, throw it at Apache::Registry, then you'll
> > be compiling the script every time the a diaghter respawns.
> >
> > If you have your script largely preloaded when Apache starts spawning
> > daughters, then you don't have that
Stas Bekman <[EMAIL PROTECTED]> writes:
> I think it doesn't matter whether it's a script or a module.
So if startup.pl contains:
use CGI ;
use DBI ;
use My::Application ;
Then there's no gain?
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The
> But I run apache I get:
> utechnology# ./apachectl start
> defined(@array) is deprecated at
> /usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 135.
> (Maybe you should just omit the defined()?)
> ./apachectl start: httpd started
Perl 5.6.0 has introduced a new warning when it see
"Kenneth Lee" <[EMAIL PROTECTED]> writes:
> Hi there,
>
> Not performance. Not preference.
>
> The question is, will mod_fastcgi and mod_perl conflict when both are
> compiled into Apache? Theoretically not I think. And what would the
> consequences be? Please comment.
As long as you keep t
Stas Bekman <[EMAIL PROTECTED]> writes:
> > Stas Bekman <[EMAIL PROTECTED]> writes:
> >
> >
> > > I think it doesn't matter whether it's a script or a module.
> >
> > So if startup.pl contains:
> >
> > use CGI ;
> > use DBI ;
> > use My::Application ;
> >
> > Then there's no gain?
>
> Of
ocation might be of some assistance.
Hope this helps.
--
David S. Kenzik
[EMAIL PROTECTED] - http://kenzik.com
Shane Nay <[EMAIL PROTECTED]> writes:
> Well, as most of us know mod_perl doesn't really lend itself well to the
> "hosted" world because of the way it operates
Hmmm...what about a variant of the proxied mod_perl?
Picture a lite bulk front-end apache doing the usual stuff then
proxying the
Shane Nay <[EMAIL PROTECTED]> writes:
> > Hmmm...what about a variant of the proxied mod_perl?
> >
> > Picture a lite bulk front-end apache doing the usual stuff then
> > proxying the mod_perl stuff back to a serverly (chargeably?)
> > process-limited apache with a different httpd.conf per site
Nigel Hamilton <[EMAIL PROTECTED]> writes:
> Hi,
> I've been trying to setup mod_perl in an Apache/Red Hat
> Linux/mySQL environment for the last couple of weeks.
>
> When running Apache::Registry on production, mod_perl chewed up
> all the available memory (at that stage onl
c:/perl/5.6.0/lib
c:/perl/site/5.6.0/lib/MSWin32-x86
c:/perl/site/5.6.0/lib
);
Does anyone know what the quick fix is. Can I just drop this perl module
in. Also I tried to find it but couldn't.
Thanks
David
Kristopher Lalletti <[EMAIL PROTECTED]> writes:
> Okay, so if it seems that Redhat 6.1/6.2 Apache & mod_perl is broken..
> Anyone have a good guide/website to get apache & mod_perl compiled
> properly?
http://perl.apache.org/guide/install.html#Installing_mod_perl_in_10_Minute
> I've been readi
ftlib/MSLFILES/nmake15.exe.
This worked but now I get upon start up of the apache httpd daemon:
defined(@array) is deprecated at c:/Perl/site/5.6.0/lib/Apache/DBI.pm
line 135 (Maybe you should just omit the defined()?)
I didn't find this.
Any ideas what to do .
Thanks.
David
> This worked but now I get upon start up of the apache httpd daemon:
>
> defined(@array) is deprecated at c:/Perl/site/5.6.0/lib/Apache/DBI.pm
>
> line 135 (Maybe you should just omit the defined()?)
Just edit c:/Perl/site/5.6.0/lib/Apache/DBI.pm, deleting the 'defined'
on line 135 :-)
Hi
At 06:24 PM 7/4/00 +0100, David Mitchell wrote:
> > This worked but now I get upon start up of the apache httpd daemon:
> >
> > defined(@array) is deprecated at c:/Perl/site/5.6.0/lib/Apache/DBI.pm
> >
> > line 135 (Maybe you should just omit the defined()?)
&
[EMAIL PROTECTED] wrote
> The patch I posted yesterday has a problem
> dealing with client disconnects - your server will hang if
> the upload is interrupted )!
>
> This new patch should be ok.
Your patch uses memmem(), which isn't available on some OSes (eg Solaris).
Also, the linux manpage
Hi,
At 01:50 PM 7/4/00 -0500, Randy Kobes wrote:
>On Tue, 4 Jul 2000, David Jourard wrote:
>
> > At 06:24 PM 7/4/00 +0100, David Mitchell wrote:
> > > > This worked but now I get upon start up of the apache httpd daemon:
> > > > defined(@array) is depreca
Pramod Sokke <[EMAIL PROTECTED]> writes:
> Hi,
>
> We are running Netscape Enterprise server with cgis written in perl and C.
> I'm looking at moving over to Apache and start using mod_perl. How
> simple/complex do you think the process is going to be?
> There are tons of scripts distributed al
Dana Powers <[EMAIL PROTECTED]> writes:
> FastCGI with perl may or may not be that fast. I could be totally wrong here
> but I believe that FastCGI will be able to cache the perl runtime, but perl
> will still have to reload and recompile any scripts during every hit.
Not true.
You put some co
Well, the site's old, but the mod_perl bit of it is brand spanking
new. Thanks to sterling work by Ged Haywood and a little bit of
tweaking by me:
http://www.bargainholidays.com/
Is now mod_perl. Well, the most important script on the site it.
Response times are now roughly ten times better th
>
Vivek Khera <[EMAIL PROTECTED]> writes:
> "PS" == Pramod Sokke <[EMAIL PROTECTED]> writes:
>
> PS> We are running Netscape Enterprise server with cgis written in perl and C.
> PS> I'm looking at moving over to Apache and start using mod_perl. How
> [ .. ]
> PS> over to Apache/mod_perl g
th Oracle properly.
This makes sense too, as an OS should not be tuned for db access unless necessary, so
the default config is fine for non-db access apps. :):)
David McCabe Unix System Administrator
Le Groupe Videotron [EMAIL PROTECTED] (514) 380 4433
When in doubt, parenthesize. At the v
I'm investigating smallish memory leakages in a former CGI script that
is now running live as an Apache::Registry script. I've done the bits
in the famous guide and the SUPPORT document to get a debugging
version of mod_perl going.
According to the error log output, I'm leaking anything between
> According to the error log output, I'm leaking anything between 15 and
> 25 SVs per run of the Apache::Registry script. So, to interpreting the
> copious emissions:
>
> new fb1d58 : SV = PVAV(0xffee88)
> REFCNT = 1
> FLAGS = (PADBUSY,PADMY)
> IV = 0
> NV = 0
> ARRAY = 0x0
> ALLOC =
fault behavior.
In other words, the handler handles it, and Apache just sends it to the
handler.
David Veatch - [EMAIL PROTECTED]
"Many people would sooner die than think.
In fact, they do." - Bertrand Russell
rride everything else, and you get the right handler called.
The problem is that matches any URI that BEGINS with that
substring. LocationMatch is a regular expression driven thing, so you can make
it just match that one specific URI.
David Harris
President, DRH Internet Inc.
[EMAIL PROTECTED]
http://www.drh.net/
David Mitchell <[EMAIL PROTECTED]> writes:
> perldoc Devel::Peek and
> perldoc perlguts
Ok, done that.
I'm still not clear as to what Apache::Leak is trying to tell
me. Aside from the DESCRIPTION section of the man page saying "Under
Construction" making it seem li
through missed the fact that you have various handlers to do
different things... though your various handlers could probably be placed
"behind" a main handler much like mine are.
Either way... this should work as well. It all depends on where you want
to do the work... in the co
iscussed previously on
>this list. Taking something like:
...
>So the first will map 'User' to a module and call the ->display()
>method; the second maps 'News' to a module and calls the ->edit()
>method. GET (or POST) parameters are handled via normal m
Matt Sergeant <[EMAIL PROTECTED]> writes:
> On 10 Jul 2000, David Hodgkinson wrote:
> Sure - looks like you probably don't have any leaks. I tried chasing this
> wild goose chase for a while too and ended up just stopping as I wasn't
> actually leaking any memo
> From: Eric Strovink <[EMAIL PROTECTED]> wrote:
> Write a simple socket interface to connect Apache Perl to your existing
Windoze Perl script (which you'll hack to set up as a simple server). Invent
your own protocol. Locking issues will come
> up, but you can manage this yourself with a litt
"Scott Alexander" <[EMAIL PROTECTED]> writes:
> I used the eagle book. I have done very well with it. Are there
> really any other books out there on the subject?
perl.apache.org/guide of course!
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The
Ken Williams <[EMAIL PROTECTED]> writes:
> Putting squid in front of an Apache server used to be very popular - has
> it fallen out of favor? Most of the answers given in this thread seem
> to be more of the roll-your-own-cache variety.
Squid's OK provided you can coax Apache to send the heade
"Rob Egan" <[EMAIL PROTECTED]> writes:
> Hi,
>
> I have an Apache 1.3.12 server running on a Sun e450 with Solaris 7, Perl
> 5.6.0, and mod_perl 1.24. When I was testing the server everything seemed to
> be ok, but once I moved the real content (including a bunch of perl CGI
> scripts) onto it,
Andrew Chen <[EMAIL PROTECTED]> writes:
> Hi, I'm researching the nicest way to migrate our CGIs to running under
> mod_perl, and although they are too dirty to run under Apache::Registry,
> Apache::PerlRun works just fine.
*snip*
How dirty is dirty?
If it's a case of assembling the globals i
I'm doing a clean install of mod_per and I saw the following warning:
defined(@array) is deprecated at /software/perl5.6.0/lib/site_perl/5.6.0/Apache/DBI.pm
line 135.
(Maybe you should just omit the defined()?)
Syntax OK
Anyone care about this? ;-)
Dave
--
Dave Hodgkinson,
Perrin Harkins <[EMAIL PROTECTED]> writes:
> Doesn't FastCGI have exactly the same issues with dirty code? It's an
> honest question; I'm not just being difficult.
Almost. It runs in the main package as usual so at least you won't see
screams about "...won't stay shared..." and such. You also
martin langhoff <[EMAIL PROTECTED]> writes:
> what do you think? is it already done? maybe all of a sudden I've got
> this oh so great idea just because I have not read the instructions to
> download the latest bundle from CPAN.
An expansion on Stas' "10 lines to installing mod_perl" in
I always thought that if you did a CPAN installation of mod_perl, it
automatically downloaded the modules that it needed. Am I wrong ?
Suresh <[EMAIL PROTECTED]> writes:
> Hi all,
>
> I am trying use a startup file to load all the used modules in my web application,
>but when i use
> the startup file, the size of all the process becomes big. I excpected that only the
>apache's
> parent process size becomes become. Also when
davidu <[EMAIL PROTECTED]> writes:
> Hi,
>
> Our company, like.com, has been looking for some experianced mod_perl
> coders. We have checked most of the major job sites, including guru.com
> and have not come across any that have real skills. Where do all the
> mod_perl coders hang out?
Her
kevin <[EMAIL PROTECTED]> writes:
> Hello,
>
> Whilst I am subscribed to modperl mailing list does
> anyone know a good general perl mailing list
>
> preferably from perl.org or .com
>
> I tried subscribing to a few but links where outdated.
This is what the comp.lang.perl* Usenet newsgroups
Paul <[EMAIL PROTECTED]> writes:
> True enough, but I can't read newsgroups through our company firewall.
> Email I can get.
www.deja.com?
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apa
blue <[EMAIL PROTECTED]> writes:
> deja just plain sucks. i am willing to set up a mailing list, if anyone is
> interested. i also have no patience with usenet.
But deja isn't usenet. Usenet is a decent threaded newsreader hanging
off a fast NNTP feed.
--
Dave Hodgkinson,
scripts (that talk to Oracle) to mod_perl.
David Wachtel
Chief Technology Officer
US Search.com
Saurabh Goyal <[EMAIL PROTECTED]> writes:
> Hi,
>
> I am new to apche and mod_perl. I am trying to write apache module to write
> some additional parameters to transfer log (access.log). Is anybody have an
> idea, how can we write additional stuff to access.log including the
> defaults. Any hel
Gunther Birznieks <[EMAIL PROTECTED]> writes:
> Well, I'm sort of kidding here. But the reality is that a conference offers
> a lot -- not just knowledge (then just attend a tutorial locally at Sun or
> someplace) but networking.
Buying key people lots of beer in other words.
--
Dave Hodgki
ases or start the
server. This avoids the hassle of trying to figure out which Oracle
files DBD needs, and where they should go. Still not a
straightforward process for those (like me) who are new to Oracle.
-Dave
--
David Ranney
[EMAIL PROTECTED]
LessonLink, Inc.
www.lessonlink.com
Vivek Khera <[EMAIL PROTECTED]> writes:
> > "d" == davidu <[EMAIL PROTECTED]> writes:
>
> d> and have not come across any that have real skills. Where do all the
> d> mod_perl coders hang out?
>
> Well, this week we've been hanging out at the Perl conference 4.0 in
> Monterey. Many rec
Paul Phillips <[EMAIL PROTECTED]> writes:
> Hello, all,
>
> I'm quite noew to modperl. I've written a cgi, using cgi.pm that I am
> moving to modperl. The cgi is written as one main program, with a number
> of subroutines spread across three libraries that are required into the
> main prog
Darko Krizic <[EMAIL PROTECTED]> writes:
> The program now can repeat the tr "singlerow" for each table row and insert
> it under the tr "resultheader". The values can be inserted into the tds
> "row_name" and "row_count". The main advantage is: The designer can generate
> HTML pages that can be
Darko Krizic <[EMAIL PROTECTED]> writes:
> What is the Template Toolkit?
www.template-toolkit.org
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apache, mod_perl, MySQL, Sybase hired gun f
Darko Krizic <[EMAIL PROTECTED]> writes:
> As you know projects must be finished until yesterday. It would be a dream
> if we could share the templates between Enhydra and Perl. The only problem I
> see here is the performance. Enhydra compiles the java and the HTML pages
> and creates methods a
Sean Kelly <[EMAIL PROTECTED]> writes:
> Hello there,
>
> I'm currently developing a few web based applications using
> Apache, mod_perl, Perl 5 and the Postgres relational database. This
> applications are running on an Intel Linux 2.0.38 machine, with 32Mb
> memory.
I have to say, 32M
Jauder Ho <[EMAIL PROTECTED]> writes:
> The template may be kept in memory but it needs to be reparsed to insert
> real values, no? What I would like to see is a way to say the template is
> static (header/footer) and does not need to be reparse/regenerated each
> time and comparitively small po
Perrin Harkins <[EMAIL PROTECTED]> writes:
> On Thu, 27 Jul 2000, Jeff Beard wrote:
> > I have a couple of package globals that I'd like to populate with
> > information from a database when I fire up the web server
> [...]
> > I thought it might be as simple a declaring the variables and
> > po
Drew Taylor <[EMAIL PROTECTED]> writes:
> While I would love to have the session management & form goodies of the
> other template systems, our production people are not ready for it
> (yet). Keep up the excellent work on these other frameworks - I might
> get to use them one day. :-)
There's n
Kenneth Lee <[EMAIL PROTECTED]> writes:
> Could we just summarize them up as an article? :P
Off you go then :-)
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apache, mod_perl, MySQL, Sybas
"mgraham" <[EMAIL PROTECTED]> writes:
> > Andy Wardley wrote:
> > * The Template Toolkit is *ONLY* a template system. This is a Good
> > Thing. It processes text (HTML, Latex, POD, etc). You can use it
> > under Apache/mod_perl, in stand-alone CGI scripts, or in other
> > environments e
Chris,
This sounds precisely like CGI::FastTemplate, which I have used heavily and
like a lot. My other favorite templating system is HTML::Template, but
CGI::FastTemplate is *very* lightweight.
- David
- Original Message -
From: Chris Carline <[EMAIL PROTECTED]>
To: Gunther Bir
> I've got a section of our site where I want to force the user to
> connect via ssl.
> Inside of mod_perl, is there a parameter I can grab to see whether
> the connection is ssl or not? Or a way to get the port number?
If there isnt a special reason otherwise, why not just put a
redirect in h
ocation) while still
allowing the rest of the pattern to match. If you want it to match the minimum
number of times possible, follow the quantifier with a ``?''. Note that the
meanings don't change, just the ``greediness'':
*? Match 0 or more times
+? Match 1 or more times
David
Barrie Slaymaker <[EMAIL PROTECTED]> wrote:
> Something like this we3nt by on p5p a while ago (IIRCC):
>
>@{$main::{"$class\::"}->{ISA}}
This only works if $class is not nested, ie it works for X but not for X::Y,
eg:
---
@X::ISA = qw(foo);
@X::Y::ISA = qw(bar);
my @isa;
my $class;
$c
Is this an appropriate place to advertise one's availability for a
couple of weeks mod_perl work?
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apache, mod_perl, MySQL, Sybase hired gun for,
Stas Bekman <[EMAIL PROTECTED]> writes:
> Please keep in mind that this is a strictly mod_perl list... you get the
> idea. (I was talking in general, I know that you David are a mod_perl
> hacker :)
Yep, thanks.
I'm trying to sell the idea of the niche between de
George Sanderson <[EMAIL PROTECTED]> wrote:
...
> >> Could this be a lack of memory?
> munmap(0x2ae2c000, 9736)= 0
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
> Carp::longmess_heavy(/usr/local/lib/perl5/5.6.0/Carp/Heavy.pm:127):
> 127:$
(2) The second is that TIEHASH assumes that SUPER::TIEHASH
will succeed. If it doesn't, the lockfile gets left open,
and DESTROY is never called to close it.
(3) I ran into one other issue: umask isn't restored if sysopen
on the lockfile fails.
Whilst we're on the subject of templates, would anyone care to comment
on how they fit with content-negotiated documents? I'm looking at
a document for multiple language using Apache
MultiViews. (index.html.es, index.html.jp etc). Does this even work
with SSI or Apache::SSI?
TIA,
Dave
--
Dav
Matt Sergeant <[EMAIL PROTECTED]> wrote:
>
> This can be demonstrated with a very simple object class with a DESTROY
> method. There's a message somewhere in the p5p archives about this from
> me.
That's
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-03/msg00604.html
to save anyone
Has anyone converted the Ultimate Bulletin Board / Madron Park Bulletin
board to run under mod_perl ?
1 - 100 of 593 matches
Mail list logo