> When you up grade from one version to the next
> version of apache ,U have to redo the passwd and
> user.
>
> I had the same problem when I tried updating from
> 1.3.12 to 1.3.19-rev1,and I re-did it.
>
> Then all where ok !,what is the version of ur
> mod_perl.
I wrote - I upgraded it fr
On Wed, 19 Dec 2001 16:01:22 -
Matt Sergeant <[EMAIL PROTECTED]> wrote:
> Actually I was wondering about writing an Apache::Singleton class, that
> works the same as Class::Singleton, but clears the singleton out on each
> request (by using pnotes). Would anyone be interested in that?
Like t
Igor Sysoev mentioned recently on this list that he has written a module
called 'mod_accel' that provides a caching HTTP accelerator, as well as a
mod_gzip replacement called 'mod_deflate'. These modules are both used on
Kaspersky labs' busy sites, as well as at the popular portal
http://www.rambl
Hi...
I want to use LWP::Simple inside a safe compartment created with the
Safe Module. But it ends up with errors like "Can't locate object method
"new" via package "LWP::UserAgent" at line... or "Require trapped by
operation mask..."
Here is how the code looks like (shortened ;-) ):
$codefr
Any good idea here?
Steve Lihn
FIS Database Support, Merck & Co., Inc.
Tel: (908) 423 - 4441
-Original Message-
From: Lihn, Horng-Twu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 4:53 PM
To: [EMAIL PROTECTED]
Subject: public and private code branch
Does anyone h
At 2:26 PM -0500 12/19/01, Lihn, Horng-Twu wrote:
>Kee,
>This helps. But if I have to do this in very page,
>isn't this post a serious problem to the memory consumption?
I can't speak to "require". But if you do a "use" in an Embperl
script, the library will load once per-process. In fact this
"Lihn, Horng-Twu" wrote:
> Kee,
> This helps. But if I have to do this in very page,
> isn't this post a serious problem to the memory consumption?
> Or not?
in what way? - u either need the code, or u don't. if u don't need
all of it, split it into smaller pieces.
>
>
> -Steve
>
> >Maybe I'm
Kee,
This helps. But if I have to do this in very page,
isn't this post a serious problem to the memory consumption?
Or not?
-Steve
>Maybe I'm missing something, because this seems simple.
>[- require "foo.pl"; -]
>will load it everytime the page is loaded
>[! require "foo.pl"; !]
>will load it
> > If you want a per-request global, use $r->pnotes() instead of a standard
> > perl global. Then mod_perl *WILL* do it for you.
>
> True. But then you are using the Apache object and you're program
> doesn't work as a standard CGI anymore :(
I handle this by chekcing for $ENV{MOD_PERL} and jus
At 8:03 PM +0100 12/18/01, C.Hauser - IT assistance GmbH wrote:
>I use Dreamweaver for the publishers and the <% and <& commands are
>properly displayed as ASP-icons. I use it with Modules Apache::Session,
http://www.somewhere.com/software/ for Dreamweaver extensions to
display Embperl properly.
On Wed 19-Dec-2001 at 10:43:34AM -0500, Perrin Harkins wrote:
> > ALWAYS reinitialize $Your::Singleton::ETERNAL on each query!
> > mod_perl will *NOT* do it for you.
>
> If you want a per-request global, use $r->pnotes() instead of a standard
> perl global. Then mod_perl *WILL* do it for you.
T
> One thing I don't quite
> understand is the need to "clear out" a singleton. Why would a
> singleton need to hold transient state?
It's good for holding something request-specific, like a user session.
Perrin Harkins writes:
> Okay, wishful thinking. I don't use Class::Singleton, but I have written my
> own versions of Object::Registrar a few times to accomplish the same goal.
Ditto. We use a registry mechanism, too. One thing I don't quite
understand is the need to "clear out" a singleton.
At 4:14 PM -0500 12/18/01, Lihn, Horng-Twu wrote:
>I have a library of perl routine that I call in cgi-bin environment
>where I usually "require". I could not find any way to require it
>and use it in Embperl. I can not find any doc describing how this is done.
>(I can require it in the Mason han
> No, it's nothing like Object::Registrar. It's like Class::Singleton.
Okay, wishful thinking. I don't use Class::Singleton, but I have written my
own versions of Object::Registrar a few times to accomplish the same goal.
I don't like to make my core classes dependent on running in a mod_perl
en
hi,
While if i were to take you literally it will
not work. HTTP and FTP behave comepletely differently.
However you can simulate it .. eg
ftp://ftp.myserver.pre
As well as browsers tend to do passive ftp .. for
downloads .. Hope that helps a little.
Regards,
[EMAIL PROTECTED]
/* Se
> -Original Message-
> From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
>
> > Actually I was wondering about writing an Apache::Singleton
> class, that
> > works the same as Class::Singleton, but clears the
> singleton out on each
> > request (by using pnotes). Would anyone be interested
>
> All that makes it really easy for someone new to feel comfortable.
And isn't that what the mod_perl site should do?
>
> It would be nice to see license info, too, as someone new
> might want to be
> clear on that right away, too.
>
> You can also quickly see a list of supported module
> ALWAYS reinitialize $Your::Singleton::ETERNAL on each query!
> mod_perl will *NOT* do it for you.
If you want a per-request global, use $r->pnotes() instead of a standard
perl global. Then mod_perl *WILL* do it for you.
> You might think 'ah yeah but it would be nice if
> $Your::Singleton::ET
> Actually I was wondering about writing an Apache::Singleton class, that
> works the same as Class::Singleton, but clears the singleton out on each
> request (by using pnotes). Would anyone be interested in that?
This sounds a bit like Object::Registrar. If you do it, I'd suggest giving
it a "s
Hi,
As part of the mod_perl developer's cookbook, we'd like to
propose a module - Apache::WinBitHack - for possible inclusion in
CPAN. This module enables Win32 mod_perl users to emulate
Apache's XBitHack using file attributes. Usage is described below
in the readme. You can get the sources fro
> -Original Message-
> From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
>
> > ALWAYS reinitialize $Your::Singleton::ETERNAL on each query!
> > mod_perl will *NOT* do it for you.
>
> If you want a per-request global, use $r->pnotes() instead of
> a standard
> perl global. Then mod_perl *
> 2. We will use Template-Toolkit and Apache/mod_perl. Problem is that 2
> out of 3 people have never used TT or programmed mod_perl and OO Perl.
> Only I've made sites this way, they've used Embperl til now. How can I
> make this switch for them a little easier?
Get them all copies of the Eagle
> "Lihn, Horng-Twu" <[EMAIL PROTECTED]> writes:
>
> > I have a library of perl routine that I call in cgi-bin environment
> > where I usually "require". I could not find any way to require it
> > and use it in Embperl. I can not find any doc describing how this is
done.
> > (I can require it in t
I'm throwing in my two cents a bit late, so it's a bit depreciated now (one
cent?). But something to think about for the site.
I've worked with php a little lately -- not programming, but making minor
changes to a site. I've used the php site http://www.php.net/ a few times,
and I've found it
Hans-Olof Hermansson <[EMAIL PROTECTED]> said something to this effect on 12/19/2001:
> I am looking for a perl module that can convert a
> bitmap picture to jpeg or gif. I am sending a bitmap
> from a Pocket PC device to a Solaris webserver running
> Apache. If anyone has any tips it will be grea
If you're developing a complex application, you'll probably want to
split it in a horde of specialized modules. Few things to remember:
==
You will probably feel the need to use static variables (i.e. variables
shared with all instances of a given class) at some point. For example
if you have a
> I am trying [* *] tag and the code as simple as this does not work.
Note that [* *] is experimetal and will not work always in 1.3.x (it does in
2.0)
> I am using embperl 1.3.2 build from theoryx5.uwinnipeg.ca for Windows.
>
Please upgrade to the newest version (1.3.4), because there where a
[EMAIL PROTECTED] wrote:
>
> 1. Regarding the switch to postgresql, I think that's a good choice. Just pay
> attention to postgresql's data types, and try to get your fields types and
> lengths correct the first time if possible. It doesn't completely support the
> ALTER TABLE command, so changi
1. Regarding the switch to postgresql, I think that's a good choice. Just pay
attention to postgresql's data types, and try to get your fields types and
lengths correct the first time if possible. It doesn't completely support the
ALTER TABLE command, so changing column types can be a pain, alth
That's not mod-perl. That's not even Apache. Many popular web browsers
have browsing features for anonymous FTP. You need an FTP server for
that. Apache 2 will include an FTP server (I think), but for now, try
wuftpd.
Issac
anandr wrote:
>Hi All,
>
>I want to use my Apache as a ftp ser
>>Ideally if Thomas, Carlos and Allan could take
>>the best of each other's work and produce the "perfect" design, that
>>
> That would be OK for me, Carlos, Allan??
Wow, all three winners have agreed to work together to make the killer
design! that's great guys!!! I guess the next step is to
Hi,
I am looking for a perl module that can convert a
bitmap picture to jpeg or gif. I am sending a bitmap
from a Pocket PC device to a Solaris webserver running
Apache. If anyone has any tips it will be greatly
appreciated.
Reagrds
Hans-Olof
__
Do
James G Smith wrote:
>
> --
>
> mod_perl digest
>
> December 1, 2001 - December 15, 2001
>
> --
>
> Recent happeni
"Lihn, Horng-Twu" <[EMAIL PROTECTED]> writes:
> I have a library of perl routine that I call in cgi-bin environment
> where I usually "require". I could not find any way to require it
> and use it in Embperl. I can not find any doc describing how this is done.
> (I can require it in the Mason ha
Hi All,
I want to use my Apache as a ftp service also.
Can the ring help me.
I am running Apache 1.3.22 at port 80.
when I give http:///, I get the list of
files in my htdocs.
Like wise when I give ftp:///, I need a
list from my server folders.
Have look at this address,for what I am intend
...
> work on Mars. The investor claims to have evaluated Perl vs. C years ago,
> to have witnessed that every single hit on the webserver under mod_perl
> causes a CPU usage spike that isn't seen with C, and that under heavy load
]- this seems to me like non-compiled script, module or eventua
Viljo Marrandi <[EMAIL PROTECTED]> writes:
I'm answering what I can... :-)
> 3. Authorization. Is cookie based auth most reasonable or are there some
> other ways too? .htaccess will not do, I think, because all data is in
> the same directory and authorized access/login is needed only on some
Hello,
We're going to make a web-site for insurance company (err, more like
portal for several companies) and the problem is that ( I think ) it's
going to be our biggest and most complex site we've ever done AND we're
going to use some new stuff we've never used. So I'd be very happy if
you can
Hi there,
On Wed, 19 Dec 2001, Yuri A. Kabaenkov wrote:
> In script.cgi i share this variables like wroten in perl_mod Guide.
[snip]
> sometimes script.cgi from one virtual host uses module.pm from another.
> How can i fix it ?
Keep reading the Guide. it's in there.
Get the source and "grep -i
40 matches
Mail list logo