Hi,
We want to share a variable across different httpd
processes.
Our requirement is as follows :
1. We want to define one variable (which is a large
hash).
2. Every httpd should be able to access this
variable (read-only).
3. Periodically (every hour) we would like to have
another
On Mon, 6 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote:
Hi,
We want to share a variable across different httpd processes.
Our requirement is as follows :
Look at the IPC::* modules, IPC::ShareLite will do exactly what you
need.
--
steven
On Nov 3, 9:52am, Ken Y. Clark wrote:
btw, i'd really recommend you look into using Template Toolkit.
Indeed. One of the nice things about TT (in the author's humble opinion)
is that you can use the same presentation templates to render static HTML
as for dynamic HTML.
For example, you can
Hi,
I can access oracle database from the main Apache process, but not from any
child processes. I am fairly new to this subject, can someone give me some
advice?
Thanks in advance,
Jason
"Jason Liu" [EMAIL PROTECTED] writes:
Hi,
I can access oracle database from the main Apache process, but not from any
child processes. I am fairly new to this subject, can someone give me some
advice?
What error are you getting? You looked in the error logs? What do you
mean by "main"
Are you trying to establish a persistent connection using Apache::DBI ?
IIRC Oracle connections don't persist across forks so you should use the
method described in the Apache::DBI manpage to establish one connection
per child:
Apache::DBI-connect_on_init($data_source,
Thanks for reply.
I need some information in the Oracle database for access control. We have
some methods in our proprietary library for Oracle access. I have a file
called GateKeeper.pm that contains the access handler, sub handler{ ... }.
I placed the same code inside and outside of the
--
mod_perl digest
October 29, 2000 - November 4, 2000
--
Recent happenings in the mod_perl world...
Features
"Jason Liu" [EMAIL PROTECTED] writes:
In general, how should database connections be handled between parent and
child processes? Can you establish database connections from within a
handler?
Absolutely. And using Abache::DBI caches the connection handle.
--
Dave Hodgkinson,
I need a tool to interactively visualize DB tables from a web
interface.
Ideally this tool would let me:
- rename column headers,
- set cell alignments, widths, background colors,
- reorder columns,
- save all these visualisation settings in a DB,
- it would be written in
I've been playing around with SERVER_CREATE, SERVER_MERGE, DIR_CREATE and
DIR_MERGE and having some mixed success.
The first problem I encountered was that my *_MERGE methods were being
ignored. The $class-can('DIR_MERGE') and $class-can('SERVER_MERGE')
tests in the Apache::ExtUtils
At 02:14 AM 11/6/00, Perrin Harkins wrote:
Todd Finney wrote:
This another follow-up to a previous thread, "maximum
(practical) size of $r-notes", from last week. We're
trying to redirect the output of $subr-run(), and
return
it as a variable instead of sending it to the browser.
Hi there,
On Mon, 6 Nov 2000, Jayme Frye wrote:
I am setting up Apache::Watchdog::RunAway and have come across a
problem with Apache::Scoreboard that breaks Watchdog.
[snip]
Apache compile time options:
SL_BASE=SYSTEM \
EAPI_MM=SYSTEM \
CC="egcs" \
OPTIM="-O9
Extract from
[EMAIL PROTECTED] (Todd Finney) wrote:
Todd Finney wrote:
This another follow-up to a previous thread, "maximum (practical)
size of $r-notes", from last week. We're trying to redirect the
output of $subr-run(), and return it as a variable instead of
sending it to the browser.
[...]
"AW" == Andy Wardley [EMAIL PROTECTED] writes:
AW On Nov 3, 9:52am, Ken Y. Clark wrote:
btw, i'd really recommend you look into using Template Toolkit.
AW Indeed. One of the nice things about TT (in the author's humble opinion)
AW is that you can use the same presentation templates to
n 6 Nov 2000, David Hodgkinson wrote:
Matthew Byng-Maddick [EMAIL PROTECTED] writes:
On 1 Nov 2000, David Hodgkinson wrote:
Matthew Byng-Maddick [EMAIL PROTECTED] writes:
You do, of course, know about all the latest patches for this, due to
potential security problems
On Mon, 6 Nov 2000, Vivek Khera wrote:
head
titleMy Site/title
/head
body
tr
td[% stick in body of article here "document.main" %]/td
td[% stick in related info here "document.sidebar" if it exists %]/td
/tr
/body
That is, I have exactly one template that I apply to each document.
A patch to Apache.pm docs, to match what is actually going on already:
===
RCS file: /home/cvspublic/modperl/Apache/Apache.pm,v
retrieving revision 1.57
diff -u -r1.57 Apache.pm
--- Apache/Apache.pm2000/10/10 16:33:56 1.57
Vivek Khera [EMAIL PROTECTED] writes:
Is TT the something that will let me do this without too much
headache?
Yes. Look at PRE_PROCESS and POST_PROCESS in the man page.
Cheers,
Dave
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway
G.W. Haywood [EMAIL PROTECTED]
I just have to say Thanks Again Ged
On Fri, 3 Nov 2000, Jose Albert wrote:
how to solve this problem ...?
still waiting for server to warm up...not ok
t/logs/error_log :
[warn] [notice] child_init for process 3394
What happens if you run
essentially is this possible?
The reason is that at the moment i have includes that vary depending
on the subdomain, but the file that includes them remains the same.
e.g:
!--#include virtual="/dir/inc.html"--
some content
only if i'm looking at it from here.site.com rather than
The URL
http://morpheus.laserlink.net/~gyoung/modules/Apache-SimpleReplace-0.06.tar.
gz
has entered CPAN as
file: $CPAN/authors/id/G/GE/GEOFF/Apache-SimpleReplace-0.06.tar.gz
size: 3628 bytes
md5: a0018cb6d18863878507bdad70f58c38
This is basically an update for Apache::Filter 1.013
Bill Moseley wrote:
But it's amazing how many are just lame in that they take perfectly good
HREF tags and mess them up in the request. For example, every day I see
many requests from Novell's BorderManager where they forgot to convert HTML
entities in HREFs before making the request.
On Mon, 6 Nov 2000, Todd Finney wrote:
The only difficulty then remaining is the existing CGI
scripts that this system wraps. There are several dozen of
these in place already, and changing the argument handling
would be rather tedious. Do you know of an easy method for
handling that
On Mon, 6 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote:
We want to share a variable across different httpd processes.
Our requirement is as follows :
1. We want to define one variable (which is a large hash).
2. Every httpd should be able to access this variable (read-only).
head
titleMy Site/title
/head
body
tr
td[% stick in body of article here "document.main" %]/td
td[% stick in related info here "document.sidebar" if it exists
%]/td
/tr
/body
That is, I have exactly one template that I apply to each document.
Right now I do that using
"G.W. Haywood" wrote:
Hi there,
On Mon, 6 Nov 2000, Jayme Frye wrote:
I am setting up Apache::Watchdog::RunAway and have come across a
problem with Apache::Scoreboard that breaks Watchdog.
[snip]
Apache compile time options:
SL_BASE=SYSTEM \
EAPI_MM=SYSTEM \
CC="egcs" \
Hi all,
maybe this one is a rookie-question ;)
Q:Is it normal, that under linux, running apache with mod_perl, for requests
on a script a separate system process is starting ?
I saw a lot of processes (via `top`), all running separate my script, as I
made some benchmark tests...
- I thought,
On Fri, 3 Nov 2000, I wrote:
So from within a function, I'm doing
my $r = Apache::Request-new( Apache-request() );
warn "request=", $r-as_string(), "\n";
and, when I to a POST request, I get:
Accept: image/gif, image/x-xbitmap, image/jpeg,
I'm using
RedHat Linux v6.1 on an Intel PII SMP box
Apache v1.3.14
mod_perl v 1.23
Apache::DBI 0.87
DBI v1.13
DBD Pg v0.93
PostgreSQL v6.5.3
The morning after "logrotate" runs on my system, the memory usage increases by about 30
megabytes, and continues to do so after each weekly run of the
All,
The project I'm working on requres me to do the following:
1. GET/POST Request comes in
2. Request gets handled by a mod_perl handler, which modifies and adds
to the GET/POST variables.
3. Request is then sent to a C handler (BEA WLS-Apache bridge)
4. Request is then handled by a JSP,
How can I 'cache' this data so that all Apache children can
access it quickly? Is there a way to automatically update
this cache periodically (say every 10 minutes)?
If possible with your data, it'd probably be a good idea to generate static
pages on-the-fly using mod_rewrite as in the
Hello,
I'm just starting with mod_perl and I'm using Apache::Registry(). The
second line after #!/usr/bin/perl -w is use strict;
But somehow variables I use in the script are still defined if I execute
the script again, in one of the script I said undef $foo at the
end, but I don't think this
=
I am resending this email because I initially sent it out late Friday
evening and I only received further questions from one person. I was
hoping that someone could shed some light on why I am having problems
loading DSO modules
Hi there,
On Mon, 6 Nov 2000, [iso-8859-1] Alexander Förster wrote:
Q:Is it normal, that under linux, running apache with mod_perl, for
requests on a script a separate system process is starting ?
Not unless you intentionally start one from your script.
I wrote a script, included it via
Hi there,
On Mon, 6 Nov 2000, Buddy Lee Haystack wrote:
The morning after "logrotate" runs on my system, the memory usage
increases by about 30 megabytes, and continues to do so after each
weekly run of the "logrotate" utility.
What happens if you then do a graceful restart?
Has anyone
Hi there,
On Mon, 6 Nov 2000, Paul J. Lucas wrote:
From within my authentication handler, I also access query string
parameters. When I do this, the downstream content handler finds
that $r-param() is empty.
Search the Guide for PERL_STASH_POST_DATA.
73,
Ged.
On Tue, 7 Nov 2000, Marinos J. Yannikos wrote:
If possible with your data, it'd probably be a good idea to generate
static pages on-the-fly using mod_rewrite as in the related guide:
http://www.engelschall.com/pw/apache/rewriteguide/#ToC33.
If you have a caching proxy server running in front
I am setting up Apache::Watchdog::RunAway and have come across a problem
with Apache::Scoreboard that breaks Watchdog. The broken thing is
access_count which is always 0 (my $count = $process-my_access_count;).
This causes process running time to continue to increase until the
On Nov 1, 4:57pm, Louis-David Mitterrand wrote:
I need a tool to interactively visualize DB tables from a web interface.
Ideally this tool would let me:
- rename column headers,
- set cell alignments, widths, background colors,
- reorder columns,
- save all these visualisation settings in
I need a tool to interactively visualize DB tables from a web interface.
Ideally this tool would let me:
- rename column headers,
- set cell alignments, widths, background colors,
- reorder columns,
- save all these visualisation settings in a DB,
- it would be written in perl
sbekman 00/11/06 11:46:03
Modified:netcraft graph.jpg index.html input.data pseudo-graph.jpg
Log:
sep/oct 2000 data/graph
Revision ChangesPath
1.3 +187 -188 modperl-site/netcraft/graph.jpg
Binary file
1.30 +35 -33
42 matches
Mail list logo