On Thu, Dec 14, 2000 at 07:54:06PM +0100, Stas Bekman wrote:
On Thu, 14 Dec 2000, Tom Brown wrote:
On Thu, 14 Dec 2000, Stas Bekman wrote:
On Thu, 14 Dec 2000, Tim Bunce wrote:
On Thu, 14 Dec 2000, Stas Bekman wrote:
and the script was dying on that error. The
Let's create a "Mod_perl League" - it gives us
at least one line on the first page of LWN.net
I read in the guide about Apache::LogSTDERR, but I don't seem
to be able to find it on CPAN. Can anyone tell where I can
find this?
Kees
On Fri, 15 Dec 2000, Kees Vonk 7249 24549 wrote:
Stas writes:
How about
close STDOUT;
close STDIN;
close STDERR;
in your child code?
check this out:
http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess
it's explained there.
I have
I wrote some code for a forum, that displays user entered text,
turning all URLs found into real links. Here it is:
[- @t = split(/\x0d\x0a/, $message); $r = '';
{
local $/ = "\x0d\x0a"; # for chomp below
for($i=0;$i lt; scalar @t;$i++) {
$out = ''; $t = $t[$i];
I read in the guide about Apache::LogSTDERR, but I don't seem
to be able to find it on CPAN. Can anyone tell where I can
find this?
It was mentioned here:
http://forum.swarthmore.edu/epigone/modperl/vixquimwhen
I suppose I've documented it too early, it was never released.
Doug?
On Thu, 14 Dec 2000, Darren Duncan wrote:
Thanks to everyone who answered my questions in some form or other.
As it is, I *had* been reading whatever manuals I found, but those
were the documentation that came with the mod_perl distribution on
CPAN.
I was not aware of the existence of
Jeremy Howard wrote:
IMHO, the best open source WebMail servers are PHP based
true, I am using and patching TWIG quite a lot, and that made me see how
messy PHP gets when dealing with libraries and things. It's not nice to
see a large app written in PHP... at least not this one.
I have
Stas,
I had the following in my code:
my($nOrgPID) = fork;
exit if $nOrgPID;
die "Could not fork: $!" unless defined $nOrgPID;
close STDIN;
close STDOUT;
close STDERR;
setsid() or die "Could not start new session: $!";
but that didn't work, however
Hi Stas,
On Fri, 15 Dec 2000, Stas Bekman wrote:
Come'n, are you sure you have ever looked at perl.apache.org?
[snip]
Hmm, should I add font size=+7/font around it?
How about blink :) /blink
73,
Ged.
On Fri, 15 Dec 2000, Kees Vonk 7249 24549 wrote:
Stas,
I had the following in my code:
my($nOrgPID) = fork;
exit if $nOrgPID;
die "Could not fork: $!" unless defined $nOrgPID;
close STDIN;
close STDOUT;
close STDERR;
setsid() or die "Could
Stas Bekman wrote:
Come'n, are you sure you have ever looked at perl.apache.org?
http://perl.apache.org/#docs
Books and Documentation:
Writing Apache Modules with Perl and C book by
Lincoln Stein and Doug MacEachern.
==
Stas Bekman wrote:
But you don't need to call setsid() when you fork. Why looking for
complicated workaround when you can do it properly without any workaround.
Have you ever seen an example of fork that uses setsid?
But your Guide says:
A much better approach would be to spawn a
On Sat, 16 Dec 2000, Jeremy Howard wrote:
Stas Bekman wrote:
Come'n, are you sure you have ever looked at perl.apache.org?
http://perl.apache.org/#docs
Books and Documentation:
Writing Apache Modules with Perl and C book by
Lincoln
On Sat, 16 Dec 2000, Jeremy Howard wrote:
Stas Bekman wrote:
But you don't need to call setsid() when you fork. Why looking for
complicated workaround when you can do it properly without any workaround.
Have you ever seen an example of fork that uses setsid?
But your Guide says:
On Fri, 15 Dec 2000, Stas Bekman wrote:
On Sat, 16 Dec 2000, Jeremy Howard wrote:
Stas Bekman wrote:
But you don't need to call setsid() when you fork. Why looking for
complicated workaround when you can do it properly without any workaround.
Have you ever seen an example of fork
Stas Bekman wrote:
1. Start the long running process (runs indefinitly for the
purpose of this test), which closes STDOUT, STDIN and
STDERR and then calls setsid().
Why do you call setsid()?
He's probably thinking of traditional the traditional way in which
you background a
OK, you probably don't want it to be another mailing list
then. But a web
bbs that allows you to post replies to code.
kind of ... I would like to see someplace to post _working_ code (complete
or snippets) with an explanation of what you are trying to accomplish, and
with any issues/special
Hi All,
On Fri, 15 Dec 2000, Stas Bekman wrote:
Please don't take it personally, it's just that quite many people came
here asking questions that were long time ago answered and documented. It
just shows people's ignorance, lack of respect and wish to get things the
easy way.
C'mon, Stas,
On Fri, 15 Dec 2000, Kees Vonk 7249 24549 wrote:
But you don't need to call setsid() when you fork. Why
looking for complicated workaround when you can do it
properly without any workaround. Have you ever seen an
example of fork that uses setsid?
Ok,
here is my confusion: I call
But you don't need to call setsid() when you fork. Why looking for
complicated workaround when you can do it properly without any workaround.
Have you ever seen an example of fork that uses setsid?
Yes, the following is taken straight out from the perlipc documentation:
At 04:02 PM 12/15/00 +0100, Stas Bekman wrote:
Am I missing something?
You don't miss anything, the above code is an example of daemonization.
You don't really need to call setsid() for a *forked* process that was
started to execute something and quit.
It's different if you call system() to
i don't think my responses to yesterday's discussion made it to the list,
so here's a summary:
Smith Renaud or Perl Mongers can donate rack space, infrastructure, and
other support to a new, canonical mod_perl site. we can either provide a
box (which we then control, sysadmin and policy-wise),
On Fri, Dec 15, 2000 at 01:21:04PM +0100, Stas Bekman wrote:
Hmm, should I add font size=+7/font around it? Do others find it
hidden?
In fact I do. Also, are the other documents being maintained? Do you
really want users to go read the other ones?
Another thing I observed: The Guide is
I've been following this thread and just wanted to offer up my services at
an html coder for a mod_perl website.
Joe Grastara
Project Assistant
Digital Media Center
The Skirball Institute Of Biomolecular Medicine
New York University Medical Center
540 First Ave., New York City, NY 10016 USA
"KV72" == Kees Vonk 7249 24549 [EMAIL PROTECTED] writes:
KV72 require 'sys/syscall.ph';
KV72 for (my $i=0; $i=255; $i++) {
KV72 syscall(SYS_close, $i + 0); # must force numeric
KV72 }
KV72 the socket got released and I could restart the server. I
KV72 know it is a
"SB" == Stas Bekman [EMAIL PROTECTED] writes:
SB In fact this is correct. You've taken this snippet out of the context. It
SB was in the section talking about spawning a process without fork. So it's
SB absolutely correct.
How exactly does one spawn a process without fork() in unix?
(It is a
On Fri, Dec 15, 2000 at 09:43:05AM -0500, Vivek Khera wrote:
Is there some place that has collected the "recommended" patches for
5.6.0? There don't seem to be any patches for it on CPAN... You'd
think that 5.6.1 would come out by now to fix up the problems people
have been having with 5.6
On Fri, 15 Dec 2000, Vivek Khera wrote:
"SB" == Stas Bekman [EMAIL PROTECTED] writes:
SB In fact this is correct. You've taken this snippet out of the context. It
SB was in the section talking about spawning a process without fork. So it's
SB absolutely correct.
How exactly does one
On Fri, Dec 15, 2000 at 01:21:04PM +0100, Stas Bekman wrote:
Hmm, should I add font size=+7/font around it? Do others find it
hidden?
In fact I do. Also, are the other documents being maintained? Do you
really want users to go read the other ones?
I'm cannot tell users not to read other
On Fri, Dec 15, 2000 at 05:23:05PM +0100, Stas Bekman wrote:
Currently I cannot use your TOC since:
1) it's automatically created
I was proposing patching the CVS so that it Automatically generates
the new format
2) your toc grouping doesn't reflect the order the chapters should be read
don't miss the deadline!!! submit those mod_perl and related talks...
-- Forwarded message --
Date: Fri, 15 Dec 2000 11:31:40 -0500
From: Rodent of Unusual Size [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Apache Announcements [EMAIL PROTECTED],
ApacheCon Announcements
Hi all;
This is my first post in this mailing list. I am very interested in helping
out getting the modperl tutorials out. I have experience with Photoshop,
Illustrator and M$Office. I can help with the slices and web design.
Please let me know where I can help out.
-Max
- Original
I would like to offer my services as HTML coder for the website. I Also have
experience with Adobe Photoshop and Illustrator.
-Max
Folks,
I got this message from a vendor as to why they couldn't do SSL on their
site...or that they couldn't, what does Apache say ?
IDI Solutions Newsroom Manager and Grassroots Manager utilize not just
the standard Apache web server, but create custom HTML pages for each
user through the use
I'm having the problem with being logged out then I switch to a secure
document. I have to log back in to get to the page. And when I go from a SSL
page to a plain page it logs me out again. Any advise?
Apache/1.3.12 (Unix) mod_perl/1.24 mod_ssl/2.6.6 OpenSSL/0.9.5a
Apache::AuthCookie is
Nathan Torkington wrote:
I like the idea. Is there a threaded discussion package for mod_perl?
mwForum does a nice job, and runs under Apache::Registry. It allows
both the usual threaded messaging and file uploads/downloads, so it's a
natural for associating files and comments.
I use it
On Fri, 15 Dec 2000, martin langhoff wrote:
I have this dangling idea of building a TWIG
lookalike (in Perl), with a 'plug-in'/'module'
structure, so I may write the email client, and others
fill with their desired modules. Anyway, it's a seriuos
undertaking, but it's in my plans to
might wanna modify the source to set the domain to .yourdomain.com, as
its probably now being set as secure.yourdomain.com or
www.yourdomain.com
i have the same setup here, it works fine..
John Walstra wrote:
I'm having the problem with being logged out then I switch to a secure
document.
actually you should be able to do a PerlSetVar to set that as well
PetSetVar ApolloDomain .yourdomain.com
i think will work
John Walstra wrote:
I'm having the problem with being logged out then I switch to a secure
document. I have to log back in to get to the page. And when I go from a
"MB" == Mike Buglioli [EMAIL PROTECTED] writes:
MB Utilizing SSL with Apache is indeed a very simple modification to Apache
true.
MB when there is not database parsing happening in the same process.
no need for this qualifier. SSL and mod_perl are orthogonal
technologies; the only
"JW" == John Walstra [EMAIL PROTECTED] writes:
JW I'm having the problem with being logged out then I switch to a
JW secure document. I have to log back in to get to the page. And
JW when I go from a SSL page to a plain page it logs me out
JW again. Any advise?
Figure out how to make your web
I take your answer as a polite confirmation that I am the only one to make
that mistake :-)
Well, this seems to be the case. Now that I know the problem cause, this
*is* obvious.
Still, the guide doesn't clear things IMHO for one under the same weird
false assumption that I had: "but the parent
"JM" == JR Mayberry [EMAIL PROTECTED] writes:
JM might wanna modify the source to set the domain to .yourdomain.com, as
JM its probably now being set as secure.yourdomain.com or
JM www.yourdomain.com
no need to modify source to do that. AuthCookie has a config option
to do it for you.
Ok, i've searched the archives and cannot find help for this problem there.
I have compiled Apache v 1.3.14, without errors.
I have then gone to compile mod_perl v1.24, below is my effort.
The error/warning at the bottom states that i require Apache 1.3.0.
Anyone shed any light on why this
brian moseley wrote:
(speaking as the author of a proprietary mod_perl
webmail...)
DO IT!!
my fear is that writing it as a mod_perl app, it'd be terribly niche,
and we wouldn't get it rolling. I'd rather write a bunch of modules,
that can be called from a CGI or a templating
This is a FAQ.
Get mod_perl-1.24_01 where this is fixed.
V.
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 1:19 PM
To: [EMAIL PROTECTED]
Subject: Warning, Apache Version 1.3.0 required
Ok, i've searched the archives and cannot find help for
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 1:19 PM
To: [EMAIL PROTECTED]
Subject: Warning, Apache Version 1.3.0 required
Ok, i've searched the archives and cannot find help for this
problem there.
I have compiled Apache v
Only from someone on AOL ;)
[EMAIL PROTECTED] wrote:
We need to see Larry Wall on CNBC taking questions like
"So it's free?"
"yes"
"And you don't get any money for it?"
"Correct"
"And you keep working on it?"
"That's my perogative"short Bobby Brown move
"And you
On Fri, 15 Dec 2000, martin langhoff wrote:
brian moseley wrote:
(speaking as the author of a proprietary mod_perl
webmail...)
DO IT!!
my fear is that writing it as a mod_perl app, it'd be terribly niche,
and we wouldn't get it rolling. I'd rather write a bunch of modules,
=]
ok, i downloaded mod_perl 1.24_01 to see if that made any difference.
YAY!
Makefile.PL works, make works, make install works, make
test..
=[
Now i the server will not startup:
###
will write error_log to: t/logs/error_log
letting apache warm
It only took you a month to come up with that1
Someone give the man a cigar!
Jimi "Hendrix" Thomspson, writes:
Only from someone on AOL ;)
On Fri, 15 Dec 2000, martin langhoff wrote:
I have this dangling idea of building a TWIG lookalike (in Perl), with
a 'plug-in'/'module' structure, so I may write the email client, and
others fill with their desired modules.
Is there a reason you don't want to just hack on WING? It's a
I've just released lingerd version 0.92; you can get it at
ftp://iagora.com/pub/software/lingerd/lingerd-0.92.tar.gz
WHAT IS LINGERD?
Lingerd is a daemon that greatly improves Apache's scalability by
taking over the task of lingering on closing sockets. On dynamic
page servers that don't serve
On Fri, 15 Dec 2000, Mike Buglioli wrote:
Do you think it's because they are generating dynamic .vtml pages which could
be causing them some problems ? mlb
i don't knwo what they have done. i doubt that it is either an SSL,
database, or mime-type problem. in my experience, and i've done
martin langhoff wrote:
brian moseley wrote:
(speaking as the author of a proprietary mod_perl
webmail...)
DO IT!!
my fear is that writing it as a mod_perl app, it'd be terribly niche,
and we wouldn't get it rolling. I'd rather write a bunch of modules,
that can be called
Greetings,
I tried using Apache::Reload:
PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/
PerlModule Apache::DBI
[...]
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
PerlSetVar ReloadAll Off
but when I do, the error log gets filled with
"ORACLE_HOME not set!"
Only one module
On Fri, 15 Dec 2000, Perrin Harkins wrote:
Is there a reason you don't want to just hack on WING?
It's a pretty powerful system and it was designed for
mod_perl. Look it up on CPAN.
it's an option, but it's got a large amount of dependencies,
which makes it a tremendous effort for me to
On Fri, 15 Dec 2000, Dave Rolsky wrote: It seems that you are using the word gay to
indicate something bad or not
working correctly. Some people might assume from that that you are a big
asshole. Or you're 12. Or you're a 12 year old asshole. But my personal
guess is you're just an
Thanks for the guys who answered the problem.
:)
now got to get this version installed!
thanks.
Richard.
On Fri Dec 15 11:28:03 2000 -0800 brian moseley wrote:
On Fri, 15 Dec 2000, Perrin Harkins wrote:
Is there a reason you don't want to just hack on WING?
It's a pretty powerful system and it was designed for
mod_perl. Look it up on CPAN.
it's an option, but it's got a large amount
Hi,
I'm working on a modperl site that doesn't presently handle HEAD requests
properly (it returns the entire content). That's definitely a waste
(especially seeing how browsers bang on it with HEAD requests), is not
compliant, and makes telnet debugging a pain.
I know how to detect a HEAD and
At 11:28 15/12/2000 -0800, brian moseley wrote:
On Fri, 15 Dec 2000, Perrin Harkins wrote:
Is there a reason you don't want to just hack on WING?
It's a pretty powerful system and it was designed for
mod_perl. Look it up on CPAN.
it's an option, but it's got a large amount of dependencies,
Perrin Harkins wrote:
Is there a reason you don't want to just hack on WING?
I've seen TWIG and its *very* clever, if ugly. It'll let you
authenticate against a lot of things. Use IMAP or POP. Use News. Use
mysql, Postgres, MySQL, or none. Use cookies or encoded links for state.
It's *very*
On Fri, 15 Dec 2000, Robin Berjon wrote:
Wing has been widely tested in the field iirc, it's
probably a good idea to base anything in that domain on
it.
possibly. groupware applications aren't that complex really,
tho (except for calendaring and scheduling); the main
problem is that they're
On Fri, 15 Dec 2000, martin langhoff wrote:
Perrin Harkins wrote:
Is there a reason you don't want to just hack on WING?
I've seen TWIG and its *very* clever, if ugly. It'll let you
authenticate against a lot of things. Use IMAP or POP. Use News. Use
mysql, Postgres, MySQL, or none.
On Fri, 15 Dec 2000, Robin Berjon wrote:
I'm working on a modperl site that doesn't presently handle HEAD
requests properly (it returns the entire content).
If all the information you need to generate a given page is in the URL,
you can also let mod_proxy cache it and handle the HEAD requests
At 12:16 15/12/2000 -0800, Perrin Harkins wrote:
On Fri, 15 Dec 2000, Robin Berjon wrote:
I'm working on a modperl site that doesn't presently handle HEAD
requests properly (it returns the entire content).
If all the information you need to generate a given page is in the URL,
you can also let
At 12:23 15/12/2000 -0800, brian moseley wrote:
On Fri, 15 Dec 2000, Robin Berjon wrote:
Wing has been widely tested in the field iirc, it's
probably a good idea to base anything in that domain on
it.
possibly. groupware applications aren't that complex really,
tho (except for calendaring
Mark,
If the variable ORACLE_HOME doesn't change why not just set it as an
environment variable outside the program and export it?
Mark Doyle wrote:
Greetings,
I tried using Apache::Reload:
PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/
PerlModule Apache::DBI
[...]
On Friday, December 15, 2000, at 04:01 PM, Jimi Thompson wrote:
If the variable ORACLE_HOME doesn't change why not just set it as an
environment variable outside the program and export it?
PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/
PerlModule Apache::DBI
[...]
PerlModule
Hi
- Original Message -
From: "George Sanderson" [EMAIL PROTECTED]
Sent: Thursday, December 14, 2000 22:47
Subject: RFC: Email (mod_perl) Apache module?
The module would allow the users to read and send email.
Now that would be advocacy;-)
No, that would be spam.
--
\js
Hello,
I know this isn't a list for beginners, but I am one of those folks who would
benefit from the discussion of organization of docs :)
I am on Win2000. When I run a script containing a backtick call, it behaves
differently under mod_perl than when called normally (the backtick code is the
At 04:02 PM 12/15/00 +0100, Stas Bekman wrote:
open STDIN, '/dev/null' or die "Can't read /dev/null: $!";
open STDOUT, '/dev/null'
or die "Can't write to /dev/null: $!";
defined(my $pid = fork) or die "Can't fork: $!";
exit
Leon Brocard wrote:
Jeremy Howard sent the following bits through the ether:
IMHO, the best open source WebMail servers are PHP based:
In Perl, there's also WING: http://users.ox.ac.uk/~mbeattie/wing/ and
my oh-my-god-it's-still-in-development-and-I'm-still-breaking-
Doug Brewer wrote:
I am on Win2000. When I run a script containing a backtick call, it behaves
differently under mod_perl than when called normally (the backtick code is the
same, obviously other parts of the script are different, it's a legitimate
perlHandler, etc).
When called under
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 1:19 PM
To: [EMAIL PROTECTED]
Subject: Warning, Apache Version 1.3.0 required
Ok, i've searched the archives and cannot find help for this
problem there.
I have compiled
I've run into a problem with Apache::Compress in dealing with mod_proxyed
content. The author of Apace::Compress suggested that I post the problem
here.
I'm running apache 1.3.14, mod_perl 1.24_01, Apache::Compress 1.003 on a
RedHat 6.2 linux box.
I get an internal server error when ever I try
On Thursday, December 14, 2000, Homsher, Dave V. wrote the
following about "Advocacy idea ..."
HDV Hi all,
HDV With all of the advocacy talk on the ML right now I've been
HDV mulling around the idea of having a "peer review" forum where one could post
HDV code that you are currently working on
Greetings,
to say "ping doesn't work in all cases" without qualifiying why and/or
which drivers that applies to.
We've had to write our own -ping method for the MySQL DBD driver. Our
developer tried to track down a maintainer for the DBD::msql/mysql module to
submit a diff, but to no avail.
unsuscribe
begin:vcard
n:Girard;Jean-Denis
tel;work:(+689) 48 35 27
x-mozilla-html:FALSE
org:Essential Software
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Directeur associƩ
x-mozilla-cpt:;19808
fn:Jean-DenisGirard
end:vcard
81 matches
Mail list logo