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 -ir
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
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
...
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
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://servername/, I get the list of
files in my htdocs.
Like wise when I give ftp://servername/, I need a
list from my server folders.
Have look at this
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 handler.pl)
James G Smith wrote:
--
mod_perl digest
December 1, 2001 - December 15, 2001
--
Recent happenings in
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
__
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 apply
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
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,
[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 changing
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
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
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 greatly
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
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
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
-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 *WILL* do it
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
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
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
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 modules.
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]
/*
-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 in that?
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
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
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.
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.
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.
True.
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.
I
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 just using
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 once
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 missing
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
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
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 ;-) ):
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
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 this?
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 from 1.25
dougm 01/12/19 10:16:41
Modified:xs/APR/PerlIO apr_perlio.c
Log:
fix win32 5.6.1 compile
Revision ChangesPath
1.6 +1 -1 modperl-2.0/xs/APR/PerlIO/apr_perlio.c
Index: apr_perlio.c
===
dougm 01/12/19 17:31:24
Modified:lib/Apache compat.pm
t/response/TestApache compat.pm
Log:
use/require Apache::File; compat
Revision ChangesPath
1.32 +2 -0 modperl-2.0/lib/Apache/compat.pm
Index: compat.pm
stas01/12/19 19:20:33
Modified:xs/APR/PerlIO apr_perlio.c
Log:
- perl 5.7.2 patch 13809 has changed the prototype of all PerlIO vtable
functions to start with pTHX_; adjusting for this change and removing
dTHX's that aren't needed anymore.
Revision ChangesPath
dougm 01/12/19 19:54:41
Modified:t/apache cgihandler.t compat.t post.t scanhdrs.t
t/apisend_fd.t sendfile.t
t/directive perlrequire.t
t/filter input_body.t input_msg.t lc.t
t/hooks access.t trans.t
44 matches
Mail list logo