Re: tracking down why a module was loaded?;

2000-09-27 Thread Simon_Wilcox
"One or two mod_perlers could do the work of a java shop of ten in half the time." Can we prove this ? Does anyone have any real evidence to support this claim. I hope so because I need to defend my use of mod_perl in developing the intranet site for my company ;-)

Re: tracking down why a module was loaded?;

2000-09-27 Thread Matthew Byng-Maddick
On Wed, 27 Sep 2000, Gunther Birznieks wrote: At 10:28 PM 9/26/2000 +0200, Alexander Farber (EED) wrote: Doug MacEachern wrote: modperl is the best kept secret on the net. Shame! seems to generate plenty of list traffic for a "secret" ;) Don't you all think, that mod_perl isn't promoted

Re: tracking down why a module was loaded?;

2000-09-27 Thread Matt Sergeant
On Wed, 27 Sep 2000, Matthew Byng-Maddick wrote: We all have to do our part to evangelize mod_perl more. I think ISPs are really key here as I think I may have mentioned before. If you get the ISPs Actually I think the people we need to get involved are the web site builders - the larger

Re: tracking down why a module was loaded?;

2000-09-27 Thread Matthew Byng-Maddick
On Wed, 27 Sep 2000, Matt Sergeant wrote: On Wed, 27 Sep 2000, Matthew Byng-Maddick wrote: Actually I think the people we need to get involved are the web site builders - the larger companies offering dynamic web content creation. We also need some more mainstream tools, the oft-requested

Strange error message: (offline mode: enter name=value pairs on standard input)

2000-09-27 Thread MJ M
Hello, I have recently made the following upgrade: apache-1.3.6 -- apache-1.3.12 perl-5.005_02 -- perl-5.6 mod_perl-1.18 -- mod_perl-1.24 Except this upgrade, nothing else was changed. Since then, I frequently get the following message in the Apache error log (this message never occured

Re: Why isn't PerlSetEnv working for me?

2000-09-27 Thread Keith G. Murphy
Stas Bekman wrote: On Tue, 26 Sep 2000, Keith G. Murphy wrote: I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux. I have the following lines towards the end of my httpd.conf: PerlSetEnv PERL5LIB /usr/local/MyPerl/lib PerlRequire startup.pl Include

Re: Why isn't PerlSetEnv working for me?

2000-09-27 Thread Keith G. Murphy
Chris Winters wrote: * Keith G. Murphy ([EMAIL PROTECTED]) [000926 18:43]: I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux. I have the following lines towards the end of my httpd.conf: PerlSetEnv PERL5LIB /usr/local/MyPerl/lib PerlRequire startup.pl Include

PerlSendHeader Off socket persistence (was Re: question: using Apache for non-HTML messages)

2000-09-27 Thread B. Burke
When I set PerlSendHeader to Off in my perl.conf it doesn't send headers, which is good. The bad part is that it seems to break socket persistence for some reason. When I have PerlSendHeader set to On, I can open a socket with my test client, and make multiple queries on the same socket. Any

$r-user vs. $r-connection-user

2000-09-27 Thread Doug MacEachern
i've added an $r-user method as an alias to $r-connection-user, now that `user' hangs off of the request_rec rather than request_rec-connection in Apache 2.0 so by the time mod_perl-2.0 is ready to use, auth modules can work with both versions. for backwards compat you can use something like:

Wanted: a few testers for libapreq on Win32

2000-09-27 Thread Jiho Hahm
Hi, I just packaged up and sent to Doug the changes I made to mod_perl and libapreq to make libapreq work on Win32, but I haven't had a chance to test it thoroughly. I know there are at least several of you out there who want to use Apache::Request on Win32, so if you want to volunteer as a

Re: compiling mod_perl for solaris

2000-09-27 Thread Doug MacEachern
On Fri, 1 Sep 2000, Joseph Sirucka - Netics wrote: Hi People I've been trying to compile mod_perl for solaris 8 recently and I recompiled perl 5.6.0 with _ubincompat5005 and -Uuselargefiles. But no matter what I do with with mod_perl to compile it at perl Makefile.PL blah i get this

Re: further adventures with taint

2000-09-27 Thread Doug MacEachern
On Mon, 4 Sep 2000, Michael Blakeley wrote: I've been running with AP616 and Taint On for three days now, and it seems to have fixed my problems. I hope so. I really hope so. still looking good? would be good to know if this isn't a problem on the mod_perl side :)

Re: Strange error message: (offline mode: enter name=value pairs on standard input)

2000-09-27 Thread ___cliff rayman___
i think you'll find the answer here. http://www.geocrawler.com/archives/3/182/2000/5/0/3817939/ -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/ MJ M wrote: Hello, I have recently made the following upgrade: apache-1.3.6 -- apache-1.3.12 perl-5.005_02 -- perl-5.6 mod_perl-1.18 --

Re: PerlAuthenHandler advice needed.

2000-09-27 Thread Todd Chapman
Problems with your suggestion: 1. The realm will not be known until I get path_info so Location/Location directives will not work. 2. How can I get Perl to do the password lookup in the dynamically selected AuthUserFile? Thanks for the help. -Todd On Wed, 27 Sep 2000, Carlos Ramirez wrote:

Re: Bug? in mod_perl when POST request yields REDIRECT

2000-09-27 Thread Doug MacEachern
On Wed, 6 Sep 2000, Reif Peter wrote: I am using a self written mod_perl module that does proxy requests. It acts as content handler and fetches the requestet documents via LWP::UserAgent. The program works fine but when the request is a POST request and the response is a redirection (301,

Re: Bug? in mod_perl when POST request yields REDIRECT

2000-09-27 Thread Doug MacEachern
take 2 on that patch, this one adds a check so ap_setup_client_block() is only called once. with this part of the fix you can call $r-content multiple times without hanging: my $data = $r-content; $data = $r-content; however, any calls to $r-content after the first will return undef. (unless

Re: Passing STDIN to subprogram

2000-09-27 Thread Doug MacEachern
On Wed, 6 Sep 2000, erich oliphant wrote: I am replacing a CGI shell script with a modperl script. At one point in the shell script subprogram is called. The HTML form that calls the script calls it via a POST. As such the params are available via STDIN. The subprogram call (which I

Re: PerlAuthenHandler advice needed.

2000-09-27 Thread Carlos Ramirez
1. Oh, I mis-interpreted your question. I thought you already had a list of virtual directories with the AuthNames defined. You can set the AuthName by sending them in the server response header field: WWW-Authenticate Basic $realm So the first request to /companyA, you AuthHandler will respond

Seg Fault with Apache::Include

2000-09-27 Thread Magnus Erixzon
I am having some problems with Apache::Include. When I include more than one file with it, the httpd seg faults. The script can be as simple as this: #!/usr/bin/perl use Apache::Include (); print "Content-type: text/html\n\n"; Apache::Include-virtual('/perl-bin/helloworld');

Apache::ASP error

2000-09-27 Thread Phong Le Quoc
I installed Apache::ASP. When test with a simple asp page. I got an internal server error and the error_log says: [Wed Sep 27 02:11:07 2000] [error] Can't locate Apache/ASP.pm in @INC (@INC contains: G:/Program Files/Apache Group/Perl/5.6.0/lib/MSWin32-x86 G:/Program Files/Apache

SegFault with Apache::Include

2000-09-27 Thread magnus
I am having some problems with Apache::Include. When I include more than one file with it, the httpd seg faults. The script can be as simple as this: #!/usr/bin/perl use Apache::Include (); print "Content-type: text/html\n\n"; Apache::Include-virtual('/perl-bin/helloworld');

Re: PerlAuthenHandler advice needed.

2000-09-27 Thread Todd Chapman
Thanks for the help. I was hoping that Apache would check the password for me but this should work. Now, how do I get Apache to run my PerlAuthenHandler without setting the AuthType or AuthName in httpd.conf? Do I need to do the Authentication in a PerlHandler? -Todd On Wed, 27 Sep 2000,

Re: Problems loading POSIX module

2000-09-27 Thread Doug MacEachern
On Wed, 30 Aug 2000, erich oliphant wrote: Hi, I have a script that bombs under modperl when it tries to 'use POSIX'. I get the same message when I try to preload it in the httpd.conf. Here's the error: -- [Tue Aug 29 15:59:21 2000] [error] Can't load

Re: further adventures with taint

2000-09-27 Thread Michael Blakeley
At 11:52 AM -0700 9/27/2000, Doug MacEachern wrote: On Mon, 4 Sep 2000, Michael Blakeley wrote: I've been running with AP616 and Taint On for three days now, and it seems to have fixed my problems. I hope so. I really hope so. still looking good? would be good to know if this isn't a

Re: SIGSEGV

2000-09-27 Thread Doug MacEachern
On Mon, 11 Sep 2000, [iso-8859-1] François Chenais wrote: Hello I have a Segmentation fault error with mod perl ! Any idea ? (gdb) run /opt/apache/lib/perl/WCM.pl Starting program: /usr/bin/perl /opt/apache/lib/perl/WCM.pl ... Program received signal SIGSEGV, Segmentation fault. that

Re: /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2546: redefinitionof `union semun'

2000-09-27 Thread Doug MacEachern
On Wed, 13 Sep 2000 [EMAIL PROTECTED] wrote: Hi all, I have some problems with installig mod_perl, environment: Redhat 6.1 perl 5.005_03 (i386 from RPM) mod_perl-1.24 (source) apache-1.3.12 (source) In file included from mod_perl.h:92, from mod_perl.c:67:

Re: PerlAuthenHandler advice needed.

2000-09-27 Thread Carlos Ramirez
By choosing to use your custom AuthHandler, you basically override Apache's way of handling the particular phase, in this case the authentication phase. So you must handle prompting the user and also checking the password. You might want to read the Apache Guide (http://perl.apache.org/) on how

Re: Bad free() ignored?

2000-09-27 Thread Doug MacEachern
On Wed, 13 Sep 2000, Eamon Daly wrote: We've been using mod_perl/DBI for our entire website for just under a year now (over 1.5M pages a day-- I owe the mod_perl folks a hell of a lot of beer), and have suddenly started seeing a small number of "Bad free() ignored" lines appear in the error

Re: segfaulting httpd :(

2000-09-27 Thread Doug MacEachern
On Thu, 14 Sep 2000, Ben Turner wrote: hi all, this afternoon i compiled a fresh httpd (apache 1.3.12), together with mod_perl 1.24. i'm on Solaris 8, running perl 5.6.0. after compiling httpd, i'm getting segfaults whenever i do a normal http request. for instance: stacktrace would

Re: modperl and mutiple Servers

2000-09-27 Thread Doug MacEachern
On Wed, 20 Sep 2000, Tobias Dittrich wrote: Hi, I am running Apache Server with mutiple hosts (IP as well as name based) on a SuSe Linux 6.4 machine. Some of the hosts are running modperl scripts as well as perl scripts at the same time and they do share the same global variables (such as

Re: Core Dump on use DBI

2000-09-27 Thread Doug MacEachern
On 20 Sep 2000 [EMAIL PROTECTED] wrote: I did the same thing (static linking) and it now also works. FYI, I was using the Apache httpd out of the box from Redhat. It had been compiled with http_core, mod_so and no other modules. All modules (including mod_perl) were dynamically loaded in

Where's the filehandle in a PerlHandler module?

2000-09-27 Thread Clayton Mitchell
Sorry to ask such a newbie question, but I can't figure this out. In a handler I want to process all requests and parse the document requested and spit it out after marking it up. I have put in place this code, but I don't see how to access the actual requested document. I'm hoping there's

Re: Where's the filehandle in a PerlHandler module?

2000-09-27 Thread Neil Conway
On Wed, Sep 27, 2000 at 04:12:23PM -0700, Clayton Mitchell wrote: In a handler I want to process all requests and parse the document requested and spit it out after marking it up. I have put in place this code, but I don't see how to access the actual requested document. I'm hoping

suggestions needed re. required files and persistent data

2000-09-27 Thread John Reid
Hi Guys I am in serious diffs here attempting to port a legacy system. We use a custom tag system with template pages and a custom parser. This has been working for several years in a modd_cgi environment, but due to performance problems is being ported to mod_perl. The parser has been ported

Re: PerlAuthenHandler advice needed.

2000-09-27 Thread Todd Chapman
Please explain again how to get my AuthHandler called without setting AuthName or AuthType in httpd.conf. Thanks. -Todd On Wed, 27 Sep 2000, Carlos Ramirez wrote: By choosing to use your custom AuthHandler, you basically override Apache's way of handling the particular phase, in this case

Re: Apache::ASP error

2000-09-27 Thread Rod Butcher
Souds like you need to include the library where ASP.pm is located in your PATH. Shold be something like G:\Program Files\Apache Group\Perl\site\5.6.0\lib\Apache Rod - Original Message - From: "Phong Le Quoc" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 7:52

cvs commit: modperl ToDo

2000-09-27 Thread dougm
dougm 00/09/27 11:19:14 Modified:.ToDo Log: todo Revision ChangesPath 1.254 +2 -2 modperl/ToDo Index: ToDo === RCS file: /home/cvs/modperl/ToDo,v retrieving revision 1.253

cvs commit: modperl/src/modules/perl Apache.xs mod_perl.h perl_config.c

2000-09-27 Thread dougm
dougm 00/09/27 16:51:35 Modified:.Changes ToDo src/modules/perl Apache.xs mod_perl.h perl_config.c Log: $r-get_basic_auth_pw will default $r-auth_type to "Basic" if not already set $r-auth_type is now writeable, e.g. $r-auth_type("Basic")

cvs commit: modperl ToDo

2000-09-27 Thread dougm
dougm 00/09/27 07:49:24 Modified:.ToDo Log: todo Revision ChangesPath 1.253 +7 -0 modperl/ToDo Index: ToDo === RCS file: /home/cvs/modperl/ToDo,v retrieving revision 1.252

cvs commit: modperl/src/modules/perl mod_perl.c

2000-09-27 Thread dougm
dougm 00/09/27 08:23:29 Modified:.Changes src/modules/perl mod_perl.c Log: disable r-proxyreq checking unless PerlTransHandler is enabled and configured Revision ChangesPath 1.526 +3 -0 modperl/Changes Index: Changes

cvs commit: modperl/src/modules/perl perl_config.c

2000-09-27 Thread dougm
dougm 00/09/27 08:37:38 Modified:src/modules/perl perl_config.c Log: typo Revision ChangesPath 1.105 +1 -1 modperl/src/modules/perl/perl_config.c Index: perl_config.c === RCS file:

cvs commit: modperl/t/modules request.t

2000-09-27 Thread dougm
dougm 00/09/27 13:04:01 Modified:t/modules request.t Log: binmode for win32 Revision ChangesPath 1.10 +1 -0 modperl/t/modules/request.t Index: request.t === RCS file:

cvs commit: modperl Changes

2000-09-27 Thread dougm
dougm 00/09/27 20:30:21 Modified:.Changes Log: fix %Apache::ReadConfig:: processing for PerlRequire'd files Revision ChangesPath 1.531 +3 -0 modperl/Changes Index: Changes ===

cvs commit: modperl/src/modules/perl perl_config.c

2000-09-27 Thread dougm
dougm 00/09/27 20:53:02 Modified:src/modules/perl perl_config.c Log: fix %Apache::ReadConfig:: processing for PerlRequire'd files Revision ChangesPath 1.107 +16 -18modperl/src/modules/perl/perl_config.c Index: perl_config.c