Hello,
The examples from the O'Reilly book Writing Apache Modules with Perl and C
do not compile because of a missing Apache::Src module.
I am using Apache 2.0 + mod_perl-1.99_08 and can only find docs on this
module
under the 1.0 section of the mod_perl 1.0 area of the mod_perl website
On Wed, 19 Feb 2003 10:04:02 +1100, Stas Bekman wrote:
Ron Savage wrote:
On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote:
Hi Folks
In endeavouring to reproduce this problem, I've encountered another:
main.cgi:
-8-
#!/usr/bin/perl
use strict;
use warnings;
use CGI;
use Dummy;
#
Hi,
Are there any problems using XML::LibXML and XML::LibXSLT with mod_perl 2
(perl 5.8)?
(everything is the latest versions as grabbed from Randy's site ;) win32).
My primary concern is thread-safety (is XML::LibXML thread-safe?), but
anything I should be aware about would be nice to know.
Perrin,
I suggest you look at IPC::MM or IPC::Shareable. IPC::Shareable is
more
transparent, but IPC::MM has better performance. IPC::MM simply
creates
a hash in shared memory and lets you write to it. Either of these
will
allow you to share data between processes.
Thanks, I'll have a
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade to Perl/5.8.0 will I have to upgrade mod_perl to a newer
version as well?
Thanks,
NG
Hi,
mod_perl 1.27 is the latest stable version of mod_perl 1.
You're fine.
Regards,
Sven.
Am Mon, 2003-02-24 um 12.24 schrieb Gazi, Nasser (London):
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade to Perl/5.8.0
Hi,
mod_perl 1.27 is the latest stable version of mod_perl 1.
You're fine.
Regards,
Sven.
Am Mon, 2003-02-24 um 12.24 schrieb Gazi, Nasser (London):
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade
Hi,
mod_perl 1.27 is the latest stable version of mod_perl 1. You're fine.
Regards,
Sven.
Am Mon, 2003-02-24 um 12.24 schrieb Gazi, Nasser (London):
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade to
I'm trying to use Apache::Session::Postgres and not having much luck.
When I try to create a new session like this:
use Apache::Session::Postgres;
tie %sess, 'Apache::Session::Postgres', undef, {
Handle = $self-dbh, Commit = 1
};
I get this error:
Can't locate object method
I've seen a number of code examples for redirects which output a
root-relative URI in the Location header. Eg:
Location: /images/item1.gif
Although browsers seem to accept this and do 'the right thing', the
HTTP RFC seems to be pretty clear that the Location header must be
an absolute URI.
Yes. I used gcc to compile perl 5.8, DBI 1.30, DBD::Orace
1.12.
Then as part of this particular install, I've installed HTML-Parser-3.27,
URI-1.23, URI-1.22, libwww-perl-5.69.
I did have similar type of problem with perl 5.8 install. I changed
all file containing 'WI,-E' to not use ',-E'.
On Mon, 2003-02-24 at 00:14, Christopher Hahn wrote:
The examples from the O'Reilly book Writing Apache Modules with Perl and C
do not compile because of a missing Apache::Src module.
I am using Apache 2.0 + mod_perl-1.99_08 and can only find docs on this
module
under the 1.0 section of
Grant == Grant McLean [EMAIL PROTECTED] writes:
Grant I've seen a number of code examples for redirects which output a
Grant root-relative URI in the Location header. Eg:
Grant Location: /images/item1.gif
If that's coming out from a CGI or Apache::Registry script, the
browser never sees it,
On Mon, 2003-02-24 at 07:09, Grant McLean wrote:
I get this error:
Can't locate object method get_lock_manager via package
Apache::Session::Postgres
And indeed, that method does not seem to be defined in any of the modules
which Apache::Session::Postgres inherits from.
I don't see
On Mon, 2003-02-24 at 05:40, Jim Morrison [Mailing-Lists] wrote:
Hmm.. Yes, it sounds pretty sketchy to me too! Immediately what I am
playing with is the idea of keeping parsed XML (XML::LibXML)in memory
between requests. Is this a completely barmy idea?
Caching is a good idea, but it's not
--- Grant McLean [EMAIL PROTECTED] wrote:
Is there an easy way to get the absolute URI of the current request
to use with Apache::URI-parse to translate a relative URI to
absolute?
From perldoc URI
-
$uri = URI#8722;new_abs( $str, $base_uri )
This constructs a
Hello again Charlie,
On Mon, 24 Feb 2003, Charlie Smith wrote:
Yes. I used gcc to compile perl 5.8, DBI 1.30, DBD::Orace 1.12.
And Apache and mod_perl?
I did have similar type of problem with perl 5.8 install. I changed
all file containing 'WI,-E' to not use ',-E'. This allowed me to
No, but you will need to recompile it plus lots of other modules, basically
any module that includes XS code. Consider using CPAN's autobundle feature.
:-)
Wes Sheldahl
Gazi, Nasser (London) [EMAIL PROTECTED] on 02/24/2003 06:24:32
AM
To:[EMAIL PROTECTED]
cc:
Subject:Upgrading to
Hi Ged,
apache
and mod_perl at 1.3.19 and 1.25, resp. I came on board afterapache
and mod_perlhad been installed via binaries off of a cd.
It
is part of my task to upgrade these and try and get rid of some problems with
mod_perl.
Current
configuration:
GCC 2.95,
PERL 5.8, DBI 1.3 and
On Mon, 24 Feb 2003, Jim Morrison [Mailing-Lists] wrote:
Hmm.. Yes, it sounds pretty sketchy to me too! Immediately what I am
playing with is the idea of keeping parsed XML (XML::LibXML)in memory
between requests. Is this a completely barmy idea?
Probably, because you'll confuse
Grant McLean wrote:
I've seen a number of code examples for redirects which output a
root-relative URI in the Location header. Eg:
Location: /images/item1.gif
Although browsers seem to accept this and do 'the right thing', the
HTTP RFC seems to be pretty clear that the Location header must be
So Ged,
How long before something like this gets into the build process and out as
a patch? Or is there something I could do in the interim?
"Ged Haywood" [EMAIL PROTECTED] 02/24/03 10:03AM
Hello again Charlie,On Mon, 24 Feb 2003, Charlie Smith
wrote: Yes. I used gcc to compile perl 5.8,
Hi Charlie,
On Mon, 24 Feb 2003, Charlie Smith wrote:
How long before something like this gets into the build process and
out as a patch? Or is there something I could do in the interim?
As it seems that you're the only one having the problem, I meant that
*you* might fix it and submit a
Hello again,
Loggerithim 6.3.0 is now available, ChangeLog follows:
- 6.3.0
* Use page that returns an image/png, rather than writing one to the
filesystem
* Added filesystem code to the OS X agent, bringing it near completion.
* Use the IP of a host, then fallback to supplied hostname
Ok. I'll
give it a whack or hack or whatever you want to call it. Where are the Wl
flags loaded from for the mod_perl stuff? "Ged Haywood"
[EMAIL PROTECTED] 02/24/03 12:00PM Hi
Charlie,On Mon, 24 Feb 2003, Charlie Smith wrote: How long
before something like this gets into the build process
Hmm.. Yes, it sounds pretty sketchy to me too! Immediately what I am
playing with is the idea of keeping parsed XML (XML::LibXML)in memory
between requests. Is this a completely barmy idea?
Probably, because you'll confuse XML::LibXML's garbage collector.
Sniff.. I've kind of got
Jim Morrison [Mailing-Lists] wrote:
Sniff.. I've kind of got something working... Enough such that one
httpd can request an XYZ, and if a second httpd comes along a little
later and requests the same XYZ then it will get it from shared memory.
I hope you used one of the modules I suggested rather
Geoffrey Young wrote:
Grant McLean wrote:
Is there an easy way to get the absolute URI of the current request
to use with Apache::URI-parse to translate a relative URI to
absolute?
to generate a URI that points to the same server as the
current request it's best to use Apache::URI
Jim Morrison [Mailing-Lists] wrote:
Sniff.. I've kind of got something working... Enough such that one
httpd can request an XYZ, and if a second httpd comes along a little
later and requests the same XYZ then it will get it from shared
memory.
I hope you used one of the modules I
--
mod_perl digest
February 10, 2002 - February 23, 2003
--
Recent happenings in the mod_perl world...
Features
On Monday, Feb 24, 2003, at 19:47 Europe/London, Jim Morrison
[Mailing-Lists] wrote:
What I thought was that if I kept the handle to the parsed XML open
somewhere else then I would be able to use it.. so a separate process
does the parsing and keeps hold of the handles of the currently
'shared'
Matt already answered most of your questions.
Jim Morrison [Mailing-Lists] wrote:
And I'm getting some mileage out of
experimenting with this anyhow - if it doesn't work for LibXML it looks
like it could be very useful for other stuff, and if it ever works
bug-free(-ish) I'd like to give
Ron Savage wrote:
On Wed, 19 Feb 2003 10:04:02 +1100, Stas Bekman wrote:
Ron Savage wrote:
On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote:
Hi Folks
In endeavouring to reproduce this problem, I've encountered another:
main.cgi:
-8-
#!/usr/bin/perl
use strict;
use warnings;
use
Geoffrey Young wrote:
to generate a URI that points to the same server as the current request
it's best to use Apache::URI methods, which are pretty easy.
my $uri = Apache::URI-parse($r);
$uri-path('/some/new/document.html');
my $absolute_uri = $uri-unparse;
note that calling path() (or
Hi Charlie,
On Mon, 24 Feb 2003, Charlie Smith wrote:
Ok. I'll give it a whack or hack or whatever you want to call it. Where are
the Wl flags loaded from for the mod_perl stuff?
Actually they're from the Apache source, the mod_perl configuration may hack them.
The tool I use most for
Does anyone know where to find the Apache module mentioned (use
Apache;) in the tracking users with cookies code example code found
in the Apache::Session manpage?
Thanks,
Carl Holm,
[EMAIL PROTECTED]
On Mon, 2003-02-24 at 19:49, Carl Holm wrote:
Does anyone know where to find the Apache module mentioned (use
Apache;) in the tracking users with cookies code example code found
in the Apache::Session manpage?
It's part of mod_perl. If you have installed mod_perl 1.x, you have it.
[please keep it on the list]
Carl Holm wrote:
I'm running mod_perl2
The examples in the documentation of Apache::Session are for mod_perl
1.x. If you want to run them under mod_perl 2, you have to port them or
use the backward compatibility functions. Documentation is on the
perl.apache.org
On Tue, 25 Feb 2003 09:40:05 +1100, Stas Bekman wrote:
And what your error_log says?
Nothing is output to the error_log.
--
Cheers
Ron Savage, [EMAIL PROTECTED] on 25/02/2003
http://savage.net.au/index.html
39 matches
Mail list logo