mod_perl group,
I have an issue with mod_perl I'm trying to resolve for several days. I
have a module called Apache::StartPage and is mapped with a Location
directive. Occasionally I have the following error showing up in the error
log from routines in Carp module mapped to $SIG{__WARN__} and $S
On Fri, 10 Dec 1999, Ken Williams wrote:
> I had similar problems and discovered that bugs had been fixed in the latest
> CVS version, and those fixes fixed my problems. Might be worth a shot.
I figured as much - I'm saddled with an old mod_perl here, with almost no
ability to upgrade.
Another
On Fri, 10 Dec 1999, O'Fallon, Paul (MAN-Atlanta) wrote:
> $FilesMatch{'^.*\.pl$'} =
>
> and see if that works (no double quotes).
Nope. Actually, I've given up in the block stuff. I switched to a
templatized conf setup which outputs standard Apache configuration syntax
at runtime and a lot
Hello, I successfully use Modperl together with
Embperl for building an Intranet.
My environment:
NT4.0 / Win95 ( Office / at home )
Perl 5.005_61
mod_perl 1.21
EmbPerl 1.2b9
Everything works fine!
Now for the purpose of "offline-browsing" I wanted
to generate the HTML-files not
dynamical
i don't think that:
$FilesMatch{'"^.*\.pl$"'}
should work - it is asking to match a url with quotes around it.
i believe that:
$FilesMatch{'^.*\.pl$'}
is what you are looking for.
if not, then I don't understand the regexp library that apache uses.
if I am wrong - can someone point me to the man
I had similar problems and discovered that bugs had been fixed in the latest
CVS version, and those fixes fixed my problems. Might be worth a shot.
[EMAIL PROTECTED] (Sam Tregar) wrote:
>Hello all. Two questions:
>
>1) These two *look* equivalent:
>
>
>$FilesMatch{'"^.*\.pl$"'} =
> {
>Se
Try:
$FilesMatch{'^.*\.pl$'} =
and see if that works (no double quotes).
HTH,
Paul
--
Paul O'Fallon
Project Manager
Manheim Auctions
www.manheim.com
-Original Message-
From: Sam Tregar [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 10, 1999 12:49 PM
To: [EMAIL PROTECTED]
Subject:
Hi,
After building apache with --shared-module=max and building mod_perl using
apxs, I get some strange behavior. I've also built my perl with -g
-DDEBUGGING.
On starting the web server, I get a bunch of "Bad free() ignored."
messages that seem to occur at the end of every block of perl code (i
On Fri, 10 Dec 1999, Scott Chapman wrote:
> It seems that mod_perl is _wonderful_ for gaining performance
> improvements under UNIX.
>
> Can these types of performance gains be done under Windows NT?
>
> What technologies/produts do this on NT?
>
> It doesn't appear that a person can put mod_p
It seems that mod_perl is _wonderful_ for gaining performance
improvements under UNIX.
Can these types of performance gains be done under Windows NT?
What technologies/produts do this on NT?
It doesn't appear that a person can put mod_perl under IIS!
- CGI language interpreter loading with
Thank you very much. Enabling dynamic loading helped.
Bruce Johnson wrote:
>
> Eugene,
>
> I just finished (I think) dealing with that same blamed error
> about not being able to find symbol "main". Here are my notes on
> how I did my build on Solaris 2.6:
>
> 1- Built Perl5.005.02
> a-
sorry - you peaked my interest so I have to jump the gun a little.
are you basing it on unique host names which are resolved by
some type of dns delegation?
if so, only problem is with SSL pages. the host name has to
match the one in the certificate otherwise the browser will
give a warning. in
I am having a problem with hanging httpd processes. I have done some AV
searches as well as investigated the list archives and did not find any
conclusive answer to this problem. If I missed it, can someone point me in the
right direction? If any more information will help decode this problem,
Prakash Kailasa wrote:
>
> > Hi Prakash,
> >
> > Well. It's example 4-14, on page 146
> > I have a march 1999 first edition. You mean there's already a second
> > edition!?
> > It's definitely a 'return OK unless' for mine.
> >
> > Thanks,
> > M. Dearman
>
> I just went back and checked again
this is a good idea.
i had the same one. i thought it would be easy to test out a new release, and
if i could not get things working - change the link back to the old one.
i did have problems which i believe were related to the softlink.
i have since gone back to hardlinks for the apache server di
Hello all. Two questions:
1) These two *look* equivalent:
$FilesMatch{'"^.*\.pl$"'} =
{
SetHandler => 'perl-script',
PerlHandler => 'Apache::Registry',
Options => '+ExecCGI'
};
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
but the second one w
Eugene,
I just finished (I think) dealing with that same blamed error
about not being able to find symbol "main". Here are my notes on
how I did my build on Solaris 2.6:
1- Built Perl5.005.02
a- Configure settings:
No threading
use Perl's malloc
Nm extracts C librari
Michael Dearman wrote:
>
> That dit it! Change the 'unless' to 'if'. *chuckle*
> You know, I sat and looked at the 'return OK unless ...' and thought it
> didn't
> make sense.
> Thanks!
> M. Dearman
I just checked the example in my copy of the book and the line
had an 'if', which is correct, not
Anthony Gardner wrote:
>
> Michael,
>
> You are there, believe it or not.
>
> Have a look at the attached and run it.
>
> That pop up window is telling you that the script has finished and that it
> received no data.
>
> Include Apache::Constants; and change unless to if where it's testing
> "Serge" == Serge Sozonoff <[EMAIL PROTECTED]> writes:
Serge> Hello,
>> It will work fine, but the problem still remains that the
>> incoming page URL has the session-id in it, so that when you go
>> offsite, the referer header sent by the client has the client's
>> session id in it still
I've been looking through the archives of this list and I've seen the
error I'm getting mentioned before in several forms.
Syntax error on line 198 of /usr/local/apache/conf/httpd.conf:
Can't locate loadable object for module Apache::Util in @INC (@INC
contains: /usr/lib/perl5/5.00503/i386-linu
I never exactly found my problem, but it stemmed from something
to do with dynamic loading, and I ultimately rebuilt Perl.
Lessons learned:
1- Before attempting to rebuild Apache with mod_perl, be sure to
back up both the operational Apache and Perl, because mod_perl
diddles with some of the thin
I am also wondering how to do that. My scripts call multiple pre-loaded
modules that put heavy stuff in their proper lexical variables, which
seems to cause memory leaks, which results in consistent growth of
children's size. So I would love to "garbage-collect" whatever had been
put into lexical
> A possible workaround is to mess with %INC:
>
> delete $INC{FindBin};
> use FindBin;
Of course, as Eric corrected me, it should be 'require()' instead of
'use()', since use is done at compile time. do() is another option.
But require() wouldn't import tags, so ether use FQ variable $FindBin::
Ah...
> So apparently I just got to get Apache::Constants to pick up the 'OK'.
> Otherwise it sees it as a bareword.
OK, got that 'OK' is an Apache return code.
*bow*
M. Dearman
Dave Hayes wrote:
> On Fri, 6 Aug 1999, Vivek Khera wrote:
> > Running Apache/1.3.7-dev (Unix) mod_perl/1.19_01-dev, it seems that
> > PerlPostReadRequestHandler is virtual-host bound.
>
> Yep, and I really have to ask why this is implemented in this fashion?
Because mod_perl lacks a per-server
> Don't use FindBin. It's not compatible with mod_perl since it uses
> BEGIN block which is executed only ones and for correct work it should
> be executed every time when the request comes.
That's correct that FindBin doesn't work under mod_perl. But the reason is
different. It doesn't work beca
Jay J wrote:
>
> - Original Message -
> From: "Michael Dearman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, December 10, 1999 5:35 AM
> Subject: Newbie: Running script using Apache API
>
> > Howdy all,
> >
> > Trying to run a script from the Eagle Book (ch.4 Example 4
http://perl.apache.org/guide/troubleshooting.html#Can_t_load_auto_DBI_DBI_so_
maybe ?
> Stas Bekman wrote:
> >
> > Do you have a symlink from /usr/local/lib/libgdbm.so.2 to
> > /usr/local/lib/libgdbm.so.2.x.x? replace x.x with the version that you
> > have.
> >
> Thanks. This is exactly what
Dave,
In your htaccess file, I would imagine that you are pointing to a password
file via the AuthUserFile directive so as long as you have permissions to
edit that file, use the perl function crypt() to generate the password and
then just append it to the password file. Just remember to have th
- Original Message -
From: "Michael Dearman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 10, 1999 5:35 AM
Subject: Newbie: Running script using Apache API
> Howdy all,
>
> Trying to run a script from the Eagle Book (ch.4 Example 4-14)
> Using the Apache API, so it
Howdy all,
Trying to run a script from the Eagle Book (ch.4 Example 4-14)
Using the Apache API, so it looks like:
#!/usr/bin/perl -w
# file perl/hello3.pl
use strict:
my $r-> = Apache->request;
$r->content_type('text/html');
$r->send_http_header;
return OK unless $r->header_only;
.
.
.
And so
Greetings,
On Thu, 9 Dec 1999, Sakuji Toyama wrote:
> I have compiled mod_perl-1.21 with apache_1.3.9 under Solaris2.5 machine.
> ...
> "--prefix=/usr/local/etc/httpd"
I think this is your problem. Something similar happened to me.
Try putting everything in /usr/local/apache_1.3.9
with a s
> > > Not that if you are using the same sub routine name,
> > > you might want to just define it once in global.asa,
> > > and have it vary its behavior based on what script
> > > is calling it, which you can get from $0, or
> > > &File::Basename::basename($0)
> >
> > Shit, It was in your documen
34 matches
Mail list logo