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 in

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

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 again

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... :)

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: 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: [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 much

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 if

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 delete

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: [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:

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 which

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. --

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

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

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 useful.

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: 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: 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 code

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 starting

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 to

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 do

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: 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: 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: 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

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? I

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: 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#access

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:

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:

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:

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 suitable

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 all

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:

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 73,

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 c)

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 your

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

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 differ

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 not used ... I may end up just writing some

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 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

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 a

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 people

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. --

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 things

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:

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. --

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. There

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: 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

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

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: 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

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: 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: 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:

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 grab

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: 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 to

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 those

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 href=page.html?foo=barbaz=1A link!/a which sometimes work and sometimes fails Have you checked the error_log? 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info:

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 need

Re: Newbie: what should I start with?

2003-12-08 Thread Ged Haywood
Hi there, On Mon, 8 Dec 2003, Leif K-Brooks wrote: I'm thinking about starting a new web project in Perl, and I'm not sure what to use: You haven't said what OS you're going to be using so I'll assume Linux or something similar. First you should probably upgrade to the latest version of

Re: How to get username and password with mod_perl?

2003-12-08 Thread Ged Haywood
Hi there, On Mon, 8 Dec 2003, Charlie Smith wrote: Guess I'm talking to myself on this one. Maybe the wrong list... :) I need to grab the user's username and password The facilities offered by mod_perl are more concerned with providing a general-purpose facility to assist Apache in serving

Re: Newbie: what should I start with?

2003-12-08 Thread Ged Haywood
Hi Stas, On Mon, 8 Dec 2003, Stas Bekman wrote: Ged Haywood wrote: [...] Assuming you're going for mod_perl, the first decision to be made is whether to use version 1 or version 2. Both versions of Apache are stable but mod_perl version 2 (or 1.99_xx as it's often known) is still

Re: RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Ged Haywood
Hi there, On Sat, 6 Dec 2003, Phil Rhoades wrote: % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs but apxs does not exist - does that mean I have to remove the apache rpm and build apache from src as well? Yes. If for no other reason than that you should ensure that Apache and

Re: RH9.0, httpd-2.0.40-21.i386.rpm, perl-5.9.0

2003-12-05 Thread Ged Haywood
Hello again Phil, On Sat, 6 Dec 2003, Phil Rhoades wrote: modperl_perl.c:226: `PL_rehash_seed' undeclared (first use in this function) I think this is probably because you're using Perl 5.9.0 - if you look at the bottom of src/modules/perl/modperl_perl.c you'll see a conditional which talks

Re: howto get a http request body only?

2003-12-03 Thread Ged Haywood
Hi Stas, On Wed, 3 Dec 2003, Stas Bekman wrote: my $post_data = STDIN; I don't think so, Ged. The above code will assign the STDIN filehandle to $post_data. ;) 'Sfunny, I've been using that for years... I wonder if something's happening that I don't know about? 73, Ged. -- Reporting

Re: howto get a http request body only?

2003-12-03 Thread Ged Haywood
Hi Stas, On Wed, 3 Dec 2003, Stas Bekman wrote: I suppose you forgot to mention the diamond operator: my $post_data = STDIN; :):):):):):):):):):):):):):):):):):):):):):):):):):) Yes, of course I did! 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info:

Re: howto get a http request body only?

2003-12-03 Thread Ged Haywood
Hi Stas, On Wed, 3 Dec 2003, Stas Bekman wrote: { local $/; my $post_data = STDIN; } # [snip] The above technique is a wide open invitation for DoS attacks... I'm not sure that the technique bears full responsibility for any DoS risk, but even so I don't think I impled that my one line of

Re: Objects

2003-12-03 Thread Ged Haywood
Hi there, On Wed, 3 Dec 2003, [iso-8859-1] Patricio Muñoz wrote: I don't found the examples or documentation where can make the convertion to Apache::ASP Apache::ASP is purely for Perl scripting, you can't use the same code that you would use in the M1cr0$0ft world. There is a separate Web

Re: [BUG] Inconsistent $r-print() behavior with references

2003-12-02 Thread Ged Haywood
Hi all, On Tue, 2 Dec 2003, Geoffrey Young wrote: it's fun to track this kind of stuff down, even if we end up not changing anything :) Shouldn't we in fact be changing something? My view would be that the dereferencing facility should be removed from the standard build but left as a

Re: [BUG] Inconsistent $r-print() behavior with references

2003-12-02 Thread Ged Haywood
Hi Geoff, On Tue, 2 Dec 2003, Geoffrey Young wrote: the danger here is changing the stable tree willy nilly. I was talking about fixing a fault which is partly the result of a daft and deprecated feature which has caused confusion in the past. Of course I thoroughly agree that changes to the

Re: Error

2003-12-02 Thread Ged Haywood
Hello there, On Tue, 2 Dec 2003, [iso-8859-1] Patricio Muñoz wrote: When execute the script the result is fine [snip] :) No, the result was not fine... The server encountered an internal error or misconfiguration ...because this is part of the result. However you haven't given anything

Re: [BUG] Inconsistent $r-print() behavior with references

2003-12-02 Thread Ged Haywood
Hi there, On Tue, 2 Dec 2003, Jonathan Field wrote: I am curious why the feature is to be disabled in 2.x? Not questioning the judgement, but wondering if it was determined to not be a worthwhile performance gain? I'm sure the performance impact is negligible. If you're looking for

Re: connection monitoring still

2003-11-29 Thread Ged Haywood
Hi there, On Sat, 29 Nov 2003, John Michael wrote: I'm trying to limit users to a certain folder to only 1 connection at a time. You've read the stuff that Randal's done I take it? http://www.stonehenge.com/merlyn/LinuxMag/col17.html There have also been several thread on this List which

Re: apache::Session expiry

2003-11-27 Thread Ged Haywood
Hi there, On Thu, 27 Nov 2003, Blanchard, Raphael wrote: How can you change the length (expiry) of sessions in Apache::Session? See these messages (and the rest of the thread) http://www.jsw4.net/info/list-archives/mod_perl/02-08/msg00464.html

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-27 Thread Ged Haywood
Hi Jay, Stas is probably in bed now. :) On Thu, 27 Nov 2003, Jay R. Ashworth wrote: no backtrace You need to run Apache under gdb (Gnu DeBugger). You run it like that, let it segfault, then you're returned to the debugger. You tell the debugger to give you a backtrace with the debugger's

Re: Build process prompts when PREP_HTTPD=1 is used

2003-11-24 Thread Ged Haywood
Hello again, On Mon, 24 Nov 2003, Wes Barris wrote: To avoid the two prompts: -- This is what I am trying to do. And this is my reply to your original question of November 17. :( I received no response. ) Why not try using a makepl_args.mod_perl file? Because it does

Re: Are we in mod_perl, and if so in a prefork MPM?

2003-11-24 Thread Ged Haywood
Hi there, On Mon, 24 Nov 2003, Elizabeth Mattijsen wrote: is there a way to find out whether a prefork MPM is being used in mod_perl while running a Perl script? use Config; ? 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info:

Re: Are we in mod_perl, and if so in a prefork MPM?

2003-11-24 Thread Ged Haywood
Hello again, On Mon, 24 Nov 2003, Elizabeth Mattijsen wrote: is there a way to find out whether a prefork MPM is being used in mod_perl while running a Perl script? use Config; ? I thought Config.pm was specific for your Perl installation, and had nothing to do with mod_perl? Hence

Re: Are we in mod_perl, and if so in a prefork MPM?

2003-11-24 Thread Ged Haywood
Hi all, On Mon, 24 Nov 2003, Geoffrey Young wrote: [snip, snip] Elizabeth Mattijsen wrote: What _I_ am interested in, is a flag with which I could see whether it would make sense to load as much as possible, rather than on demand. #ifdef USE_ITHREADS static void

Re: Install second apache/mod_perl on OS XPanther

2003-11-22 Thread Ged Haywood
Hello Angie, On Fri, 21 Nov 2003, angie ahl wrote: but it's unusual for it not to be there. What's the output of 'httpd -l'? That will tell you if mod_so is in there. root# /home/httpd/sbin/httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c

Re: Giovani - Problemas with RELOAD in MS Explorer

2003-11-22 Thread Ged Haywood
Hi there, On Fri, 21 Nov 2003, Giovani M. Zaffari wrote: Someone had a problem with the Reload / Refresh page using the mod_perl? No. I have a script that runs ok only the first time (or when it's not in the cache), but the second time some images disappear and the browser stay in a loop

Re: uninstalling apache 1x mp1 on linux

2003-11-21 Thread Ged Haywood
Hello there, Didn't see any reply to this. On Tue, 18 Nov 2003, Tim wrote: I believe I installed apache 1.3.29 and mod_perl incorrectly using $ ./configure --prefix=PREFIX Do you mean you used the literal text PREFIX? Assuming I want to start over, how does one go about wiping them off

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread Ged Haywood
Hi there, On Fri, 21 Nov 2003, angie ahl wrote: Am I safe following these instructions to make a second apache/mod_perl install on OSX Panther http://perl.apache.org/docs/1.0/guide/getwet.html If you mean the simple % cd /home/stas/src % tar -zvxf apache_1.3.xx.tar.gz % tar -zvxf

Re: Segmentation fault

2003-11-21 Thread Ged Haywood
Hello there, On Fri, 21 Nov 2003, Miha Lampret wrote: I installed Apache 2.0.47 with php5 and mod_perl 1.99.11 on RH 7.2. Both php and mod_perl are compiled as so modules. When I access some script I got segmentation falut. :( I tryied to find out which line is problematic but it

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread Ged Haywood
Hello again, On Fri, 21 Nov 2003, angie ahl wrote: of course how to do it is another thing ;) To include parts of the configuration file selectively you can start Apache with something like httpd -Dconfig1 -f/some/place/where/I/keep/my/httpd.conf and in the httpd.conf you can put something

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Ged Haywood
Hi there, On Fri, 21 Nov 2003, Jordan Lederman wrote: if I hit reload quickly ... (32)Broken pipe: client stopped connection... what 'feels' like is happening is that... When i hit reload before the queries are done... often the value of $page_links{numtotal} is 'someguy' which is a value

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread Ged Haywood
Hi Angie, On Fri, 21 Nov 2003, angie ahl wrote: I tried building apache with static linking, Apples comes with DSO. [snip] I haven't a clue what it's trying to tell me other than it's broken and is possibly something to do with DSO It would be better if you could give the full, exact

Re: $r losing its class membership

2003-11-18 Thread Ged Haywood
Hi there, On Mon, 17 Nov 2003 [EMAIL PROTECTED] wrote: I've encountered a weird, intermittent problem. I have a Perl handler that handles a certain URL. Sometimes it will fail because the $r passed to it loses its class. Your explanation of the problem hasn't convinced me - I've never

Re: How to verify my mp2 install?

2003-11-18 Thread Ged Haywood
Hi there, On Tue, 18 Nov 2003, Donnie Meador wrote: How can I verify my mod_perl 2 is installed correctly? By installing it yourself. :) The only clue that I can find is that when I start httpd I get this message in my Apache error_log: [Tue Nov 18 10:09:59 2003] [notice] Apache/2.0.47

Re: %ENV with apache modperl API

2003-11-15 Thread Ged Haywood
Hi there, On Sat, 15 Nov 2003, [iso-8859-1] SUCH SANMARTÍN, GERARD wrote: i'm trying to substitute my old cgi %ENV with $r-headers_in ... my %temp = $apache-headers_in; Isn't $apache-headers_in a hashref? 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info:

Re: [mp2] OutputFilter with UTF-8 characters

2003-11-12 Thread Ged Haywood
Hi Stas, On Tue, 11 Nov 2003, Stas Bekman wrote: [snip] Who would think that a response handler: print while FOO; would affect the special vars in the filter called by print. Who indeed! [snip] So let's decide how do we act upon this: [snip] I'm not sure whether we should make a

  1   2   >