Re: [announce] mod_perl-1.99_01

2002-04-10 Thread Ed Grimm

On Mon, 8 Apr 2002, Stas Bekman wrote:

 Ged Haywood wrote:
 Compilations should be SILENT unless something goes wrong.

 The build process takes time, if you don't give an indication
 of what's going on users will try to do funky things. Since the
 build process is comprised of many small sub-processes you cannot
 really use something like completion bar.

As someone said, redirect the output to a temporary location.  But, add
to that one of those little | bars, which turns one position every time
another build step completes (each file compiled, each dependancy file
built, etc.).  However, in the case of an error, I would want the whole
thing available.  Possibly something along the lines of, the last build
step and all output from then on printed to stdout (or stderr), ended
with, For the full build log, see /tmp/mod_perl.build.3942 or some
such.

 Also remember that mod_perl build prints very little,
 it's the compilation messages that generated most of the output.
 p.s. I don't recall seeing silent build processes at all.

The only ones I've seen went too far the other way.  I especially loved
the one which used a shell script, which started out with a dozen large
shell functions, then an 'exec /dev/null 2/dev/null', then a
half-dozen more large shell functions, and ending with 'main $'.
When the shell script finished, its caller checked its exit code, and
reported 'done.' or 'failed.' as appropriate.  Admittedly, I wouldn't
have minded too much, except that I'd gotten the latter answer.

Ed




how to configure perl with apache server

2002-04-10 Thread rajesh



Hi,

We are facing problems in configuring perl with 
apache.

Could you please mail me how to configure 
it.

We are getting errors like

"Invalid command PerlSetVar" in httpsd.conf 
file.

while starting https server.

Please help me.

Regards,
Rajesh


Re: how to configure perl with apache server

2002-04-10 Thread simran

Hi Rajesh, 

Can you please include more information on how you are tring to
configure it. 

* Did you compile apache yourself? 
* What version of apache are you trying to use? 
* What is the relevant section in the httpd.conf file

At a glimpse, it looks like you might not have compiled mod_perl with
the EVERYTHING=1 option (or at least the relevant option that turns the
PerlSetVar feature on). 

cheers,

simran.


On Wed, 2002-04-10 at 17:40, rajesh wrote:
 Hi,
 
 We are facing problems in configuring perl with apache.
 
 Could you please mail me how to configure it.
 
 We are getting errors like
 
 Invalid command PerlSetVar in httpsd.conf file.
 
 while starting https server.
 
 Please help me.
 
 Regards,
 Rajesh




Re: Unsubscribe me please [KILL THIS THREAD]

2002-04-10 Thread Martin Haase-Thomas

:) giggle...

Perrin Harkins wrote:

 Please kill this thread.  Some people are not good at dealing with
 mailing lists.  At least this guy was polite.

 - Perrin




-- 
   http://www.meome.de
---
Martin Haase-Thomas |   Tel.: 030 43730-558
meOme AG|   Fax.: 030 43730-555
Software Development|   [EMAIL PROTECTED]
---






Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Sreeji K Das

Hi Perrin/Ged,

Thanx for the reply (I hardly get replies for subjects
with restart :-( I guess I'm the only one using
PerlFreshRestart (sic !).

My requirement is to do a neat kill of children and
then do a complete restart. I don't want any existing
connections to be terminated abruptly. Also I want a
complete restart (ie. any modified files should be
loaded - using Apache::Reload/StatINC does a lot of
stat()'s  further each children would get a separate
copy).
Restart was working perfectly until mod_perl-1.19.
After that a lot has changed. Now I have fixed a lot
in mod_perl to get Restart fully working.

Sreeji


 --- Perrin Harkins [EMAIL PROTECTED] wrote:  Ged
Haywood wrote:
  Hi there,
  
  On Tue, 2 Apr 2002, [iso-8859-1] Sreeji K Das
 wrote:
  
  
 I use PerlFreshRestart on to reload my modules.
  
  [snip]
  
 However, here my modules are getting loaded before
 the
 PerlRequire'd is loaded (since %INC is a hash).
 
 First, can some1 suggest a solution for this ?
  
  
  I always stop (with SIGTERM) and start my servers
 rather than using
  restart (SIGUSR1) as I find that there are fewer
 surprises.  I think
  that Perrin will agree.  There are very few
 systems that can't cope
  with a few seconds of downtime.
 
 It's certainly a lot safer, and it won't trash your
 shared memory the 
 way PerlFreshRestart will.
 
 - Perrin
  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



Re: how to configure perl with apache server

2002-04-10 Thread Ged Haywood

Hi there,

On Wed, 10 Apr 2002, rajesh wrote:

 We are facing problems in configuring perl with apache.

Please see the mod_perl Guide at http://perl.apache.org/guide, the
mod_perl cookbook (see http://modperlcookbook.org for details) and the
book we know here as the Eagle book which is in reality called
Writing Apache Modules with Perl and C, ISBN 1-56592-567-X.

Also see the file .../mod_perl-x.xx/SUPPORT for information about what
to tell this List when you have problems.

 We are getting errors like
 
 Invalid command PerlSetVar in httpsd.conf file.

You don't have mod_perl in your server.  mod_perl can either be
compiled in (in which case you can see it if you give the -l switch to
the Apache binary to see what it says is compiled in) or it may be
loaded after you start Apache (this is what we call DSO, in this case
you need at least to have mod_so.c compiled into the server.  Again
you will see this module with the -l switch.)  If mod_perl is not
compiled in you need to configure Apache to load the .so file, to do
that you need AddModule and LoadModule directives in the configuration
file.  It's all in the documentation but it takes time to read it all.
I urge you to do that.

73,
Ged.




alarms

2002-04-10 Thread mire

I wish to know 2 things about mod_perl

1) what happens when you set an alarm for lets say 30 seconds and the request
finishes in 20 ? Since apache child is very likely still alive is mod_perl too ?

2) does apache child die when you issue die; from perl code (mod_perl
ofcourse) ?


-- 


Best regards,

Miroslav Madzarevic, Senior Perl Programmer
[EMAIL PROTECTED]
Mod Perl Development http://www.modperldev.com
Telephone: +381 64 1193 501
jamph 
$_=,,.,,.,,,.,,,.,,,..,,.,,,.,.,,,;
s/\s//gs;tr/,./05/;my(@a,$o,$i)=split//;$_=DATA;tr/~`'^/0-4/;map{$o
.=$a[$i]+$_;$i++}split//;@a=$o=~m!...!g;map{print chr}@a; __DATA__
`~^`~~``^`~`~`^``~`~``''~^'`~^``'``^```~^``'```'~`~



OPEN3

2002-04-10 Thread Vuillemot, Ward W

I resolved some of my other open3 related errors by undef stdin, etc per the
docs.  How stdin or stdout have tow references is beyond me, though.  For
the time being it works, though.

Nonetheless, I have getting the following two (related, I assume) errors.  I
cannot find any docs on these.  Anyone have ideas?

BTW, when running a command from OPEN3 on Win2k, should the absolute path be
UNIX style or DOS style?  E.g. /dir1/dir2/prog.exe or c:\dir1\dir2\prog.exe

Thanks,
Ward


[error] open3: Can't call method close on an undefined value at
C:/Perl/lib/IPC/Open3.pm line 327, _GEN_0 line 154.
[error] [client 127.0.0.1] [libapreq] remove error on
'C:\WINNT\TEMP\apreq15'



Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Perrin Harkins

Sreeji K Das wrote:
 Thanx for the reply (I hardly get replies for subjects
 with restart :-( I guess I'm the only one using
 PerlFreshRestart (sic !).

Hopefully you are the only one!

 My requirement is to do a neat kill of children and
 then do a complete restart. I don't want any existing
 connections to be terminated abruptly.

I've done this in a load-balanced cluster by stopping all traffic to the 
machine I want to restart, allowing current requests to finish, and then 
restarting it.  It would be nice to have a graceful shutdown option 
though.

 Also I want a
 complete restart (ie. any modified files should be
 loaded - using Apache::Reload/StatINC does a lot of
 stat()'s  further each children would get a separate
 copy).

I could be wrong, but I'm pretty sure PerlFreshRestart will not result 
in as much shared memory as an actual restart.  How does your shared 
memory look after a clean restart vs. a PerlFreshRestart?

 Restart was working perfectly until mod_perl-1.19.

Maybe for you.  For many people it resulted in unexplained segfaults and 
closure problems in CPAN modules.  It's just not a very safe thing to do.

 After that a lot has changed. Now I have fixed a lot
 in mod_perl to get Restart fully working.

You can send your patches to the dev list.  However, most effort is 
focused on getting mod_perl 2 out right now.

- Perrin




Re: alarms

2002-04-10 Thread Perrin Harkins

mire wrote:
 1) what happens when you set an alarm for lets say 30 seconds and the request
 finishes in 20 ?

You are supposed to unset the alarm if the event you were timing 
finishes before it goes off.

 2) does apache child die when you issue die; from perl code (mod_perl
 ofcourse) ?

No, only when you call exit or child_terminate().

- Perrin







RE: Content management systems

2002-04-10 Thread OCNS Consulting

Looks good - if you're in San Diego.

RB

-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 12:23 PM
To: Matthew Watson
Cc: [EMAIL PROTECTED]
Subject: Re: Content management systems


Matthew Watson wrote:
  I was wondering if there are any content management systems around for
 modperl , i'm after a similar kind of thing
 as postnuke for php. I'd much rather something 'out of the box' as I don't
 have time to develop a system from scratch mysql.

It looks Robin Berjon is going to give an overview of CMS for mod_perl
at OSCON:

http://conferences.oreillynet.com/cs/os2002/view/e_sess/2667

I know I'll be there.

- Perrin




Re: alarms

2002-04-10 Thread Stas Bekman

mire wrote:
 I wish to know 2 things about mod_perl
 
 1) what happens when you set an alarm for lets say 30 seconds and the request
 finishes in 20 ? Since apache child is very likely still alive is mod_perl too ?

You don't set alarm around the request, do you? You set the alarm for a 
certain code snippet and you reset it to 0 when it's done before the 
alarm went off. For runaway process control, see Apache::Watchdog::RunAway

 2) does apache child die when you issue die; from perl code (mod_perl
 ofcourse) ?

It does not, see:
http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/guide/porting.html#die___and_mod_perl


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




OT: Status Page

2002-04-10 Thread Rasoul Hajikhani

Folks, 
please excuse this off topic thread, but I thought since a lot of you
work in creating a informative user experience, some of you may be able
to help me. I am trying to create a status page, the kind that shows a
horizental status bar that looks to work in real time and changes as
events happen behind the scenes. EToys had it when confirming a cc sale,
or expedia has one during the search. Can some one direct me as where
would I find info in creating one of those pages. are those applets? 
Again, accept my sincere, humble, unreserved, and advance appology.
Thanks in advance
-r



Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Fran Fabrizio


 Thanx for the reply (I hardly get replies for subjects
 with restart :-( I guess I'm the only one using
 PerlFreshRestart (sic !).
 
 
 Hopefully you are the only one!

Pardon my newbie-ness, but can someone explain the perils of 
PerlFreshRestart in a bit more depth?  I hadn't heard of it being 
dangerous until now.

Thanks,
Fran




Re: OT: Status Page

2002-04-10 Thread Nigel Hamilton

Hi Rasoul,

We display a status bar while processing credit card transactions
at Turbo10 (http://turbo10.com).

The Bank takes 1-5 seconds to respond so in the meantime we show
an animated status bar GIF in a pop-up box - when the page is 'onunLoaded'
(Javascript event) the progress bar pop-up is closed.

A pop-up is useful in this situation because keyboard/mouse focus
is taken away from the credit card processing screen which reduces the
likelihood of the user pressing submit twice.

Regards,


Nigel

Nigel Hamilton
Turbo10 Metasearch Engine

email:  [EMAIL PROTECTED]
tel:+44 (0) 207 987 5460
fax:+44 (0) 207 987 5468

http://turbo10.com  Search Deeper. Browse Faster.


 Folks,
 please excuse this off topic thread, but I thought since a lot of you
 work in creating a informative user experience, some of you may be able
 to help me. I am trying to create a status page, the kind that shows a
 horizental status bar that looks to work in real time and changes as
 events happen behind the scenes. EToys had it when confirming a cc sale,
 or expedia has one during the search. Can some one direct me as where
 would I find info in creating one of those pages. are those applets?
 Again, accept my sincere, humble, unreserved, and advance appology.
 Thanks in advance
 -r


-- 




Re: OT: Status Page

2002-04-10 Thread Issac Goldstand

I sometimes use pages with a text INPUT field and javascript to upate it 
to display status.  I'm also planning on releasing a more complex 
version of that that uses a seperate thread under Apache 2, based on the 
IPC methods I use for Apache::UploadMeter...
  Issac

Rasoul Hajikhani wrote:

Folks, 
please excuse this off topic thread, but I thought since a lot of you
work in creating a informative user experience, some of you may be able
to help me. I am trying to create a status page, the kind that shows a
horizental status bar that looks to work in real time and changes as
events happen behind the scenes. EToys had it when confirming a cc sale,
or expedia has one during the search. Can some one direct me as where
would I find info in creating one of those pages. are those applets? 
Again, accept my sincere, humble, unreserved, and advance appology.
Thanks in advance
-r







Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Geoffrey Young

Fran Fabrizio wrote:
 
  Thanx for the reply (I hardly get replies for subjects
  with restart :-( I guess I'm the only one using
  PerlFreshRestart (sic !).
 
 
  Hopefully you are the only one!
 
 Pardon my newbie-ness, but can someone explain the perils of
 PerlFreshRestart in a bit more depth?  I hadn't heard of it being
 dangerous until now.

http://perl.apache.org/guide/troubleshooting.html#Evil_things_might_happen_when_us

is a good place to start, and searching the archives will yield a bit more, but 
Perrin's
description in the previous post pretty much sums it up.

HTH

--Geoff



Apache::File

2002-04-10 Thread Rasoul Hajikhani

Folks,
The Apache::File man pages indicate that 

($name,$fh) = Apache::File-tmpfile;

returns a fh ready to write to. So far so good. 

In case of wanting to read from it, here is what I do:

# Is this necessary?
$fh-close() or die Could not close $name: $!\n;

$opfh-open($name);
local $/= undef;
$output = $opfh;
warn $output\n; 
$opfh-close() or die Could not close $name: $!\n;

But $output is empty on each request. Is there an error somewhere that I
am not seeing? I appreciate all comments.responses.
Thanks in advance
-r



Apache::File correction

2002-04-10 Thread Rasoul Hajikhani

Folks,
The Apache::File man pages indicate that 

($name,$fh) = Apache::File-tmpfile;

returns a fh ready to write to. So far so good. 

In case of wanting to read from it, here is what I do:

# Is this necessary?
$fh-close() or die Could not close $name: $!\n;

$fh-open($name);
local $/= undef;
$output = $fh;
warn $output\n; 
$fh-close() or die Could not close $name: $!\n;

But $output is empty on each request. Is there an error somewhere that I
am not seeing? I appreciate all comments.responses.
Thanks in advance
-r



Re: Zero response, proxy error

2002-04-10 Thread ___cliff rayman___

 BTW We wanted to use same apache for testing beta site along with the live
 one. The perl modules used have the same name but are for different virt.
 hosts, have different locations and different content and the
 errors (getting content from beta modules when asking for live site) are
 probably because of that.

 We'll try putting two apache binaries to be able to
 test it.

yes.  this is a well documented feature of mod_perl.  it is a feature in most
circumstances, except for the times you want it not to work that way.  ;-)

you can use the same object code with a separate config file ( just change
the listen/port directives, and any directories if necessary ).  this second
instance will have its own perl interpreter and namespace.  start like:
httpd -c httpd_beta.conf

--
___cliff [EMAIL PROTECTED]http://www.genwax.com/





Apache::Session suggested mod

2002-04-10 Thread Vuillemot, Ward W

Has anyone ever thought to have the table name modifiable?  E.g. instead of
'sessions', you could set it to something like 'preferences' for a given
instance.  I wanted to maintain session information, but also preferences
that are attached to a given username.  I could just put the two within the
same table. . .but as I am anal, I would rather see the data separated.

I was thinking of doing it myself -- but thought it might be a worthwhile
mod for the entire community.  And it saves me maintaining two sets of
nearly identical code...and of course, there might be good reasons NOT to do
this.

Ideas?  Thoughts?

Cheers,
Ward



Re: Apache::Session suggested mod

2002-04-10 Thread James G Smith

Vuillemot, Ward W [EMAIL PROTECTED] wrote:
Has anyone ever thought to have the table name modifiable?  E.g. instead of
'sessions', you could set it to something like 'preferences' for a given
instance.  I wanted to maintain session information, but also preferences
that are attached to a given username.  I could just put the two within the
same table. . .but as I am anal, I would rather see the data separated.

I was thinking of doing it myself -- but thought it might be a worthwhile
mod for the entire community.  And it saves me maintaining two sets of
nearly identical code...and of course, there might be good reasons NOT to do
this.

Ideas?  Thoughts?

I would love to see this, but am not sure how it would be implemented
(don't want to design something without the author's input).

I'm wanting to use it to track sessions and contexts -- sessions can
own multiple contexts and contexts can pass from session to session.
Basically break identity apart from process.  Apache::Session would
be ideal for both since the storage mechanisms are identical.
Unfortunately, the table name is hard-coded.
-- 
James Smith [EMAIL PROTECTED], 979-862-3725
Texas AM CIS Operating Systems Group, Unix



Re: Apache::File correction

2002-04-10 Thread Robert Landrum

At 1:44 PM -0700 4/10/02, Rasoul Hajikhani wrote:
Folks,
The Apache::File man pages indicate that

($name,$fh) = Apache::File-tmpfile;

returns a fh ready to write to. So far so good.

In case of wanting to read from it, here is what I do:

# Is this necessary?
$fh-close() or die Could not close $name: $!\n;

$fh-open($name);
local $/= undef;
$output = $fh;
warn $output\n;
$fh-close() or die Could not close $name: $!\n;


To me it appears that you have not written anything to your tmp 
file... Which would explain the empty $output.

Usually temp file creators open in read/write mode.

So if you say something like

($name,$fh) = Apache::File-tmpfile;

print $fh Hello World;

seek($fh,0,0);

my $line = $fh;

print $line;

It should print Hello World;

Rob



--
When I used a Mac, they laughed because I had no command prompt. When 
I used Linux, they laughed because I had no GUI.  



Re: Apache::File correction

2002-04-10 Thread Rasoul Hajikhani

Robert Landrum wrote:
 
 At 1:44 PM -0700 4/10/02, Rasoul Hajikhani wrote:
 Folks,
 The Apache::File man pages indicate that
 
 ($name,$fh) = Apache::File-tmpfile;
 
 returns a fh ready to write to. So far so good.
 
 In case of wanting to read from it, here is what I do:
 
 # Is this necessary?
 $fh-close() or die Could not close $name: $!\n;
 
 $fh-open($name);
 local $/= undef;
 $output = $fh;
 warn $output\n;
 $fh-close() or die Could not close $name: $!\n;
 
 To me it appears that you have not written anything to your tmp
 file... Which would explain the empty $output.


gpg writes to that file.
 
 Usually temp file creators open in read/write mode.
 
 So if you say something like
 
 ($name,$fh) = Apache::File-tmpfile;
 
 print $fh Hello World;
 
 seek($fh,0,0);
 
 my $line = $fh;
 
 print $line;
 
 It should print Hello World;
 
 Rob
 
 --
 When I used a Mac, they laughed because I had no command prompt. When
 I used Linux, they laughed because I had no GUI.



Re: Apache::Session suggested mod

2002-04-10 Thread siberian

I once did a one-off mod of Apache::Session to do just 
this but eventually gave up and just changed my table 
names. It was to hard to keep in sync with new releases of 
Apache::Session and I don't have enough faith in my 
ability to send a real patch :)

So I think its a natural path. When you create your 
session object send it some args for its table name as 
well as field names, that would give a lot of flexiblity 
as well as allowing apache::session to morph into existing 
data structures.

John-

On Wed, 10 Apr 2002 14:00:44 -0700
  Vuillemot, Ward W [EMAIL PROTECTED] wrote:
Has anyone ever thought to have the table name 
modifiable?  E.g. instead of
'sessions', you could set it to something like 
'preferences' for a given
instance.  I wanted to maintain session information, but 
also preferences
that are attached to a given username.  I could just put 
the two within the
same table. . .but as I am anal, I would rather see the 
data separated.

I was thinking of doing it myself -- but thought it might 
be a worthwhile
mod for the entire community.  And it saves me 
maintaining two sets of
nearly identical code...and of course, there might be 
good reasons NOT to do
this.

Ideas?  Thoughts?

Cheers,
Ward




Re: Content management systems

2002-04-10 Thread Colin Kuskie

On Tue, Apr 09, 2002 at 04:42:31PM +0200, Maarten Stolte wrote:
 
  Anybody know of something in mod_perl with this out of the box
  functionality in addition to content management?
  
  Metadot bills itself as a portal product. I've even installed it briefly in 
  the past, and it seemed relatively easy to setup  customize. 
  http://www.metadot.com/ The developer site is at http://www.metadot.net/.
  
 wow...this looks great, anybody actually use it?

It's nice, but it lacks the massive power of Bricolage for it's news
channels.  But Metadot is extensible so it should be possible to weld
the two together and make the best of both worlds.  Best of all would
be to marry them both with AxKit.

Colin



mod_perl 1.99 (for Apache 2.0.35) building on W2K

2002-04-10 Thread Chuck Goehring



To all,

I'm attempting to build newest versions of 
Apache/perl/mod_perl for WIN/2000. All went well until building 
mod_perl. There is lots of detail furtur down. To summarize, at the end of the make (using nmake) there are 
21 of these apr_bucket errors and then it dies with fatal errors like 
below.

I suspect this might be some sort of #define issue 
related to windows.

Thanks for the input.

Chuck Goehring

= The short versionmodperl_filter.c(216) : 
error C2039: 'link' : is not a member of 
'apr_bucket' 
e:\apache2/include\apr_buckets.h(233) : see declaration of 'apr_bucket'NMAKE 
: fatal error U1077: 'cl' : return code '0x2'Stop.NMAKE : fatal error 
U1077: 'cd' : return code '0x2'Stop.

= From the MS online help for nmake.exe:NMAKE Fatal Error 
U1077'program' : return code 'value'

The given command or program called by NMAKE failed and returned the given 
exit code.

To suppress this error and continue the NMAKE session, use the /I option, 
the .IGNORE dot directive, or the dash (-) command modifier. To continue the 
NMAKE session for unrelated parts of the dependency tree, use the /K 
option.

= VERSIONSPerl 5.6.1Apache 2.0.35mod_perl 1.99_01

Visual C++ 6.0 SP 5nmake Version 6.00.8168.0Win 2000 sp2

Perl built fineApache built fine

mod_perl dies on the 13th file being compiled

perl Makefile.PL MP_AP_PREFIX=e:\apache2

... snip...

rmdir WrapXS/APR/Bucketunlink WrapXS/APR/Date/Date.pmunlink 
WrapXS/APR/Date/Date.xsunlink WrapXS/APR/Date/Makefileunlink 
WrapXS/APR/Date/Makefile.PLrmdir WrapXS/APR/Dateunlink 
WrapXS/APR/Lock/Lock.pmunlink WrapXS/APR/Lock/Lock.xsunlink 
WrapXS/APR/Lock/Makefileunlink WrapXS/APR/Lock/Makefile.PLrmdir 
WrapXS/APR/Lockunlink WrapXS/APR/Makefileunlink 
WrapXS/APR/Makefile.PLunlink WrapXS/APR/NetLib/Makefileunlink 
WrapXS/APR/NetLib/Makefile.PLunlink WrapXS/APR/NetLib/NetLib.pmunlink 
WrapXS/APR/NetLib/NetLib.xsrmdir WrapXS/APR/NetLibunlink 
WrapXS/APR/Pool/Makefileunlink WrapXS/APR/Pool/Makefile.PLunlink 
WrapXS/APR/Pool/Pool.pmunlink WrapXS/APR/Pool/Pool.xsrmdir 
WrapXS/APR/Poolunlink WrapXS/APR/Socket/Makefileunlink 
WrapXS/APR/Socket/Makefile.PLunlink WrapXS/APR/Socket/Socket.pmunlink 
WrapXS/APR/Socket/Socket.xsrmdir WrapXS/APR/Socketunlink 
WrapXS/APR/String/Makefileunlink WrapXS/APR/String/Makefile.PLunlink 
WrapXS/APR/String/String.pmunlink WrapXS/APR/String/String.xsrmdir 
WrapXS/APR/Stringunlink WrapXS/APR/Table/Makefileunlink 
WrapXS/APR/Table/Makefile.PLunlink WrapXS/APR/Table/Table.pmunlink 
WrapXS/APR/Table/Table.xsrmdir WrapXS/APR/Tableunlink 
WrapXS/APR/URI/Makefileunlink WrapXS/APR/URI/Makefile.PLunlink 
WrapXS/APR/URI/URI.pmunlink WrapXS/APR/URI/URI.xsrmdir 
WrapXS/APR/URIunlink WrapXS/APR/Util/Makefileunlink 
WrapXS/APR/Util/Makefile.PLunlink WrapXS/APR/Util/Util.pmunlink 
WrapXS/APR/Util/Util.xsrmdir WrapXS/APR/Utilunlink 
WrapXS/APR/UUID/Makefileunlink WrapXS/APR/UUID/Makefile.PLunlink 
WrapXS/APR/UUID/UUID.pmunlink WrapXS/APR/UUID/UUID.xsrmdir 
WrapXS/APR/UUIDrmdir WrapXS/APRunlink WrapXS/Makefileunlink 
WrapXS/Makefile.PLunlink WrapXS/ModPerl/Global/Global.pmunlink 
WrapXS/ModPerl/Global/Global.xsunlink 
WrapXS/ModPerl/Global/Makefileunlink 
WrapXS/ModPerl/Global/Makefile.PLrmdir WrapXS/ModPerl/Globalunlink 
WrapXS/ModPerl/Makefileunlink WrapXS/ModPerl/Makefile.PLunlink 
WrapXS/ModPerl/Util/Makefileunlink WrapXS/ModPerl/Util/Makefile.PLunlink 
WrapXS/ModPerl/Util/Util.pmunlink WrapXS/ModPerl/Util/Util.xsrmdir 
WrapXS/ModPerl/Utilrmdir WrapXS/ModPerlunlink WrapXS/typemaprmdir 
WrapXSmkdir WrapXSwriting...WrapXS\Makefile.PLmkdir 
WrapXS/Apachewriting...WrapXS\Apache\Makefile.PLmkdir 
WrapXS/APRwriting...WrapXS\APR\Makefile.PLmkdir 
WrapXS/ModPerlwriting...WrapXS\ModPerl\Makefile.PLwriting...WrapXS\typemapmkdir 
WrapXS\Apache\SubProcesswriting...WrapXS\Apache\SubProcess\Makefile.PLwriting...WrapXS\Apache\SubProcess\SubProcess.xswriting...WrapXS\Apache\SubProcess\SubProcess.pmmkdir 
WrapXS\APR\UUIDwriting...WrapXS\APR\UUID\Makefile.PLwriting...WrapXS\APR\UUID\UUID.xswriting...WrapXS\APR\UUID\UUID.pmmkdir 
WrapXS\APR\NetLibwriting...WrapXS\APR\NetLib\Makefile.PLwriting...WrapXS\APR\NetLib\NetLib.xswriting...WrapXS\APR\NetLib\NetLib.pmmkdir 
WrapXS\Apache\RequestRecwriting...WrapXS\Apache\RequestRec\Makefile.PLwriting...WrapXS\Apache\RequestRec\RequestRec.xswriting...WrapXS\Apache\RequestRec\RequestRec.pmmkdir 
WrapXS\ModPerl\Globalwriting...WrapXS\ModPerl\Global\Makefile.PLwriting...WrapXS\ModPerl\Global\Global.xswriting...WrapXS\ModPerl\Global\Global.pmmkdir 
WrapXS\Apache\Serverwriting...WrapXS\Apache\Server\Makefile.PLwriting...WrapXS\Apache\Server\Server.xswriting...WrapXS\Apache\Server\Server.pmmkdir 
WrapXS\Apache\CmdParmswriting...WrapXS\Apache\CmdParms\Makefile.PLwriting...WrapXS\Apache\CmdParms\CmdParms.xswriting...WrapXS\Apache\CmdParms\CmdParms.pmmkdir 
WrapXS\APR\Lockwriting...WrapXS\APR\Lock\Makefile.PLwriting...WrapXS\APR\Lock\Lock.xswriting...WrapXS\APR\Lock\Lock.pmmkdir 

RE: Content management systems

2002-04-10 Thread Wim Kerkhoff

I hear you... I wish there were more conferences in Vancouver BC, or even
Seattle. Unless I just don't here about them...

On 10-Apr-2002 OCNS Consulting wrote:
 Looks good - if you're in San Diego.
 
 RB
 
 -Original Message-
 From: Perrin Harkins [mailto:[EMAIL PROTECTED]]

 It looks Robin Berjon is going to give an overview of CMS for mod_perl
 at OSCON:
 
 http://conferences.oreillynet.com/cs/os2002/view/e_sess/2667
 
 I know I'll be there.
 
 - Perrin


Regards,

Wim Kerkhoff  -|-  www.nyetwork.org  -|-  [EMAIL PROTECTED]



Apache-server in modperl2

2002-04-10 Thread pascal barbedor



Hi

I have installed apache 2.0.35 and modperl2 ppd 
from theoryx5 repository
I am under win2k

I am trying to move my modules under 
modperl2

I am running into a first problem

I used to use 
Apache-server-dir_config('some') but this does not work 
anymore

does anyone know the replacement ?

here is my httpd.conf

perlrequire startup.pl


and in startup.pl

use Apache2;
use ... a bunch of modules. 
in modperl1 I had use Apache () ; but it is not 
found anymore 

thanks
pascal













Re: Apache-server in modperl2

2002-04-10 Thread Stas Bekman

pascal barbedor wrote:
 Hi
 
  
 
 I have installed apache 2.0.35 and modperl2 ppd from theoryx5 repository
 
 I am under win2k
 
  
 
 I am trying to move my modules under modperl2
 
  
 
 I am running into a first problem
 
  
 
 I used to use Apache-server-dir_config('some') but this does not work 
 anymore

while most of the new docs aren't available yet, the majority of things 
didn't change. If something is not working the tests in t/ will answer 
most of your questions since they exercise all the 2.0 features. In you 
case, this is:

  t/response/TestModperl/dir_config.pm

you need to load:

Apache::ServerUtil to get the dir_config() method for $s
Apache::RequestUtil for $r. In the test above they aren't loaded, since 
they are preloaded at t/conf/modperl_extra.pl, I guess we should put 
them in for the sake of good examples.

the dir_config interface still works as in 1.x (+ was extended).

Actually dir_config is already documented. See:
http://perl.apache.org/preview/modperl-docs/dst_html/docs/2.0/api/mod_perl-2.0/Apache/ServerUtil.html#METHODS

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Re: alarms

2002-04-10 Thread Damyan Ivanov

On Thu, Apr 11, 2002 at 12:30:53AM +0800 Stas Bekman wrote:
 mire wrote:
 I wish to know 2 things about mod_perl
 
 1) what happens when you set an alarm for lets say 30 seconds and the 
 request
 finishes in 20 ? Since apache child is very likely still alive is mod_perl 
 too ?
 
 You don't set alarm around the request, do you? You set the alarm for a 
 certain code snippet and you reset it to 0 when it's done before the 
 alarm went off. For runaway process control, see Apache::Watchdog::RunAway

OK, but I am really curious. What really happens if I intentionally set
the alarm to ring after the request has finished? For example if I want
something to hapen if apache child is idle for more than 15 minutes.


-- 
Damyan