Porting Apache::File to modperl2

2003-12-05 Thread Markus Reinhardt
Hi there, I try to change the following line to modperl2: my $fh = Apache::File->new($r->filename) || return DECLINED; The documentation tells me that Apache::File has been removed for modperl2. Implementing Apache::Porting module says to replace Apache::File: mod_perl 2.0 API doesn't include pa

Re: Porting Apache::File to modperl2

2003-12-05 Thread Geoffrey Young
Markus Reinhardt wrote: > > Hi there, > > I try to change the following line to modperl2: > > my $fh = Apache::File->new($r->filename) || return DECLINED; > But unfortunately I don't know in what manner I have to change > the above line for Apache::File with the new modules. > > Could someon

mod_perl + perl/tk

2003-12-05 Thread Levon Barker
Hello, Can anyone point me to a reference on delivering a GUI to the browser with a mod_perl server. Perhaps with perl/tk. Can this be done? Has anyone done it? How would it work with mod_perl? Cheers, Levon Barker -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.a

RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Phil Rhoades
Hi people, For reasons unrelated to modperl I decided to remove the perl rpms and build perl from src . . so now I want to build modperl from src but in the INSTALL doc it says: "Simple install: % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs" but apxs does not exist - does that mean

Re: RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Ged Haywood
Hi there, On Sat, 6 Dec 2003, Phil Rhoades wrote: > % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs" > > but apxs does not exist - does that mean I have to remove the apache > rpm and build apache from src as well? Yes. If for no other reason than that you should ensure that Apache an

Re: mod_perl + perl/tk

2003-12-05 Thread Ged Haywood
Hi there, On Fri, 5 Dec 2003, Levon Barker wrote: > Can anyone point me to a reference on delivering a GUI to the browser with a > mod_perl server. I don't understand your question at all. Most browsers thesedays present a graphical user interface. Would you please explain in more detail? 73,

RE: mod_perl + perl/tk

2003-12-05 Thread Levon Barker
> Hi there, Hey. > On Fri, 5 Dec 2003, Levon Barker wrote: > > > Can anyone point me to a reference on delivering a GUI to the > browser with a > > mod_perl server. > > I don't understand your question at all. Most browsers thesedays present > a graphical user interface. Would you please explai

Re: mod_perl + perl/tk

2003-12-05 Thread Chris Winters
Levon Barker wrote: Sorry, if I wasn't clear. Thinking more of an applet type application within the browser window. Just thinking it would be nice to be able to deliver an applet of some type, instead of HTML, which then talks back to my mod_perl server. Maybe Java is the best solution, but I don'

Re: help, $apr->param hangs

2003-12-05 Thread Aleksandr Guidrevitch
Stas Bekman wrote: As I've already said - if the server times out (in the example above) at least once - it still continue serving requests. But when I press ctrl-c to stop the server - it stops with segmentation fault, that means segmentation fault occurs only when the server get a ctrl-c (sig

Jumping out of Apache/mod_perl..

2003-12-05 Thread Jim Morrison [Mailing-Lists]
Hello, Not sure if this isn't slightly OT, but wonder if someone can help.. I have a piece of one of my mod_perl apps that potentially takes quite a while to complete. What I would like to do is to get Apache/mod_perl to start a second process which would do the work, return a page to the user,

Re: help, problems on migrating to mod_perl

2003-12-05 Thread petersm
Sounds like some of those problems are related to your config file. Please post the relavant sections of your http.conf file. Michael Venzia -- Original Message --- From: "SRef" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Fri, 5 Dec 2003 11:48:24 -0800 Subject: help, problems

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Ken Corey
> On Fri, 2003-12-05 at 15:09, Jim Morrison [Mailing-Lists] wrote: > > I have a piece of one of my mod_perl apps that potentially takes quite a > > while to complete. What I would like to do is to get Apache/mod_perl to > > start a second process which would do the work, return a page to the > >

Re: RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Phil Rhoades
Ged, On Sat, 6 Dec 2003, Phil Rhoades wrote: > % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs" > > but apxs does not exist - does that mean I have to remove the > apache rpm and build apache from src as well? Yes. If for no other reason than that you should ensure that Apache and mod_p

Out of memory, please help,

2003-12-05 Thread Marwan Sultan
Hello there! Im on FreeBSD 4.8-R mod_perl-1.27_1 and apache_fp-1.3.27 Openwebmail is my webmail system: Suddenly the openwebmail site stopped!! and says "cannot display" When i chkd the log file for webmail I found the following errors! suidperl in free(): warning: recursive call suidperl in free(

Re: RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Ged Haywood
Hello again Phil, On Sat, 6 Dec 2003, Phil Rhoades wrote: > modperl_perl.c:226: `PL_rehash_seed' undeclared (first use in this function) I think this is probably because you're using Perl 5.9.0 - if you look at the bottom of src/modules/perl/modperl_perl.c you'll see a conditional which talks ab

Re: RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Rafael Garcia-Suarez
Ged Haywood wrote: > > Hello again Phil, > > On Sat, 6 Dec 2003, Phil Rhoades wrote: > > > modperl_perl.c:226: `PL_rehash_seed' undeclared (first use in this function) > > I think this is probably because you're using Perl 5.9.0 - if you look > at the bottom of src/modules/perl/modperl_perl.c yo

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Christian Wetzig
Jim Morrison [Mailing-Lists] wrote: I have a piece of one of my mod_perl apps that potentially takes quite a while to complete. What I would like to do is to get Apache/mod_perl to start a second process which would do the work, return a page to the user, and get on with the next thing.. I just d

Re: Out of memory, please help,

2003-12-05 Thread Ken Y. Clark
On Fri, Dec 05, 2003 at 04:33:07PM +, Marwan Sultan wrote: > > Hello there! > > Im on FreeBSD 4.8-R > mod_perl-1.27_1 and apache_fp-1.3.27 > Openwebmail is my webmail system: > > Suddenly the openwebmail site stopped!! > and says "cannot display" > When i chkd the log file for webmail > I fo

Re: Out of memory, please help,

2003-12-05 Thread Ged Haywood
Hello, On Fri, 5 Dec 2003, Marwan Sultan wrote: > Im on FreeBSD 4.8-R mod_perl-1.27_1 and apache_fp-1.3.27 > [snip] > Suddenly the openwebmail site stopped!! > [snip] > suidperl in free(): warning: recursive call > suidperl in free(): warning: recursive call > suidperl in free(): warning: recursi

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Larry Leszczynski
On Fri, 5 Dec 2003, Jim Morrison [Mailing-Lists] wrote: > I have a piece of one of my mod_perl apps that potentially takes quite a > while to complete. What I would like to do is to get Apache/mod_perl to > start a second process which would do the work, return a page to the > user, and get on wi

Help! PerlPreConnectionHandler not called

2003-12-05 Thread Weixian Shen
I wrote a simple handler that for preconnection phase. But it wasn't called. I used PerlPreConnectionHandler directive in perl.conf which is included by httpd.conf. I made intentional syntax error in the module, restart apache, but no error log, everything works as before. If I were to add the same

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Cees Hek
Jim Morrison [Mailing-Lists] wrote: Hello, Not sure if this isn't slightly OT, but wonder if someone can help.. It seems on topic to me... I have a piece of one of my mod_perl apps that potentially takes quite a while to complete. What I would like to do is to get Apache/mod_perl to start a seco

Apache::AuthenNTLM-2.04 - missing NTLM header info

2003-12-05 Thread Harris, Jason (DIS)
Hello all, I am running Apache 1.3.28 Perl 5.8 mod_perl 1.29 Apache::AuthenNTLM-2.04 Solaris 2.9 Client: Windows 2000 Professional, IE 6.0.2800.1106 DC: Windows 2003 Server, AD Each time I try the directory, I get the following in the errorlog [20896] AuthenNTLM: Config Domain = dis pdc =

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Charles C. Fu
In <[EMAIL PROTECTED]> on 05 Dec 2003, Cees Hek <[EMAIL PROTECTED]> wrote: > Using fork is expensive. It will use up as much memory as the > current child is already using, so you might as well just use the > current child to finished the processing. In most OSes, fork just sets the memory to

Big Memory problem -Windows Apache 2.0.47, mod_perl-1.99_11, perl 5.8.0

2003-12-05 Thread Dany Ayotte
Hello I have written a large web service application entirely written in Perl, build as Apache::Registry under mod_perl-1.99_11 build with perl 5.8.0 under Apache 2.0.47, all compile with Microsoft visual C++ 6.0. The same application run fine without too much memory leak on Linux (Apacge 1.3.

Re: [mp2] 3rd-party module porting status

2003-12-05 Thread speeves
Did you send it to [EMAIL PROTECTED] Yeah, Graham Barr gave me rights to all of the other mods. Just didn't hear from anyone else on those two... IMHO, it'd be silly to upload a new version for this purpose. Users will try to get the new version which has no functional or even documentation

Re: Comments on Struts-like mod_perl module

2003-12-05 Thread Gunther Birznieks
Stuart Moffatt wrote: All, About a month ago, I was put on a project that was perl-based, but with no framework. As our GUI team develops mostly in java, and now mostly with struts, I came to love the MVC architecture. Simple to estimate, design, and maintain. I loved struts mvc so much that I

Re: a modperl wiki?

2003-12-05 Thread Les Mikesell
From: "justin" <[EMAIL PROTECTED]> > can anyone on the list recommend me a good modperl+mysql based Wiki > engine? Twiki (http://twiki.org/) works great with mod_perl but it uses rcs to keep version-controlled text files in the filesystem instead of using mysql. --- Les Mikesell [EMAIL

Re: help, $apr->param hangs

2003-12-05 Thread Stas Bekman
Aleksandr Guidrevitch wrote: I need to see that backtrace in hope to get an idea of what's going on. How to do that ? I started httpd within gdb, then send it a sigint: (gdb) run -X -f /home/ag/development/tauction/conf/httpd.conf Starting program: /usr/local/apache-perl/bin/httpd -X -f /home/a

Re: RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Stas Bekman
Rafael Garcia-Suarez wrote: 5.9.0 is broken. mod_perl won't support it. Please don't use it. Wait for 5.9.1, or use a fresh bleadperl, if you want the shiny new features. Or use 5.8.2. __ Stas BekmanJAm_pH --> Just An

Re: RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Stas Bekman
Phil Rhoades wrote: [EMAIL PROTECTED] mod_perl-1.99_11]# perl Makefile.PL MP_APXS=/usr/local/ apache2/bin/apxs Reading Makefile.PL args from @ARGV MP_APXS = /usr/local/apache2/bin/apxs Configuring Apache/2.0.48 mod_perl/1.99_11 Perl/v5.9.0 *** configuration file /usr/local/apache2/modules/mod_p

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Stas Bekman
Cees Hek wrote: Jim Morrison [Mailing-Lists] wrote: Hello, Not sure if this isn't slightly OT, but wonder if someone can help.. It seems on topic to me... I have a piece of one of my mod_perl apps that potentially takes quite a while to complete. What I would like to do is to get Apache/mod_p

Re: a modperl wiki?

2003-12-05 Thread Wim Kerkhoff
Les Mikesell wrote: From: "justin" <[EMAIL PROTECTED]> can anyone on the list recommend me a good modperl+mysql based Wiki engine? That's a pretty vague request... what features are you looking for? Twiki (http://twiki.org/) works great with mod_perl but it uses rcs to keep version-contr

Re: Big Memory problem -Windows Apache 2.0.47, mod_perl-1.99_11, perl 5.8.0

2003-12-05 Thread Stas Bekman
Dany Ayotte wrote: Hello I have written a large web service application entirely written in Perl, build as Apache::Registry under mod_perl-1.99_11 build with perl 5.8.0 under Apache 2.0.47, all compile with Microsoft visual C++ 6.0. The same application run fine without too much memory leak on

Re: Help! PerlPreConnectionHandler not called

2003-12-05 Thread Stas Bekman
Weixian Shen wrote: I wrote a simple handler that for preconnection phase. But it wasn't called. I used PerlPreConnectionHandler directive in perl.conf which is included by httpd.conf. I made intentional syntax error in the module, restart apache, but no error log, everything works as before. If I

Re: help, problems on migrating to mod_perl

2003-12-05 Thread Randy Kobes
On Fri, 5 Dec 2003, SRef wrote: > Env: Perl5.8 Apache2.0 mod_perl2.0(1.99xx?) PS: I did try > to find the solution through mod_perl and apache > documents, but in vain. Please help me, thanks. > > For example, I have a script file named "index.cgi" for my > website entrance, and there are some tem

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Cees Hek
Stas Bekman wrote: Cees Hek wrote: Using fork is expensive. It will use up as much memory as the current child is already using, so you might as well just use the current child to finished the processing. That will work only if you care to wait for all processes to finish untill you can restar