Hi,
Did any of you have tried to work with mergemem?
http://www.ist.org/mergemem/
It's supposed to drastically reduce the size of unshared memory. Currently
is available only for linux and its status is stable.
Comments and experience stories are very welcome.
>
> The test.html file contains only the [- use -]
> line.
Try
[- use ; -]
for whatever reason, Perl likes to see a semikolon here.
Gerald
Hi there,
On Thu, 3 Feb 2000, Wang, Pin-Chieh wrote:
> Ged,
> Thanks much for your help, Please tell me if I asked too many
> questions, If you don't I'll keep on ask you questions. After I
> said that, here is another question.
You aren't asking too many questions, but please forgive me if I
Thanks,
and pardon the newbie question, but by "modules" are you referring to
".pm" files placed in the perl lib directory? OR to some other mod_perl type
file/cofiguration?
Keith
> The best technique is to write all your code using
> modules and having only a few lines of code in the s
Hi, All
Probably many of you don't know but there are many Apache::* modules out
there, that can save you a lot of development and debugging time. The
problem is that many modules were never discussed and therefore used.
I suggest to open a series of posts whose goal to make the introduction of
So, here is a first rare module: Apache::SubProcess
Doug wrote this module a while ago, but it was never mentioned here on the
list. It's available from CPAN.
The output of C, C, and C calls
will not be sent to the browser unless your Perl was configured with
C.
One workaround is to use backtic
> and pardon the newbie question, but by "modules" are you referring
> to ".pm" files placed in the perl lib directory? OR to some other
> mod_perl type file/cofiguration?
>
> Keith
>
> > The best technique is to write all your code using
> > modules and having only a few lines of code
I'm had this same problem when I tried to install Apache-DBILogin-1.5 as it
does:
require Apache::DBI
in Makefile.PL to test if apache's DBI is installed.
I don't know how the author ever managed to get the Makefile.PL to succeed.
Removing the require statement from the makefile permits everyth
Should embperl then be altered to handle loop control itself or should we just
use [* *] embperl structures to allow us to use perl's control structures
instead of embperl's? In either event, it should probably be documented as a
shortcoming of using embperl's control structures.
Regards,
Christi
Thanks, Gerald. That worked. The documentation should reflect the need for the
semi-colon. The use statement is an example in the section on [- -]. At least
at this spot, if not also in a special gotchas section, it should be
mentioned.
Regards,
Christian
> -Original Message-
> From: Ger
Actually, the use of last/next still causes a core dump (bus error) with
perl's structures as well. Uncommenting either of the two loop control lines
will cause the dump.
[- $i = 0; -]
[* while ($i < 10) { *]
[+ $i +]
[* if ($i == 5) { *]
[# last; #]
[- $i++; -]
[# next; #
According to Stas Bekman:
> A module is a package that lives in a file of the same name. For
> example, the Hello::There module would live in Hello/There.pm. For
> details, read L. You'll also find L helpful. If
> you're writing a C or mixed-language module with both C and Perl, then
> you sh
Hi there i wonder if someone can help me with getting ASP to work if this is
unapropriate please forgive my ignorence, and disregard from this message.
I'm running Debian Linux with Apache
Server version: Apache/1.3.9 (Unix) Debian/GNU
Server built: Oct 30 1999 22:46:08
here is a snip from th
Okay, I'm new to asp. It's been a nightmare getting my redhat 6.0 httpsd
server to even process this stuff. Anyway, I finally got some action. So
after my demo stuff worked for the most part, I tried this guestbook I
generated in Drumbeat 2000...I'm lost.
1. loaded http://admin.biojazz.com/dbeat
Totally weird. Suddenly I get the following error message after
uploading a file:
[error] Modification of a read-only value attempted a
t /local/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm
I think I haven't changed a thing but maybe I'm just stoned...
This is on Embperl 1.2b9 apache 1
The next module is Apache::RegistryNG.
C is the same as C, aside from
using filename instead of URI for the namespace. It also uses OO
interface.
PerlModule Apache::RegistryNG
SetHandler perl-script
PerlHandler ApacheRegistryNG->handler
C inherits from C, but the
handler() is ov
On Fri, 4 Feb 2000, Leslie Mikesell wrote:
[...]
> Is there any way to make mod_perl reload modified modules in some
> directories but not check at all in others? I'd like to avoid
> the overhead of stat'ing the stable modules every time but still
> automatically pick up changes in things under
Apache::RegistryBB:
It works just like C, but does not test the x bit (-x)
only compiles the file once (no stat() call is made per requsest), skips
the OPT_EXECCGI checks and does not C into the script parent
directory. It uses the OO interface.
Configuration:
PerlModule Apache::RegistryBB
A newbie question. Though I have successfully built mod_perl from command
line parameters I decided to try the .makepl_args.mod_perl file method from
the Eagle book. I had EVERYTHING=1 as the first line in this file but when I
run I get...
PerlDispatchHandler.disabled (enable with PERL_DI
> > A module is a package that lives in a file of the same name. For
> > example, the Hello::There module would live in Hello/There.pm. For
> > details, read L. You'll also find L helpful. If
> > you're writing a C or mixed-language module with both C and Perl, then
> > you should study L.
> >
According to Ask Bjoern Hansen:
>
> > Is there any way to make mod_perl reload modified modules in some
> > directories but not check at all in others? I'd like to avoid
> > the overhead of stat'ing the stable modules every time but still
> > automatically pick up changes in things under develop
>A newbie question. Though I have successfully built mod_perl from command
>line parameters I decided to try the .makepl_args.mod_perl file method from
>the Eagle book. I had EVERYTHING=1 as the first line in this file but when I
>run I get...
It's makepl_args.mod_perl, not .makepl_args.mod_perl
Stas Bekman wrote:
>
> Hi,
>
> Did any of you have tried to work with mergemem?
> http://www.ist.org/mergemem/
>
> It's supposed to drastically reduce the size of unshared memory. Currently
> is available only for linux and its status is stable.
>
> Comments and experience stories are very wel
> A newbie question. Though I have successfully built mod_perl from command
> line parameters I decided to try the .makepl_args.mod_perl file method from
> the Eagle book. I had EVERYTHING=1 as the first line in this file but when I
> run I get...
>
> PerlDispatchHandler.disabled (enable
Thank you, Eric. Looks like the Eagle book has an error then. Is there an
errata for it some where? I don't see it on their home page.
bakki
> >A newbie question. Though I have successfully built mod_perl from command
> >line parameters I decided to try the .makepl_args.mod_perl file method
from
Hi
I have some problems:
RED HAT LINUX 6.0
APACHE-1.3.6-7
1) I am in /root/mod_perl-1.21/ and
when I execute perl Makefile.PL and I asked:
Please tell me where I can find your apache src
a) I answered: /usr/lib/apache
sh: ./Configure: File or directory not exist
can't open /u
> > Did any of you have tried to work with mergemem?
> > http://www.ist.org/mergemem/
> >
> > It's supposed to drastically reduce the size of unshared memory. Currently
> > is available only for linux and its status is stable.
> >
> > Comments and experience stories are very welcome.
>
> I coul
David,
You've written your ASP in JavaScript (or Drumbeast 2000 did it for you).
Apache::ASP is for scripts written in PERL that want to take advantage of
the ASP object API. If you want to run your JavaScript ASP on a non-IIS
platform you will have to go with another solution (like from ChiliSo
> Totally weird. Suddenly I get the following error message after
> uploading a file:
>
> [error] Modification of a read-only value attempted a
> t /local/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm
>
>
> Gerald, do you have any opinion on this?
>
Upgrade to 1.2.1. If you get this error
Hi all,
On Fri, 4 Feb 2000, Stas Bekman wrote:
> I suggest to open a series of posts whose goal to make the
> introduction of new and old modules [snip] What do you think?
Good idea!
Let's do Apache::VMonitor - I read in the docs that it needs GTop
so I read the GTop docs and that needs...
Do
>
> Should embperl then be altered to handle loop control itself or
> should we just
> use [* *] embperl structures to allow us to use perl's control structures
> instead of embperl's? In either event, it should probably be
> documented as a
> shortcoming of using embperl's control structures.
>
> Thank you, Eric. Looks like the Eagle book has an error then. Is there an
> errata for it some where? I don't see it on their home page.
It's a typo indeed, several occurences at the page 649.
The Errata is available from the place it's supposed to be -- the
publisher's site: http://www.ora.c
> From: Bakki Kudva <[EMAIL PROTECTED]>
> Date: Fri, 04 Feb 2000 11:52:43 -0500
> Subject: Re: .makepl_args.mod_perl
> To: modperl-list <[EMAIL PROTECTED]>
>
> Thank you, Eric. Looks like the Eagle book has an error then. Is there an
> errata for it some where? I don't see it on their home page.
Apache::VMonitor - Visual System and Apache Server Monitor
This module emulates the reporting functionalities of
top(), mount(), df() and ifconfig() utilities. There
is a special mode for mod_perl processes. It has a
visual alert capabilities and configurable automatic
> On Fri, 4 Feb 2000, Stas Bekman wrote:
>
> > I suggest to open a series of posts whose goal to make the
> > introduction of new and old modules [snip] What do you think?
>
> Good idea!
>
> Let's do Apache::VMonitor - I read in the docs that it needs GTop
> so I read the GTop docs and that nee
On Fri, 4 Feb 2000, Eric Cholet wrote:
> >A newbie question. Though I have successfully built mod_perl from command
> >line parameters I decided to try the .makepl_args.mod_perl file method from
> >the Eagle book. I had EVERYTHING=1 as the first line in this file but when I
> >run I get...
>
> I
> > Also I noted that in the guide most paramters are listed in the
> > blue boxes as PERL-* instead of PERL_*. This could be confusing to
> > newcomers.
>
> Excuse me? There is no a single PERL- in there.
I am not sure what is going on here. You are right! In Netscape it appears
correctly as und
At 06:17 PM 2/4/00 +0200, Stas Bekman wrote:
>The next module is Apache::RegistryNG.
>
>C is the same as C, aside from
>using filename instead of URI for the namespace. It also uses OO
>interface.
>
>
>There is no compelling reason to use C over
>C, unless you want to do add or change the
>fun
A big THANK YOU to all for clarifying the usage of this file.
bakki
> So both work, depending on where the file is. I use the .makepl... form,
in my $HOME
> dir, so that I don't have to edit a new one for every new version. :)
>
> David McCabe Unix SysAdmin/Peon
I've scoured deja.com, FAQs, modperl list archives at
forum.swarthmore.edu, 'perldoc mod_perl_traps', experimented ad
nauseum
for 4 days now... this modperl newbie is missing something
important...
Lasting gratitude and a check in the mail for dinner on me to any of
you
who can offer any tips/h
> At 06:17 PM 2/4/00 +0200, Stas Bekman wrote:
> >The next module is Apache::RegistryNG.
> >
> >C is the same as C, aside from
> >using filename instead of URI for the namespace. It also uses OO
> >interface.
> >
> >
>
> >There is no compelling reason to use C over
> >C, unless you want to do
Hi there,
On Fri, 4 Feb 2000, Stas Bekman wrote:
> C inherits from C, but the
> handler() is overriden.
Does this have any implications for users of `dirty' scripts?
Obviously such scripts will be `legacy' code, of course...
73,
Ged.
Hi there,
It looks like you have all your questions answered now, but I have one
or two.
On Fri, 4 Feb 2000, Bakki Kudva wrote:
> I read the guide and there is no mention of this. Also I noted that
> in the guide most paramters are listed in the blue boxes as PERL-*
> instead of PERL_*.
Stas i
At 07:55 PM 2/4/00 +0200, Stas Bekman wrote:
> > At 06:17 PM 2/4/00 +0200, Stas Bekman wrote:
> > >The next module is Apache::RegistryNG.
> > >
> > >C is the same as C, aside from
> > >using filename instead of URI for the namespace. It also uses OO
> > >interface.
> > >
> > >
> >
> > >There is
> > C inherits from C, but the
> > handler() is overriden.
>
> Does this have any implications for users of `dirty' scripts?
Apache::PerlRun is for the `dirty' scripts, Apache::RegistryNG is not.
> Obviously such scripts will be `legacy' code, of course...
>
> 73,
> Ged.
>
>
_
On Fri, 4 Feb 2000, Simon Rosenthal wrote:
> At 07:55 PM 2/4/00 +0200, Stas Bekman wrote:
> > > At 06:17 PM 2/4/00 +0200, Stas Bekman wrote:
> > > >The next module is Apache::RegistryNG.
> > > >
> > > >C is the same as C, aside from
> > > >using filename instead of URI for the namespace. It also
Thank you for CC'ng me. I've been away from modperl for a while and my
modperl mail folder has 3500 thousand messages waiting for me to sort
through. :(
> I don't know how the author ever managed to get the Makefile.PL to succeed.
Guilty as charged. Its pretty poor code and you're right that it
Simon -
I'm not seeing the behavior you document after running a few tests...
can you provide a specific RewriteRule and other relevant info?
while mod_rewrite kinda has it own rules of play, the documentation says
that the latest phase it touches is the Fixup phase, which, it explains, is
bef
Hi!
Here is a job posting from the company I work for. If anyone here has any
general questions, you can just email me, otherwise, you can apply by
sending your information in to Global Knowledge Group as described at the end
of the posting.
Mike
-
We are looking for several mod_perl app
Hi all,
I'm in the process of implementing the Guide's recipe for creating a
light front-end server / mod_perl enabled back-end server in order to
solve a problem with too many database connections being open, but
that's not the problem I'm writing about.
My app doesn't use IPs for state or anyt
> "EE" == Ewan Edwards <[EMAIL PROTECTED]> writes:
EE> Looking at the front-end server's /server-info, included in the list of
EE> built in modules, I see:
EE> Module Name: mod_proxy_add_forward.c
EE> Content handlers: none
EE> Configuration Phase Participation: none
EE> Request Phase Parti
Hi!
I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it,
create and parse Cookies. However, I'm getting an error that I don't totally
understand. ( This is mod_perl related... just hold on. )
If i call
CGI::Cookie->parse($r->headers_in->get('Cookie'));
I wil
On Fri, Feb 04, 2000 at 02:33:30PM -0500, Vivek Khera wrote:
>
> EE> Looking at the front-end server's /server-info, included in the list of
> EE> built in modules, I see:
>
> EE> Module Name: mod_proxy_add_forward.c
> EE> Content handlers: none
> EE> Configuration Phase Participation: none
> E
Hi there,
On Fri, 4 Feb 2000, Diego Gomez wrote:
> sh: ./Configure: File or directory not exist
Look in the Guide, in the files `install.pod' and `scenario.pod'.
I think you will find everything you need is there on the first page
or so of each.
73,
Ged.
Hi there,
More topical:
Well I think we've done that one. It seems that if not actually an
error the documents conspire to confuse. Certainly one for the errata
even if it's not really wrong. I have a couple of dozen other notes
about the Eagle Book, is there a CVS snapshot of the errata some
You can change the order of the modules in your config file with
ClearModuleList and AddModule without recompiling Apache.
Gerald
-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-design/-date
Dear friends:
I've started with mod_perl just a month ago, and have been building a
mod_perl/DBI/Oracle applicacion which went fine, until the following
sequence ocurred:
1) I added the exit() routine from the guide, along with it's corresponding
BEGIN block
2) I started getting the following er
use Apache;
use Apache::Cookie;
sub handler {
my $r = shift;
my $cookies = Apache::Cookie->new($r)->parse;
my %bar = $cookies->{foo}->value;
}
much simpler, no?
On Fri, 4 Feb 2000, Aaron Ross wrote:
> Hi!
> I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it,
>
Ask Bjoern Hansen wrote:
>
> On Fri, 4 Feb 2000, Leslie Mikesell wrote:
>
> [...]
> > Is there any way to make mod_perl reload modified modules in some
> > directories but not check at all in others? I'd like to avoid
> > the overhead of stat'ing the stable modules every time but still
> > auto
On Fri, 4 Feb 2000, Aaron Ross wrote:
> Hi!
> I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it,
> create and parse Cookies. However, I'm getting an error that I don't totally
> understand. ( This is mod_perl related... just hold on. )
>
> If i call
> CGI::Co
On Fri, 4 Feb 2000, G.W. Haywood wrote:
> Hi there,
>
> More topical:
>
> Well I think we've done that one. It seems that if not actually an
> error the documents conspire to confuse. Certainly one for the errata
> even if it's not really wrong. I have a couple of dozen other notes
> about t
Are you open to new opportunties in the Seattle area, or possibly know
someone
with apache or squid web server development experience who might be?
I'm working on 3 jobs, 2 w/ a Unix focus and one with an NT focus on the
same
product. Ideally they would like the candidate to relo to Seattle, and
Thanks for your help!
I'll look at Apache::Cookie, too. Although I don't really see the big
difference in simplicity.
Aaron
> On Fri, 4 Feb 2000, Aaron Ross wrote:
>
> > Hi!
> > I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it,
> > create and parse Cookies. Howev
Hello, I searched the mod_perl archive and couldn't
find any instances where module/sandwich (which I don't
need or want) was the one test which failed in the
installation of mod_perl.
I have tried with EVERYTHING=1, all of the major stuff
except SSI, and with no directives to perl Makefile.PL
H
Do you have a recent Apache::Sandwich installed?
I'm still running mod_perl 1.19 because nothing has "forced" me to
upgrade the production servers yet ;-) Everything worked fine up
through that version, at least.
Can you dig up the error log entries, and what happens if you run the
Sandwich tes
Hi all you "been there" guru's.
I'm climbing the learning curve and seeking direction.
A little background then where I'm trying to go:
Pascal, dBase, bash, Visual Basic 3.0 programming experince. This
included little projects without full "life-cycle" development, etc. I don't have a
degree
Well, you have a very large goal. Obviously, the first thing you need to
do to learn the language. In your case you've chosen Perl (good choice).
I'd recommend the following books:
You may want to start with Elements of Programming with Perl. It teaches
you programming from the ground up (ass
> From: John Siracusa <[EMAIL PROTECTED]>
> beneficial to have a newsgroup. I know Usenet is the first
> place I looked for mod_perl help before finding this list
> (and after finding, buying, and reading the Eagle book ;)
I agree - it's just that I find
people on a mailing list a little
less
> From: brian moseley <[EMAIL PROTECTED]>
> Date: Thu, 3 Feb 2000 13:02:01 -0800 (PST)
> what about a mail <-> news gateway?
>
>
Um, no, it might allow:
'Anonymous spamming' ?
__
http://www.fccj.org/cgi/mail?sneex
> From: Ask Bjoern Hansen <[EMAIL PROTECTED]>
> On Thu, 3 Feb 2000, Bill Jones wrote:
>
> [...]
>> I have to whole heartily agree. I couldn't, at first glance, find
>> the mod_perl mailing list; but once I did, the posters here proved
>> very helpful. I believe that once more people see the mai
Johnny Westerlund wrote:
>
> Hi there i wonder if someone can help me with getting ASP to work if this is
>unapropriate please forgive my ignorence, and disregard from this message.
> I'm running Debian Linux with Apache
>
Johnny,
Congrats! Its working, just that there is a bug in the exampl
I apologize if this is a dumb question, but I just installed Apache and
mod_perl and all seems to have gone well. The trouble comes in when I try
to run a script using Apache::Registry and CGI.pm. I get an extra
Content-Type in the resulting page, and I can't figure out where it's coming
from.
On Fri, 4 Feb 2000, Scott Chapman wrote:
> What books do I need to read?
There are plenty of good books on Perl, but don't neglect to read the
excellent man pages. If you read all the man pages as well as The Guide
at htp://perl.apache.org/guide/ you will be well on your way.
- Perrin
At 06:21 PM 02/04/00 -0800, John Darrow wrote:
>I apologize if this is a dumb question, but I just installed Apache and
>mod_perl and all seems to have gone well. The trouble comes in when I try
>to run a script using Apache::Registry and CGI.pm. I get an extra
>Content-Type in the resulting pag
> From: [EMAIL PROTECTED]
> Date: Fri, 04 Feb 2000 16:30:13 -0500 (EST)
> Subject: module/sandwich kills otherwise nice make test
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>
> Hello, I searched the mod_perl archive and couldn't
> find any instances where module/sandwich (which I don't
> need or
75 matches
Mail list logo