Re: PerlWarn On being ignored on win32

2000-10-10 Thread Randy Kobes
On Mon, 9 Oct 2000 [EMAIL PROTECTED] wrote: Hi, I have problems having mod_perl show his warnings: setting PerlWarn to On, nothing appears into the ErrorLog. I tried to change che LogLevel down to "debug": other messages do appear, but not the perl warnings. I'm using Perl 5.6.0,

Re: Patch for easy testing of Apache::* modules (resend)

2000-10-10 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: ken, i have a feature request too :) i would like to be able to test if mod_include is linked static with httpd, otherwise Makefile.PL will disable PERL_SSI. a hash of parsed `httpd -l`, something like: my $static_modules =

Embeded perl question

2000-10-10 Thread Genocchio, Anthony
I am having trouble returing a variable from a sub?...below is my effort to do this...is there some fundamental place where i am going wrong and can you help me?!...thanks [$ sub get_date $] [- $var = shift; $path = ("/home/genoccaj/public_html/lookup/"); use

Re: XML::Parse segmentation fault

2000-10-10 Thread Matt Sergeant
On Mon, 9 Oct 2000, Herrington, Jack wrote: Is there some inherint problem with XML::Parser and mod_perl? Yes. You need to recompile Apache with RULE_EXPAT=no. I'm hoping that now that expat has a standard distribution that the Apache team will be proactive in fixing this bug. -- Matt/

RE: :Parse segmentation fault

2000-10-10 Thread Matt Sergeant
On Mon, 9 Oct 2000, Herrington, Jack wrote: This allows for XML parsing with no change to the Perl code. I'm just not sure what I am losing in Apache (which is where I make the change). What does losing EXPAT do to Apache? You lose mod_dav, and maybe future modules that use the built in

Can't get 'PerlAuthenHandler' to work.

2000-10-10 Thread Ariel Manzur
Hi.. I wrote a module that asks for authentication, and sets enviroment variables with the username and password, and returns "OK" (I do the actual authentication on a CGI script later). I put this on the .htaccess file: AuthType Basic AuthName "Name of the Authentcation

Re: Can't get 'PerlAuthenHandler' to work.

2000-10-10 Thread Ian Frawley
Hello Ariel When you return "OK" from your authentication module that gives apache the thumbs up authentication accepted. So possibly you might be trying to authenticate a user that has already been authenticated when you run your CGI script. Ian - Original Message - From: "Ariel

Spawning

2000-10-10 Thread atli
Hi there, I am working on a web-oriented game that runs on Apache/modperl and MySQL. I have one perl process that runs forever and is outside of Apache that does a lot of tallying up and cleaning. I want the process to be started by Apache on server startup and give the process access to

Re: Spawning

2000-10-10 Thread Greg Cope
[EMAIL PROTECTED] wrote: Hi there, I am working on a web-oriented game that runs on Apache/modperl and MySQL. I have one perl process that runs forever and is outside of Apache that does a lot of tallying up and cleaning. I want the process to be started by Apache on server startup

Problem configuring handler in httpd.conf.

2000-10-10 Thread Todd Chapman
I am trying to set up httpd.conf so that documents in /home/httpd/html/mason are handled by HTML::Mason but documents in /home/httpd/html/mason/perl are handled by Apache::Registry. The problems in that while Mason works, the Apache::Registry cgi programs are getting dumped as plain text

Re: Spawning

2000-10-10 Thread atli
I would always seperate any proccess that are not web request orientated outside the request architecture - i.e write your own daemon / crond script thats does this exterior processing. I totally agree. That's the plan but I need the Apache connection for the external processing What do you

Re: PerlWarn On being ignored on win32

2000-10-10 Thread Franco . Radice
On Mon, 9 Oct 2000 [EMAIL PROTECTED] wrote: Hi, I have problems having mod_perl show his warnings: setting PerlWarn to On, nothing appears into the ErrorLog. I tried to change che LogLevel down to "debug": other messages do appear, but not the perl warnings. I'm using Perl 5.6.0,

RE: XML::Parse segmentation fault

2000-10-10 Thread Geoffrey Young
-Original Message- From: Matt Sergeant [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2000 3:20 AM To: Herrington, Jack Cc: '[EMAIL PROTECTED]' Subject: Re: XML::Parse segmentation fault On Mon, 9 Oct 2000, Herrington, Jack wrote: Is there some inherint problem

[Available for a Job] mod_perl/Oracle/linux/web guru

2000-10-10 Thread David Harris
I'm looking for a mod_perl consulting job anywhere from two weeks to a month long. I'm available starting at the beginning of next week, and I can work remotely or fly out to your location. I am a mod_perl, Oracle, web database, and Linux guru. I've contributed to mod_ssl, mod_perl, Apache, and

Re: PerlWarn On being ignored on win32

2000-10-10 Thread Randy Kobes
On Tue, 10 Oct 2000 [EMAIL PROTECTED] wrote: [ .. ] On my Win32, PerlWarn works with a simple script: #!/Perl/bin/perl.exe print "Content-type: text/html\n\n"; my $x; print "$xBR"; Randy, my script was very similar to the one you provide. I tried your script with the Perl

RE: XML::Parse segmentation fault

2000-10-10 Thread Matt Sergeant
On Tue, 10 Oct 2000, Geoffrey Young wrote: On Mon, 9 Oct 2000, Herrington, Jack wrote: Is there some inherint problem with XML::Parser and mod_perl? Yes. You need to recompile Apache with RULE_EXPAT=no. according to Changes, this should be automatic as of 1.23... Of course only

Re: Problem configuring handler in httpd.conf.

2000-10-10 Thread Perrin Harkins
On Tue, 10 Oct 2000, Todd Chapman wrote: I am trying to set up httpd.conf so that documents in /home/httpd/html/mason are handled by HTML::Mason but documents in /home/httpd/html/mason/perl are handled by Apache::Registry. The problems in that while Mason works, the Apache::Registry cgi

Strangeness with Carp under mod_perl

2000-10-10 Thread darren chamberlain
Hi All. This is a curiosity question, mostly. I have a simple method of sending debugging messages to the error log: use constant DEBUG = 1; # Set to 0 to turn off debugging throughout sub debug ($) { if (DEBUG) { return carp sprintf "[%s] [%s] %s", scalar caller, scalar localtime,

Re: Strangeness with Carp under mod_perl

2000-10-10 Thread Honza Pazdziora
On Tue, Oct 10, 2000 at 01:33:03PM -0400, darren chamberlain wrote: Any ideas as to why this is being reported like this? It is being called from with a handler, not from /dev/null. :) Because there isn't any actual file associated from the handler. It's just a code being executed, with no

How late can $r-filename be set?

2000-10-10 Thread Todd Chapman
Can I set $r-filename at the end of an PerlAuthzhandler? Thanks. -Todd

Re: Embeded perl question

2000-10-10 Thread ___cliff rayman___
embperl 'subs' do not return subroutine values. you need to either make a regular subroutine [- sub get_date { ... } -] or use a global variable for return values. such as @GLOBAL. kind of ugly - but is it any uglier than @_ for the input values? "Genocchio, Anthony" wrote: I am having

Compiling apache staticly with mod_perl.

2000-10-10 Thread Peter Gebauer
Hey! I've been trying to compile apache together with mod_perl using this configuration: ./configure --prefix=/home/httpd --activate-module=src/modules/perl/libperl.a I get several errors during the make where the compiler complains about mod_perl reffering to undefined functions. The INSTALL

RE: Compiling apache staticly with mod_perl.

2000-10-10 Thread Geoffrey Young
-Original Message- From: Peter Gebauer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2000 8:20 AM To: [EMAIL PROTECTED] Subject: Compiling apache staticly with mod_perl. [snip] Did anybody compile Apache + mod_perl + other modules or have documentation that is written

Re: Compiling apache staticly with mod_perl.

2000-10-10 Thread Paul Lindner
On Tue, Oct 10, 2000 at 02:43:36PM -0400, Geoffrey Young wrote: -Original Message- From: Peter Gebauer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2000 8:20 AM To: [EMAIL PROTECTED] Subject: Compiling apache staticly with mod_perl. [snip] Did anybody

Apache::Constants non-mod_perl

2000-10-10 Thread Bill Moseley
I'm curious: why I can't use Apache::Constants outside of mod_perl? %perl -w use strict; use Apache::Constants qw/OK/; print OK; Undefined subroutine Apache::Constants::OK called at - line 2. Bill Moseley mailto:[EMAIL PROTECTED]

OT: mime-type for CSV

2000-10-10 Thread Robert Friberg
Hi all, I have a handler that returns data in CSV-format. How can I persuade browsers to suggest a fileextension of .csv All the users are known and have MS Excel on their windoze boxes. regards, -- robert friberg, ensofus ab

Bugs database?

2000-10-10 Thread Todd Chapman
Is there a mod_perl bugs database? I am having a problem and I want to make sure it isn't a bug in mod_perl that's fixed in a recent release. Thanks. -Todd P.S. The bug is that $r-connection-user() is not set when I return OK from my PerlAuthenHandler. I have to set it manually. Why would

RE: mime-type for CSV

2000-10-10 Thread mgraham
I use the following (not sure about the actual content-type, but it seems to work Content-Type: text/x-csv Content-Disposition: attachment; filename=somefile.csv Michael -Original Message- From: Robert Friberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2000 4:17 PM To:

Re: mime-type for CSV

2000-10-10 Thread David M. Davisson
- Original Message - From: "Robert Friberg" [EMAIL PROTECTED] To: "modperl-lista" [EMAIL PROTECTED] Sent: Tuesday, October 10, 2000 1:16 PM Subject: OT: mime-type for CSV Hi all, I have a handler that returns data in CSV-format. How can I persuade browsers to suggest a

Re: Spawning

2000-10-10 Thread bcburke
You can use Perl's IPC::Shareable to share objects in memory across processes: http://theoryx5.uwinnipeg.ca/CPAN/data/IPC-Shareable/IPC/Shareable.html Good luck, Brian B. [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: Greg Cope [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Wild Proposal :)

2000-10-10 Thread Ajit Deshpande
The following is a half-baked proposal for a wild idea. Please comment on this. If the powers that be think this is OT, then please move this I will take it elsewhere. If this is something that is already implemented by 'Application Foo' or 'System Bar' then please let me know and you will hear

mod_perl on RH7 fails make test

2000-10-10 Thread falstaff
I am trying to build mod_perl-1.24 on apache_1.3.12 on RedHat linux 7.0 2.2.16-22 gcc version 2.96 All seems to build fine, but when I run make test it fails to start the server with lock error : [notice] Destruction-DESTROY called for $global_object [Fri Oct 6 10:39:06 2000] [warn] [notice]

Re: Wild Proposal :)

2000-10-10 Thread Perrin Harkins
Hi Ajit, It's not entirely clear to me what problem you're trying to solve here. I'll comment on some of the specifics you've written down here, but I may be missing your larger point. OBJECTIVE Provide a perl server that can execute miscellaneous perl jobs that will communicate with