Re: BUG?: POST/GET data loss

2003-12-11 Thread Ged Haywood
Hi there, On Wed, 10 Dec 2003, Hakan Nilsson wrote: > Most often we have links like > > A link! > > which sometimes work and sometimes fails Have you checked the error_log? 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: another try on the child process failing

2003-12-11 Thread Ged Haywood
Hi there, On Thu, 11 Dec 2003, John Saylor wrote: > i decided to try and let perl do as much of it as i could. here is my > makepl_args.mod_perl: > APACHE_SRC=../apache_1.3.29/src USE_APACI=1 USE_DSO=1 [...] I'd always start with a statically linked mod_perl if I could. Is there a reason you nee

Re: Data lost when browser refreshed

2003-12-16 Thread Ged Haywood
Hi there, On 15 Dec 2003, Perrin Harkins wrote: > On Mon, 2003-12-15 at 18:58, Tom Conway wrote: > > I'm using RH8 and have the latest rpm. > > Newer source rpms (non-redhat) won't compile because of dependencies. > > Red Hat doesn't support that version anymore, do they? Sounds like you > need

Re: Can't read in RAW_ARGS

2003-12-16 Thread Ged Haywood
Hi there, On Mon, 15 Dec 2003, Alexey Zayats wrote: > time to rewrite my mod_perl application. > [snip, snip] > Every parsing methods, such as TAKE1, TAKE2 etc., works fine. It would have been enormously helpful if you had said you were working through the examples in Chapter 8 of the Eagle Book

Re: use vars question

2003-12-16 Thread Ged Haywood
Hi there, On Tue, 16 Dec 2003, Chris Ochs wrote: > If I declare some package globals with use vars(), will the values be > persistant in mod_perl, or will they go undefined after the code is done > executing? They are global, so they persist until the death of the interpreter which executed thos

Re: Install as DSO problems

2003-12-17 Thread Ged Haywood
Hi there, On Wed, 17 Dec 2003 [EMAIL PROTECTED] wrote: > I am running Solaris 9, perl 5.6.1, apache 1.3.22. > I am trying to install mod_perl as a DSO [snip] First, please read the documentation to see what other information you should supply, you'll find useful links at the bottom of any messag

Re: Perl warn failures

2003-12-17 Thread Ged Haywood
Hi there, On Wed, 17 Dec 2003, Kit DeKat wrote: > The old app-server was R7.3/P5.6.1/A1.3.23 (Redhat/Perl/Apache versions) > and through CVS migrated to a the new app-server, which is > R9.0/P5.8.0/A2.0.48 and afterwards our scripts starting > freezing/timeouts/partial data retrieval. H.

Re: Perl warn failures

2003-12-17 Thread Ged Haywood
Hello again, On Wed, 17 Dec 2003, Kit DeKat wrote: > >Are you using mod_perl? > > yes i am, i have perl environments defined in the conf file and various other > factors that are identical between all servers as well. Please read http://perl.apache.org/maillist/email-etiquette.html and please

Re: Where is default Loaded Modules configuration ???

2003-12-18 Thread Ged Haywood
Hi all, On Wed, 17 Dec 2003, Stas Bekman wrote: > Michael D Schleif wrote: > [...] > > Soon, I will be adept at searching for my answers; > > No worries, try to do your best to find the answers in the copious docs at > perl.apache.org (hint: use the search) I still find that it's productive to

Re: index.pl won't executed with mod_perl and apache

2003-12-19 Thread Ged Haywood
Hi there, On Thu, 18 Dec 2003, James.Q.L wrote: > i have a directory which execute mod_perl program. i want to requestion > site.com/printer/ and > index.pl get executed. however i got directory listing instead. requestiong index.pl > directly runs fine. > > both index.pl and /www/printer are

Re: Problems with configuring mod_perl / apache 1.3.29 and mod ssl -2.8.16-1.3.29

2003-12-21 Thread Ged Haywood
HI all, On Sat, 20 Dec 2003, Stas Bekman wrote: > See: http://perl.apache.org/bugs/ PING perl.apache.org (209.237.227.195) from 212.22.195.7 : 56(84) bytes of data. --- perl.apache.org ping statistics --- 9 packets transmitted, 0 packets received, 100% packet loss Is anyone else having problems

Re: Shared memory broke ;.;

2003-12-21 Thread Ged Haywood
Hi there, On Sat, 20 Dec 2003, Daniel Wilson wrote: > Moved my site to a new server. > > Old Server > PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND > 30056 apache 9 0 10964 10M 10288 S 0.0 0.7 0:00 0 httpd > New Server > 2733 apache16 0 12716 1

Re: Problems with configuring mod_perl / apache 1.3.29 and mod ssl -2.8.16-1.3.29

2003-12-21 Thread Ged Haywood
Hi Stas, On Sun, 21 Dec 2003, Stas Bekman wrote: > > Is anyone else having problems just now? > > It's down. Due to a fire in SF. Oh. Careless. > If the user has even tried to read the online docs, there is at > least 3 places in the installation... :) 73, Ged. -- Reporting bugs: htt

Re: getting any version of modperl to run

2003-12-22 Thread Ged Haywood
Hi there, On Mon, 22 Dec 2003, Teddy Mills wrote: > when mod_perl is compiled, it wants to rebuild the apache, and it doesnt > compile any of these modules. The instructions for compiling a mod_perl Apache do mostly just that. If you need other modules compiled when Apache is compiled then you m

Re: Shared memory broke ;.;

2003-12-22 Thread Ged Haywood
Hello again, Please keep it on the List. On Sun, 21 Dec 2003, Daniel Wilson wrote: > The new system has 512MB ram as aposed to the old having 1.5GB That in itself would suggest to me that the settings in your httpd.conf might need to be different on the two machines. Are they? Have you looked

Re: [ANNOUNCE] Apache::Scoreboard 2:01

2003-12-22 Thread Ged Haywood
Hi guys, On Mon, 22 Dec 2003, Stas Bekman wrote: > Jay R. Ashworth wrote: >> On Mon, Dec 22, 2003 at 01:28:40PM -0800, Stas Bekman wrote: >... Guys, it's Christmas. 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: mod_perl 1.99.07-5 test failed

2003-12-22 Thread Ged Haywood
Hi there, On Mon, 22 Dec 2003, Hyoung-Kee Choi wrote: > mod_perl failed to test and generated a strange coredump. The following of > the coredump revealed that the dump was occurred because of the null value > in dconf->sec_files in ap_pcw_walk_files_config in modperl_pcw.c. Any > suggestions to

Re: mod_perl 1.99.07-5 test failed

2003-12-22 Thread Ged Haywood
Hello again, On Mon, 22 Dec 2003, Ged Haywood wrote: > Please see > > http://perl.apache.org/bugs/ > > and provide the information requested there. Agh. Just read your subject line again. Please upgrade to the latest mod_perl, and if the problem persists *then* provide

Re: [ANNOUNCE] Apache::Scoreboard 2:01

2003-12-23 Thread Ged Haywood
Hi guys, On Mon, 22 Dec 2003, Stas Bekman wrote: > >>Guys, it's Christmas. > > eh? so? So you could at least mark this thread [OT]. :) 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Subroutine main redefined at ...

2003-12-24 Thread Ged Haywood
Hello there, On Tue, 23 Dec 2003, Charlie Smith wrote: > When running a .pl script from browser, an error message in the > apache log indicates that the subroutines have already been defined. > I assume this is because mod_perl or apache or the server has cached > this subroutine. How to keep th

Re: Minor Problem .tar.tar

2003-12-24 Thread Ged Haywood
Hello there, On Wed, 24 Dec 2003, Kent, Mr. John (Contractor) wrote: > This is a very minor problem but it has existed for a long time. > When downloading the source for mod_perl-2.0 you get a file > > mod_perl-2.0-current.tar.tar Where are you downloading that from? The link at http://perl.a

Re: Subroutine main redefined at ...

2003-12-29 Thread Ged Haywood
Hi there, On Mon, 29 Dec 2003, Charlie Smith wrote: > looking in the http://perl.apache.org/maillist/modperl.html#Searchable_Archives > then chose to goto http://www.mail-archive.com/[EMAIL PROTECTED]/ from there. > Didn't really find anything to specifically address the question. The search mec

Re: [mp1] signal handler for USR2 in startup.pl doesn't work

2003-12-30 Thread Ged Haywood
Hi there, On Tue, 30 Dec 2003, Gary Denslow wrote: > a signal handler for USR2 has been setup in startup.pl, but sending > a USR2 to the root httpd process does not result in the execution of > the signal handler > apache: 1.3.29; mod_perl: 1.29; perl: 5.8.2 I think signal handling is a bit of a

Re: ithreads with modperl

2004-01-09 Thread Ged Haywood
Hi there, I'd echo what Perrin has said, but if only for the archives I need to ask: On Fri, 9 Jan 2004, Simon Clewer wrote: > [snip] we're using heaps of memory. > > Does anybody know how we can reduce the amount of memory we use ? - is there > some smart way to actually share the images. The

Re: Bandwidth limiting (per client or global)?

2004-01-17 Thread Ged Haywood
Hi there, On Fri, 16 Jan 2004, Dave Rolsky wrote: > I looked for a flexible bandwidth limiting solution that would let me > apply limits to a location, vhost, the whole server, and on either a > per-client or global basis. > > I couldn't find one, but I may have missed something obvious. I know

Re: perl sections howto?

2004-01-20 Thread Ged Haywood
Hi Stas, On Tue, 20 Jan 2004, Stas Bekman wrote: > what would it take for people to play nice on this list and truncate those > silly quote-the-whole-thread at the bottom mess/waste? Just don't answer them. 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://per

Re: perl sections howto?

2004-01-20 Thread Ged Haywood
Hi Stas, On Tue, 20 Jan 2004, Stas Bekman wrote: > How would they know that they aren't being answered because they posted > the question or the followup the way they do it 100 times a day? By reading http://perl.apache.org/maillist/email-etiquette.html#Replying_to_posts 73, Ged. -- Reporti

Re: Actions of $r->update_mtime

2004-01-21 Thread Ged Haywood
Hello there, On Wed, 21 Jan 2004, David Dyer-Bennet wrote: > (Apache 1.3.22, mod_perl 1.26). > [snip] > So, any suggestions? In addition to Geoff's comments I think you should upgrade ASAP to the latest versions of Apache and mod_perl. If you don't, you are likely to come up against a few thin

Re: ERROR : "httpd: relocation error with Parser.so"

2004-01-22 Thread Ged Haywood
Hi there, On Thu, 22 Jan 2004, S D wrote: > When using LWP::UserAgent module, I get following error : > /opt/ora9/product/9.2/Apache/Apache/bin/httpd: relocation error: > /opt/ora9/product/9.2/Apache/perl/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/HTML/Parser/Parser.so: > undefined s

Re: Controlling bandwidth with mp2

2004-01-23 Thread Ged Haywood
Hello there, On Fri, 23 Jan 2004, gerard uolaquetalestem wrote: > looking for modules who control bandwith in apache2 > [snip] > Read in mail-lists: "The apache module, mod_throttle, worked > well, but increased CPU load to unusable levels for my employer. > We dropped both of them shortly after

Re: Re[2]: GIF contents not "coming out"

2004-01-24 Thread Ged Haywood
Hi there, On Sat, 24 Jan 2004, Chris Drake wrote: > Reading up on the meaning of "$/" I find that it's on page 666 of > the perl bible - is this an omen? Wrong beast. My copy of the Camel Book only goes up to page 645. > maybe a small extra manual section "EXAMPLES" ... > (especially for busy

RE: Re[2]: GIF contents not "coming out"

2004-01-24 Thread Ged Haywood
Hello there, On Sat, 24 Jan 2004, semuel wrote: > you don't need to "\r\n\r\n". "\n\n" will do the job. According to the standard you should send both \r and \n. It is bad practice to play fast and loose with standards. http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html 73, Ged. -- Repo

Re: [mp1] RH9 / apache 1.3.29 / mod_perl 1.29 / perl 5.8.0 segfault

2004-01-27 Thread Ged Haywood
Hi there, On Tue, 27 Jan 2004, Matthew Avitable wrote: > This one has me stumped. After installing with clean tarballs of > apache_1.3.29 and mod_perl-1.29 on a RedHat 9 box, I'm getting a > segfault upon making a request. :( > I searched the archives, and this one looked relatively close i

Re: Debugging with Apache::DB: how to disable unneeded debug output?

2004-01-27 Thread Ged Haywood
Hi there, On Tue, 27 Jan 2004, Egor Shipovalov wrote: > I'm debugging my mod_perl/Mason application interactively using Apache::DB. > While everything seem to work as advertised, I get a lot of unneeded console > output from httpd. Looks like it's reporting every subroutine and eval call: > [snip

Re: mod_perl.so error preventing httpd startup

2004-01-28 Thread Ged Haywood
Hello there, On Wed, 28 Jan 2004, Paul Prinsloo (TEBiVO) wrote: > I've recently tried to upgrade both the openssl and openssh packages on > my system (Red Hat 9 OS). Just those? > All installations went without hiccups Are you sure about that? > when I tried starting up the httpd daemon after

Re: SDBM_File issues?

2004-01-30 Thread Ged Haywood
Hi Perrin, On Fri, 30 Jan 2004, Perrin Harkins wrote: > Has anyone ever had trouble with SDBM_File not being able to open dbm > files created under mod_perl from a command line script? Stupid question: this isn't the old "first 4k not getting flushed" file locking bug? 73 Ged. -- Reporting

Re: SDBM_File issues?

2004-01-30 Thread Ged Haywood
Hi Perrin, On Fri, 30 Jan 2004, Perrin Harkins wrote: > > file locking bug? > > The mod_perl code unties the file after using it. > > The message I get is "panic: sv_setpvn called with negative strlen" Yikes! Misconfigured build, nasty bug, linked with wrong library...?? 73, Ged. -- Repo

Re: SDBM_File issues?

2004-01-30 Thread Ged Haywood
Hi guys, On Fri, 30 Jan 2004, Stas Bekman wrote: > I think perl brings in its own SDBM implementation Another one: is mod_ssl involved anywhere? >From mod_ssl-2.8.16-1.3.29/INSTALL NOTE: The --enable-rule=SSL_SDBM option enabled the use of the built-in SDBM library instead of a custom de

Re: SDBM_File issues?

2004-02-01 Thread Ged Haywood
Hi Perrin, On 1 Feb 2004, Perrin Harkins wrote: > On Fri, 2004-01-30 at 19:52, Ged Haywood wrote: > > Another one: is mod_ssl involved anywhere? > > It is. > > > NOTE: The --enable-rule=SSL_SDBM option > > As far as I can tell from httpd -V, that option was no

Re: Make test fails on Solaris 8

2004-02-02 Thread Ged Haywood
Hello there, On Mon, 2 Feb 2004, Mark Round wrote: > I have a problem with building mod_perl on Solaris 8. > ... > OS: Solaris 8 2/02 > GCC - tried various 3.x versions and 2.95.3 > Perl : 5.6.1 from SunFreeware I think you should build that yourself. I notice that 'useperlio' is 'undef' in you

Re: Make test fails on Solaris 8

2004-02-02 Thread Ged Haywood
Hello again, On Mon, 2 Feb 2004, Mark Round wrote: > Any further thoughts ? Have you compared the output of 'perl -V' from the two machines in excruciatingly fine detail? 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html Lis

Re: Make test fails on Solaris 8

2004-02-02 Thread Ged Haywood
Hello again, On Mon, 2 Feb 2004, Mark Round wrote: > [snip] > saw this when requesting one of these URLS :- > [snip] > stat64("/home/dougm/lib/perl/mod_perl_hooks.pmc", 0xFFBEF170) (sleeping...) Have you done everything in .../mod_perl-1.29/t/README and do the configuration files in there diff

Re: Trouble with Apache::Test while testing mod_perl 1.99_12

2004-02-03 Thread Ged Haywood
Hi there, On Mon, 2 Feb 2004, Andrew Wyllie wrote: > I'm running into a problem trying to test mod_perl. When I run make > test, it looks like all the servers are starting up properly, but > the test script says it's still waiting for the server to start up. > I'm running FreeBSD 5.2 (ok, that

Re: Make test fails on Solaris 8

2004-02-03 Thread Ged Haywood
Hi there, I tried grep -r ~/src/mod_perl-1.29 and found all kinds of interesting things. One such was at the very end of ~/src/mod_perl-1.29/STATUS and might be worth investigating. 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modpe

Re: Testing mod_perl

2004-02-03 Thread Ged Haywood
Hi there, On Tue, 3 Feb 2004, Hemond, Steve wrote: > I just installed Apache2/mod_perl2 and wants to test it. > ... > [Tue Feb 03 11:23:46 2004] [error] failed to resolve handler `Apache::Registry' > ... > What's wrong? http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts

Re: newbie question - how to trap an HTTP GET (pre & post) but letting apache do the real work?

2004-02-03 Thread Ged Haywood
Hi there, On Tue, 3 Feb 2004, Ian Huynh wrote: > Is it possible to use mod_perl to handle the following > > on a HTTP GET or POST, do the following > a) on invocation of GET or POST use perl/mod_perl to do an external call to > perform a task > b) let apache handle the GET/POST as normal >

Re: conference talks

2004-02-03 Thread Ged Haywood
Hi Perrin, On Tue, 3 Feb 2004, Perrin Harkins wrote: > Okay, I need a little feedback here on which of these talks I should > submit for conferences this year. Er, which conferences? > "Perl is write-only!" How many times have you heard comments like this? Well a guy called Erik in Los Angele

Re: conference talks

2004-02-04 Thread Ged Haywood
Hi Perrin, On Tue, 3 Feb 2004, Perrin Harkins wrote: > > Er, which conferences? > > The O'Reilly Open Source Convention, YAPC::NA in Buffalo, and ApacheCon. Hrrrmmm. I think you need three talks. :) 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache

Re: [mp2] Any way to reload perl modules w/o restarting Apache?

2004-02-04 Thread Ged Haywood
Hello there, On Wed, 4 Feb 2004, Shannon Eric Peevey wrote: > >Is there any way to reload perl modules w/o restarting Apache? > > http://perl.apache.org/docs/2.0/api/Apache/Reload.html > http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__StatINC_ Note that these may only be suit

Re: Apache::Test on FreeBSD

2004-02-04 Thread Ged Haywood
Hi there, On Wed, 4 Feb 2004, Andrew Wyllie wrote: > after rereading my previous post, I found one slight difference > (funny how it works that way sometimes). :) > When I used telnet to connect to the server, it used '::1' as an > address for localhost as opposed to 127.0.0.1 . So I changed

Re: Print X.509 certificate

2004-02-06 Thread Ged Haywood
Hello there, On Fri, 6 Feb 2004, Manuel Gil Perez wrote: > I've install/configure an Apache server with SSL support (and client > authentication). How can I print in the client web page his certificate > complete?? This is the mod_perl Mailing List. Your question does not appear to be about mod

Re: Print X.509 certificate

2004-02-06 Thread Ged Haywood
Hello there, On Fri, 6 Feb 2004, Manuel Gil Perez wrote: > Excuse me for my question, but it's a dude for this mailing list. Please refer to Reporting bugs: http://perl.apache.org/bugs/ 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/

RE: Installing modperl under different directory tree

2004-02-06 Thread Ged Haywood
Hi guys, On Fri, 6 Feb 2004, Hamilton, Henrique H wrote: > I also haven't had much luck building modperl2 statically into apache2.0.48. Unless I've missed something that's not supported yet I'm afraid. 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apach

Re: open proxy behavior without obvious open-proxy config

2004-02-07 Thread Ged Haywood
Hi there, On Fri, 6 Feb 2004, Vincent Kargatis wrote: > I have an apache server using mod_proxy that is acting like an open > proxy even though I have ProxyRequests turned Off. > [sinp] > Perhaps I'm missing something simple: How about this? http://httpd.apache.org/docs/mod/mod_proxy.html#acces

Re: [mp2] Can I link mp2 statically?

2004-02-09 Thread Ged Haywood
Hi there, On Sun, 8 Feb 2004, Beau E. Cox wrote: > Can I link mp2 statically? Don't think so, not yet. 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Registry not loaded...script still works

2004-02-09 Thread Ged Haywood
Hi there, On Mon, 9 Feb 2004, Jonathan Mangin wrote: > I have a static installation of mod_perl-1.29 with apache-1.3.29. Makes no diffference in this case. > Apache::Registry lines are commented in httpd.conf and startup.pl. Well some of them seem to be... :) > Apache::Status shows that ::Reg

Re: [mp2] Regex memory leak introduced in 5.8.1 causes havoc in mp2

2004-02-09 Thread Ged Haywood
Hi there, On Mon, 9 Feb 2004, Richard F. Rebel wrote: > After upgrading to perl 5.8.1 from 5.8.0 during a distribution upgrade, > I noticed a steady memory leak that eventually leads to the server > failing. :( > My question is, for a persistent mp2 app, is there a potential way to > workaround

Re: [mp2] Regex memory leak introduced in 5.8.1 causes havoc in mp2

2004-02-09 Thread Ged Haywood
Hello again, On Mon, 9 Feb 2004, Richard F. Rebel wrote: > upgrading/downgrading distro provided base perl installations is > often more of a nightmare than it's worth. It can sometimes cause a little frustration, so I prefer to avoid the versions provided by the distributions in the first place

Re: Embeding an executable into a script

2004-02-09 Thread Ged Haywood
Hi there, On Mon, 9 Feb 2004, Pierre Smolarek wrote: > To help improve script speed with mod perl, we need to somehow embed an > executable inside a mod_perl script. Forgive me for being cynical, but your explanation is unconvincing. > Take for example, top. Is it possible to embed top inside a

RE: Embeding an executable into a script

2004-02-10 Thread Ged Haywood
Hi there, On Mon, 9 Feb 2004, Pierre Smolarek wrote: > Is there a way to somehow attach the required executable somehow inside the > httpd alongside mod_perl (in resident memory) instead of forking out the > call to the system. No. Even if it could be done, it could not be maintained. I really

Re: Request Object Work Flow - is_initial_req, is_main, main

2004-02-11 Thread Ged Haywood
Hi there, On Wed, 11 Feb 2004, Geoffrey Young wrote: > > I am very near in completing a module that allows one to dynamically > > re-map Apache's DocumentRoot directive based on a given URI. > > this is a really difficult thing you are trying to do. Did anyone find the problem to this solution?

Re: ? with mod_perl on OS X

2004-02-12 Thread Ged Haywood
Hi there, On Wed, 11 Feb 2004, Pat Eyler wrote: > I'm trying to get mod_perl running on my OS X (panther) system, and am > running into some issues with IO. I've got a trivial script which runs > properly as a cgi, but fails under Apache::PerlRun or Apache::Registry: > ... > Anyone have a clue t

Re: ? with mod_perl on OS X

2004-02-12 Thread Ged Haywood
Hi Stas, On Thu, 12 Feb 2004, Stas Bekman wrote: > Just to add to Pat's report. The issue is with tied STDOUT and has something > to do with perl. Someone else had a similar problem and they said the problem > has gone away after recompiling perl. Ah, I think I remember - was it something to d

Re: DSO or static on RH9 ?

2004-02-12 Thread Ged Haywood
Hi there, On Thu, 12 Feb 2004, Tom Gazzini wrote: > I'm trying to decide whether to buid mod_perl as DSO for a production > environment. Build static if you possibly can. > Does mod_perl built as a DSO run slower on Apache 1.3.29 on RedHat 9 ? The speed difference is completely insignificant.

Re: Shared Module Vars, Missing Object Methods?

2004-02-13 Thread Ged Haywood
Hi there, On Fri, 13 Feb 2004, Morbus Iff wrote: > I'm building a series of scripts with the intent to make them usable > under both mod_perl and regular .cgi at the same time If I were you I wouldn't do that. > Since I'm building the code from scratch, I am currently using > Apache::Registry

Re: Shared Module Vars, Missing Object Methods?

2004-02-14 Thread Ged Haywood
Hello again, I see Perrin's picked up on this thread too, so some of my replies might be superfluous now but I didn't want to just abandon it. On Fri, 13 Feb 2004, Morbus Iff wrote: > >Code handlers, get rid of globals and closures, run 'httpd -X'. > > Could you tell me more what you mean by "

Re: Shared Module Vars, Missing Object Methods?

2004-02-14 Thread Ged Haywood
continued... On Fri, 13 Feb 2004, Morbus Iff wrote: > I forgot to ask the most obvious: > > * You're starting a script. It needs to > run under CGI and mod_perl. You'd have to explain that bit to me first. > * You're starting a new project under mod_perl. > What would your startin

Re: [OT] Re: Shared Module Vars, Missing Object Methods?

2004-02-14 Thread Ged Haywood
Hi there, On Fri, 13 Feb 2004, Garth Webb wrote: > So what is a good alternative to Apache::Registry? My impression was > that this is the thing to use unless you want the extra functionality of > something like HTML::Mason. I'm not sure I understand the question. Apache::Registry offers a mea

Re: [OT] Re: Shared Module Vars, Missing Object Methods?

2004-02-17 Thread Ged Haywood
Hi there, On Tue, 17 Feb 2004, Garth Webb wrote: > (Ged, Sorry for the off-list response) Apology accepted. :) Actually for some reason it found its way to my backup mail exchanger so it sat there a while unnoticed. But this thread's not OT at all. Quite the reverse, it addresses an important

Re: Apache::Registry vs Other PerlHandlers (Was: Re: [OT] Re: Shared Module Vars, Missing Object Methods?)

2004-02-17 Thread Ged Haywood
Hello again, On Tue, 17 Feb 2004, Garth Webb wrote: > Right now I think I might try to convert a select few of our most hit > scripts into handlers to see if some performance can be gained. > ... > during high load days our 3 servers really break a sweat as it is. Could be worth mentioning that

Re: [mp2] Problem w/Set-Cookie header and Internet Explorer

2004-02-20 Thread Ged Haywood
Hi there, On Thu, 19 Feb 2004, Scott Scecina wrote: > Apache 2.0.48 (pre-fork), Perl 5.8.3, and mod_perl 1.99_12 on a RH Linux > ... when I connect with Internet Explorer (6, on XP) I don't seem to be > getting the Set-Cookie headers ... Other headers ... seem to be fine. > ... they *were* being

Re: MPM worker and ithreads

2004-02-23 Thread Ged Haywood
Hi there, On Mon, 23 Feb 2004, Richard F. Rebel wrote: > I am using ap2 + mp2 with the worker mpm and ithreads to serve about 12 > million dynamically generated pages per day. ... expense ... performance > ... bugs ... ithreads ... snots on P5P Thanks very much for that report, it's really usefu

Re: [OT-ish] Good name for generic wrapper around Apache::Session?

2004-02-23 Thread Ged Haywood
Hi Dave, On Mon, 23 Feb 2004, Dave Rolsky wrote: > On Mon, 23 Feb 2004, Jean-Michel Hiver wrote: > > > Well if you write 'a wrapper around Apache::Session', then I think you > > should call it Apache::Session::Wrapper since that's what you say it is... > > True enough, I guess. But the original

Re: ANNOUNCE: Apache::SMTP

2004-02-24 Thread Ged Haywood
Hi all, On Tue, 24 Feb 2004, mock wrote: > Apache::Net::Server::Mail::SMTP::Mail::Audit::PGP or something of the like is > just aesthetically sucky. So, suggestions please? You're quite right. I'm starting to think there should be some kind of an on-the-hoof database lookup for namespaces. 7

Re: ANNOUNCE: Apache::SMTP

2004-02-24 Thread Ged Haywood
Hi guys, On Tue, 24 Feb 2004, Stas Bekman wrote: > when you write an application you give it some name ... unique and cool > ... e.g. Apache::MockMail Now that's nice! 73, Ged. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List e

Re: Compiliing mod_perl 1.29 from source on Debian Woody

2004-02-25 Thread Ged Haywood
Hi there, On Wed, 25 Feb 2004, Slade Edmonds wrote: > anyone successfuly compiled mod_perl 1.29 from source on Debian Woody? I haven't ever used Debian, but I'll ask you a question anyway. :) > modules/standard/libstandard.a(mod_include.o): In function `handle_perl': > perl -v > > This is perl

Re: Compiliing mod_perl 1.29 from source on Debian Woody

2004-02-25 Thread Ged Haywood
Hello again, On Wed, 25 Feb 2004, Slade Edmonds wrote: > [snip] > Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: > [snip] > Compiler: > [snip] gccversion='2.95.4 20011002 (Debian prerelease)', Does the output of gcc -v look anything like that? 73, Ged. -- R

Re: Compiliing mod_perl 1.29 from source on Debian Woody

2004-02-25 Thread Ged Haywood
Hello again, On Wed, 25 Feb 2004, Slade Edmonds wrote: > gcc version 2.95.4 20011002 (Debian prerelease) I noticed you were building in /usr/local/src or some such place, does that mean you're doing all this as root? That's not usually a good idea. Although don't think that this is likely to b

Re: [MP2] "here" documents and UTF-8 and output filters

2004-02-25 Thread Ged Haywood
Hello there, On Wed, 25 Feb 2004, Matthew Darwin wrote: > If I create a string using here syntax: > my $string < ... > EOF > print $string; > > And $string contains UTF-8 characters they get mangled somehow when they > go through the output chain. > > However, if I build the same document using >

Re: Compiliing mod_perl 1.29 from source on Debian Woody

2004-02-25 Thread Ged Haywood
Hi there, On Wed, 25 Feb 2004, Slade Edmonds wrote: > Here I think lies a problem. Turns out there was no libperl.so on the > system. I installed the libperl5.6 package and now have: > > /usr/lib/libperl.so.5.6.1 > /usr/lib/libperl.so.5.6 > > Now when I run "perl Makefile.PL APACHE_SRC=../apach

Re: Apache2+mp2 Reverse Proxy -> Apache1+mp1

2004-02-25 Thread Ged Haywood
Hi there, On Wed, 25 Feb 2004, Richard F. Rebel wrote: > I would be interested if anyone knows of a mod_proxy replacement > that does this sort of multiplexing I had an idea that mod_accel would do that, but it's been a while so I could be completely wrong. 73, Ged. -- Report problems: http:/

Re: [OT] Forcing httpd's to not swap out of memory

2004-02-29 Thread Ged Haywood
Hi there, On Sun, 29 Feb 2004, Mark Maunder wrote: > Is there a way to force apache to stay in memory. Don't mount the swap space? 73, Ged. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/mail

Re: [OT] Forcing httpd's to not swap out of memory

2004-02-29 Thread Ged Haywood
Hello again, On Sun, 29 Feb 2004, Mark Maunder wrote: > > Don't mount the swap space? > I've considered it, but I have a few other processes that I'd like to > swap out If I read you right, this only happens when your Apache processes are inactive for some time. So why not set up a process whi

Re: [OT] Forcing httpd's to not swap out of memory

2004-02-29 Thread Ged Haywood
Hello again, On Sun, 29 Feb 2004, Mark Maunder wrote: > I could blast the server with ap every 10 minutes. Or every 10 seconds. > But it's not too elegant in that not all apache children are guaranteed > to serve requests, so some will stay in swap. They will if you make them die after serving

Re: [OT] Forcing httpd's to not swap out of memory

2004-03-01 Thread Ged Haywood
Hi there, On Mon, 1 Mar 2004, Mark Maunder wrote: > is anyone using the 2.6 kernel on live servers yet? Nearly did it, then I ran into problems with a VPN which only happen with the 2.6 kernel. Given the networking nature of the problems I thought better of it. This was with 2.6.x where x <= 1

Re: [mp2] "!!! server failed to start!" - all else fine(??)

2004-03-01 Thread Ged Haywood
On Mon, 1 Mar 2004, Edouard Lagache wrote: > ++ > | Please file a bug report: http://perl.apache.org/bugs/ | > ++ 73, Ged. -- Report problems: http://perl.apache.org/bugs/ Mail list

Re: Apache::Session and DB_File problems

2004-03-07 Thread Ged Haywood
Hi there, On Sat, 6 Mar 2004, Chris Ochs wrote: > stress testing a new application that uses apache::session with the > DB_File backend store. When hitting it with apache bench after a > few hundred connections something with the db file gets wacked, and > apache starts to segfault until I delet

Re: spammers trolling perl list?

2004-03-09 Thread Ged Haywood
Hi there, On Tue, 9 Mar 2004 [EMAIL PROTECTED] wrote: > Is anyone finding a lot of spammers trolling this list? > > I am collecting spam with the account [EMAIL PROTECTED] Not especially at the moment, but I get about 500 per week in my SpamAssassin 'caughtspam' box that you're welcome to have i

Re[2]: how best to debug random SEGVs?

2004-03-10 Thread Ged Haywood
Hi there, On Tue, 9 Mar 2004, justin wrote: > For what it is worth and in case anyone googles for this issue in > future, the segvs went away when I applied the latest kernel patches and > glibc stuff for redhat9, and the latest perl install, from > updates.redhat.com > > the kernel is now 2.4.20

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-10 Thread Ged Haywood
Hi there, On Wed, 10 Mar 2004, Charlie Smith wrote: > What is recommended way to build this into apache. > We'll need mod_rewrite, mod_perl (with DBD::Oracle), mod_php (with Oracle and > mysql), mod_ssl. I believe mod_dav comes with Apache 2. > > Should above all work together? Yes. There's mu

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-10 Thread Ged Haywood
Hello again, On Wed, 10 Mar 2004, Charlie Smith wrote: > What is recommended way to build this into apache. > We'll need mod_rewrite, mod_perl (with DBD::Oracle), mod_php (with Oracle and > mysql), mod_ssl. I believe mod_dav comes with Apache 2. I should have mentioned that you should have chos

Re: Total newbie question

2004-03-13 Thread Ged Haywood
Hi there, On Fri, 12 Mar 2004, Stelian Iancu wrote: > I am trying to setup mod_perl on my server. I have apache 1.3.29 and > mod_perl 1.27-r4 (on a Gentoo box). > > Here is the relevant section of commonapache.conf: Er, section of what?! We normally call it httpd.conf - is this something that's

Re: httpd.conf directives for mod_perl under Apache2

2004-03-14 Thread Ged Haywood
Hi Geoff, On Fri, 12 Mar 2004, Geoffrey Young wrote: (of http://perl.apache.org/~geoff/bug-reporting-skeleton-mp1.tar.gz and http://perl.apache.org/~geoff/bug-reporting-skeleton-mp2.tar.gz) > you can also drop a simple script in and see it run. That might be a useful addition to the README. (I

Re: mod_perl 1.99 problem

2004-03-14 Thread Ged Haywood
Hi there, On Sun, 14 Mar 2004, Dzuy Nguyen wrote: > I'm trying to run mod_perl 2.0 on RH 9.0. Apache and mod_perl are RH's > out of the box rpm. Throw away everything that came with RH9 and grab the sources for Perl, Apache and mod_perl. Install Perl first. Then read all the mod_perl doc's, s

Re: Installation / Configuration Questions

2004-03-17 Thread Ged Haywood
Hi there, On Tue, 16 Mar 2004, Mr. Egomaniac wrote: > I realize that this might be a newbie/already answered question :) > I've looked all over and can't seem to find anything that will help. Well you didn't search the list archives very thoroughly... :) http://www.gossamer-threads.com/perl/m

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ged Haywood
Hi there, On Thu, 18 Mar 2004, Michael wrote: > I have problems compiling apache under mac os x. I had no problems > without php but with php it doesn't work. Furthermore i need > mod_rewrite. I consulted docs at perl.apache.org and the install-guide > in practical mod_perl. What i did starting i

Re: REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Ged Haywood
Hi there, On Thu, 18 Mar 2004, Marc Brooks wrote: > /home/domain1.com/community/Community/Toolkit.pm -- Methods accessed by--> > http://domain1.com/community/login.cgi > /home/domain2.com/community/Community/Toolkit.pm -- Methods accessed by--> > http://domain2.com/community/login.cgi > /home/d

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ged Haywood
Hi there, On Thu, 18 Mar 2004, Michael wrote: > _actions_module > _include_module > _log_config_module I think there's stuff in apache's src/modules/standard directory which isn't being compiled. You could check if/why things in there aren't built, or maybe wipe the directory trees and try agai

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ged Haywood
Hi Stas, On Thu, 18 Mar 2004, Stas Bekman wrote: > FWIW, EVERYTHING=1 has nothing to do with Apache. I was just looking at this in mod_perl-1.27/Makefile.PL: if($EVERYTHING) { @callback_hooks{qw(PERL_STACKED_HANDLERS PERL_METHOD_HANDLERS)} = (1) x 2; for(qw(ALL_HOOKS PERL_SSI PERL_SECTI

Re: [mp2] httpd, perl process memory usage expectations; Gobs of OO Perl

2004-03-19 Thread Ged Haywood
Hi there, On Fri, 19 Mar 2004, Jay Hannah wrote: > We're playing with a large OO Perl 5 project under mod_perl. :( > Apache/2.0.48 (Unix) mod_perl/1.99_13 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7d > Linux 2.4.21-192-default #1 i686 i686 i386 GNU/Linux > (SuSe) That's an old kernel, I'd think i

  1   2   >