Apache::VMonitor not showing requests (might be Apache::Scoreboard problem)

2002-04-04 Thread Jon Molin
Hi list, I've got some problems with getting Apache::VMonitor showing the requests, everything but client ip and requests shows. when i call server/scoreboard do i get a file, and 'strings scoreboard|grep -A 1 myip' shows my ip and request (can't find the pid though) so the info should be

Apache modperl on OS/2 - realistic ?

2002-04-04 Thread Rod Butcher
Is Apache modperl on OS/2 a realistic proposition ? Could anybody point me to any literature ? thanks. Rod === Corporate confidentiality statement goes here.

Re: PDF generation

2002-04-04 Thread Perrin Harkins
Mike808 wrote: Don't know if you can run a JServ+mod_perl or JPerl hybrid, though. You can, but it would be the biggest memory hog every created, since it would be running a JVM in addition to the Perl interpreters. - Perrin

Re: PDF generation

2002-04-04 Thread Graham TerMarsch
On April 3, 2002 12:43 pm, Bill McCabe wrote: I have a large number of mod_perl modules that connect to various databases and generate workflow performance reports for my organization. I give the users 3 output options: HTML, Excel (Spreadsheet::WriteExcel), and PDF. For PDF output I've been

Re: Apache::VMonitor not showing requests (might be Apache::Scoreboard problem)

2002-04-04 Thread Bill Marrs
Maybe adding this to your httpd.conf will help: ExtendedStatus On ?

RE: PDF generation

2002-04-04 Thread Wilson, Allen
In reference to PDF::Create... Has anyone found any good documentation behind the module... I would like to print the results of a query to PDF and I not exactly sure whether I can use an array or a concatenate the results in a string. Allen -Original Message- From: Perrin Harkins

Open3

2002-04-04 Thread Rasoul Hajikhani
Folks, I have asked this question before, and received answers that have helped me in quest. However, my problem persists. So I would like to direct this question to those who have used gpg, and open3. I am having trouble writing to stdin when an apache thread calls open3. However, the same code

RE: PDF generation

2002-04-04 Thread Bill McCabe
On 4/4/02 at 1:07 PM, [EMAIL PROTECTED] (Wilson, Allen) wrote: In reference to PDF::Create... Has anyone found any good documentation behind the module... I would like to print the results of a query to PDF and I not exactly sure whether I can use an array or a concatenate the results in

Problem with DBM concurrent access

2002-04-04 Thread Franck PORCHER
Hi there, I have a quick and possibly trivial question that has bothered me for quite a while. I'm using a DBM as a repository. The DBM is constantly written to by only one process (the 'writer') that opens it RW. At the same time, many process (the 'reader') access it *read only*. I

Re: Problem with DBM concurrent access

2002-04-04 Thread Perrin Harkins
Franck PORCHER wrote: So my question narrows down to : How to flush on disk the cache of a tied DBM (DB_File) structure in a way that any concurrent process accessing it in *read only* mode would automatically get the new values as soon as they are published (synchronisation) You have to

RE: Problem with DBM concurrent access

2002-04-04 Thread Rob Bloodgood
So my question narrows down to : How to flush on disk the cache of a tied DBM (DB_File) structure in a way that any concurrent process accessing it in *read only* mode would automatically get the new values as soon as they are published (synchronisation) Isn't that just as simple as

Access right on files from CGI script

2002-04-04 Thread bo
Hellogurus,I am notivice on Apache configuration.I wrote a CGI program, which will displaysome system status on the client PC's browser window.This CGI program will execute a couple of system commandunder /sbin with reading some system status from /proc.I have no problem to access or

Re: Problem with DBM concurrent access

2002-04-04 Thread Stas Bekman
Rob Bloodgood wrote: So my question narrows down to : How to flush on disk the cache of a tied DBM (DB_File) structure in a way that any concurrent process accessing it in *read only* mode would automatically get the new values as soon as they are published (synchronisation) Isn't that just

Re: [mod_perl] Restarting after a module changes when you're not able to restart

2002-04-04 Thread Carolyn Hicks
Hi Elizabeth, Apache::Reload or Apache::StatINC can reload modules for you without needing to restart the server. Your provider would need to have one of these installed and set up in the httpd.conf. If you get a choice in which one you use, Apache::Reload is much more configurable so you have

Re: Problem with DBM concurrent access

2002-04-04 Thread Joshua Chamas
Stas Bekman wrote: tied(%dbm_array)-sync(); I believe that's not enough, because the reader may read data during the write, resulting in corrupted data read. You have to add locking. see the DBM chapter in the guide. You might add MLDBM::Sync to the docs, which easily adds locking to

Re: Problem with DBM concurrent access

2002-04-04 Thread Perrin Harkins
Isn't that just as simple as tied(%dbm_array)-sync(); I believe that's not enough, because the reader may read data during the write, resulting in corrupted data read. Not only that, there's also the issue with at least some dbm implementations that they cache part of the file in memory

Re: Access right on files from CGI script

2002-04-04 Thread Kee Hinckley
At 5:39 PM -0800 4/4/02, bo wrote: How do I allow those files accessible from the CGI script? The problem has nothing to do with Apache. The user that the Apache process is running as does not have access to those files. You need to either open up the permissions on /sbin to more users

[mod_perl] Restarting after a module changes when you're not able to restart

2002-04-04 Thread Elizabeth Barham
Hi, I have been writing scripts on a local machine. I noticed that mod_perl can tell when I change a CGI script, but if that script accesses a module or module that changes, it often times does not notice this. So, when I update the module files I restart apache. This has worked fine for my

Re: Access right on files from CGI script

2002-04-04 Thread simran
or of course, you could use the 'group's feature and put the user apache runs as in the right groups and give that group the permissions to run the files you want in /sbin... On Fri, 2002-04-05 at 14:12, Kee Hinckley wrote: At 5:39 PM -0800 4/4/02, bo wrote: How do I allow those files