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 m
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]
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 n
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 PROTEC
- 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 f
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
>
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 th
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
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]
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]
> >
> >
> -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
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
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 trou
Can I set $r->filename at the end of an PerlAuthzhandler?
Thanks.
-Todd
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
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,
The URL
http://perl.apache.org/dist/mod_perl-1.24_01.tar.gz
has entered CPAN as
file: $CPAN/authors/id/D/DO/DOUGM/mod_perl-1.24_01.tar.gz
size: 360752 bytes
md5: 342ca7a4efaecab70b516c8e789a84e4
there are still some things to take care of before 1.25, but this
canidate is very close
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
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
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 "$x";
> Randy,
> my script was very similar to the one you provide.
> I tried your script with t
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
> -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
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, m
>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 yo
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 instead
[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 start
--
mod_perl digest
October 1, 2000 - October 7, 2000
--
Recent happenings in the mod_perl world...
Features
o m
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 Apac
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 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 Realm"
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
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.
--
/||
32 matches
Mail list logo