Re: Apache::Registry and clearing package name space

2000-05-04 Thread Doug MacEachern
On Mon, 1 May 2000, Richard Chen wrote: Hello, I am having a problem clearing variables and aliases in a temporary package name space. The source of the problem is in making legend cgi scripts work under Apache::Registry. But the problem can be isolated and shown by the following

Re: mod_perl httpd binary suddenly stops working

2000-05-04 Thread Doug MacEachern
On Mon, 1 May 2000, James Olsen wrote: Hello, I have a mod_perl/apache binary and configuration file that I've been using successfully since October of last year. Last week I ran out of disk space (and might possibly have had the server flake out over the CPU overheating). Everything

Re: Cookies and redirection

2000-05-04 Thread Doug MacEachern
On Tue, 2 May 2000, Bill Desjardins wrote: Hi all, I checked the archives and the guide to no avail, so here goes. I am having trouble setting a cookie in the header and then doing a redirect. The cookies are working fine every where, but if I add a cookie to $r-headers_out-add(), set a

RE: $r-get_handlers bug/oversight? (possible fix)

2000-05-04 Thread Doug MacEachern
On Tue, 2 May 2000, Geoffrey Young wrote: ok, for anyone who is interested, I seem to have fixed the problem (maybe)... here's a patch for Apache.xs from yesterday's cvs (and I didn't see any commits since then...) --- Apache.xs.old Tue May 2 14:25:09 2000 +++ Apache.xs Tue

Re: Modperl/Apache deficiencies... Memory usage.

2000-05-04 Thread shane
what i'd really like to see is a generic symbol table walker (written in c), where you can register callbacks foreach symbol type (SVt_*). then once you hit an SVt_PVCV, there can be any number of registered callbacks that fiddle with the padlist (cleaner, reporter, etc.) So what you want

Re: Why does $r-print() dereference its arguments?

2000-05-04 Thread Doug MacEachern
On Wed, 3 May 2000, Jeffrey W. Baker wrote: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purpose of this behavior, or is it a misfeature? In my

Re: Modperl/Apache deficiencies... Memory usage.

2000-05-04 Thread Doug MacEachern
On Wed, 3 May 2000 [EMAIL PROTECTED] wrote: So what you want is something more general, climbs through the symbol table and can register callbacks for various things, right? One of right. which, the area I'm most interested in, is the PADLIST? Well, that's same here! certainly

Re: Can't use Apache::exit() in command-line scripts

2000-05-04 Thread Doug MacEachern
On Wed, 3 May 2000, Franco Finstad wrote: I have a large modperl site with modperl (CGI) scripts and command-line perl scripts. My command line scripts load modules (.pm files) that use Apache::exit(). This is giving me the following errors: ** Bareword

locus.apache.org hacked by white hats; FTP down for good, bugzilladown until audited.

2000-05-04 Thread Brian Behlendorf
Hi. We have been made aware (thanks to a very humorous banner ad for Microsoft Back Office on the front of www.apache.org!) that our particular configuration on www.apache.org of ftpd and bugzilla opened a security hole that allowed someone from the outside to get a shell account, and then get

Re: Apache.pm failed to LOAD!

2000-05-04 Thread Doug MacEachern
On Wed, 3 May 2000, Wang, Pin-Chieh wrote: Hi, I build the apache1.3.12 using mod_perl 1.23 on Solaris 2.6 machine, everything looks fine and installed successfully (at least the installation program told me so...) But when I start httpd using apachectl start, httpd did not start within

Problem with deleting uploaded files

2000-05-04 Thread Srinidhi Rao S
Hi all, Here I have a problem. I used CGI module to upload a file. But the problem is that the temp file created by CGI module is not getting deleted even after execution finished. It simply getting heaped in temp directory eating memory. Can anyone please give me a way through this???

Re: php And Apache::ASP

2000-05-04 Thread Joshua Chamas
Doug MacEachern wrote: On Thu, 27 Apr 2000, Jerrad Pierce wrote: [Thu Apr 27 06:14:07 2000] [error] [asp] [2726] cannot load Apache::Symbol for UndefRoutine: Can't locate Devel/Symdump.pm in @INC (@INC contains: why does Apache::ASP use Apache::Symbol::undef? that hack should be

Re: search engine for the Guide (was Re: Why does $r-print()...)

2000-05-04 Thread Stas Bekman
On Wed, 3 May 2000, Matt Sergeant wrote: On Wed, 3 May 2000, Stas Bekman wrote: Yeah, I've been thinking about it. There was one site that has offered me to provide a good search engine and they did, but the problem is that they didn't keep up with new releases, so people were searching

Re: Templates.

2000-05-04 Thread Bernhard Graf
"Jason C. Leach" wrote: I'm looking for some good ideas on developing web sites w/ mod_perl. One think we were looking at was to write template HTML pages, and run them through a perl prg to replace home made tags w/ data. Another was to write an apache mod that will contain/load the HTML

mod_perl of FreeBSD 4

2000-05-04 Thread Jason C. Leach
hi, I have freebsd 4, and am going to install mod_perl on it. If I go to /usr/ports/www/mod_perl and do a make, I get v1.21. But if I go to the ftp site it has up to v1.23. Can I change the ports, or update them to get the latest files? j. -- Method Digital Logic Company

RE: Help - Install mod_perl-1.23

2000-05-04 Thread James Xie
It seems I have some kind of permission problem but I don't know how to resolve it. Please take a look at the outputs from the commands I run. Really appreciate your help! James Helllo, I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1, everything was working fine. I run

Re: Why does $r-print() dereference its arguments?

2000-05-04 Thread Jeffrey W. Baker
On Wed, 3 May 2000, Doug MacEachern wrote: On Wed, 3 May 2000, Jeffrey W. Baker wrote: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the

RE: how do I use perl sections

2000-05-04 Thread Benedict Lofstedt
Eric, push @ScriptAlias, [ "/cgi-$_", "/users/$_/cgi-bin" ]; Where can I find better info than given in http://perl.apache.org/src/mod_perl.html#PERL_SECTIONS ? http://www.modperl.com/book/chapters/ch8.html#Configuring_Apache_with_Perl See the paragraph: "Directive is

Re: Templates.

2000-05-04 Thread Ken Y. Clark
On Wed, 3 May 2000, Jason C. Leach wrote: I'm looking for some good ideas on developing web sites w/ mod_perl. One think we were looking at was to write template HTML pages, and run them through a perl prg to replace home made tags w/ data. Another was to write an apache mod that will

RE: how do I use perl sections

2000-05-04 Thread Eric Cholet
-Message d'origine- De: Benedict Lofstedt [SMTP:[EMAIL PROTECTED]] Date: jeudi 4 mai 2000 15:38 À:Eric Cholet Cc: [EMAIL PROTECTED] Objet:RE: how do I use perl sections Eric, push @ScriptAlias, [ "/cgi-$_", "/users/$_/cgi-bin" ]; Where can I find

Re: Problem with deleting uploaded files

2000-05-04 Thread Ken Y. Clark
On Thu, 4 May 2000, Srinidhi Rao S wrote: Hi all, Here I have a problem. I used CGI module to upload a file. But the problem is that the temp file created by CGI module is not getting deleted even after execution finished. It simply getting heaped in temp directory eating memory. Can

Re: Apache::Registry and clearing package name space

2000-05-04 Thread Richard Chen
Unfortunately, the crucial part about clearing/removing subroutine alias does not work when using Apache::PerlRun-flush_namespace('Q') I suspect this is a bug in PerlRun. Here is the demo program (It can be run from the command line) $ cat tmp.pl #!/usr/bin/perl -w use strict; use

Re: Apache::ModuleConfig

2000-05-04 Thread Matt Sergeant
On Thu, 4 May 2000, raptor wrote: hi, someone to know is there Apache::ModuleConfig as separate package...? No, it comes with mod_perl. I think you require mod_perl 1.17 or higher. Can anyone on the mod_perl list confirm this? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists

Re: search engine for the Guide

2000-05-04 Thread Stas Bekman
On Thu, 4 May 2000, Stas Bekman wrote: On Wed, 3 May 2000, Matt Sergeant wrote: On Wed, 3 May 2000, Stas Bekman wrote: Yeah, I've been thinking about it. There was one site that has offered me to provide a good search engine and they did, but the problem is that they

Re: search engine for the Guide

2000-05-04 Thread Stas Bekman
On Thu, 4 May 2000, Matt Sergeant wrote: On Thu, 4 May 2000, Stas Bekman wrote: Yes. On some of the search engines (AltaVista springs to mind) you can search for things on particular web sites, or even links to particular web sites. So as long as AltaVista keeps its search contents

Re: search engine for the Guide (was Re: Why does $r-print()...)

2000-05-04 Thread Matt Sergeant
On Thu, 4 May 2000, Stas Bekman wrote: On Wed, 3 May 2000, Matt Sergeant wrote: On Wed, 3 May 2000, Stas Bekman wrote: Yeah, I've been thinking about it. There was one site that has offered me to provide a good search engine and they did, but the problem is that they didn't keep

Re: search engine for the Guide (was Re: Why does $r-print()...)

2000-05-04 Thread Rick Myers
On May 04, 2000 at 10:37:05 +0100, Matt Sergeant twiddled the keys to say: On Thu, 4 May 2000, Stas Bekman wrote: On Wed, 3 May 2000, Matt Sergeant wrote: On Wed, 3 May 2000, Stas Bekman wrote: Yeah, I've been thinking about it. There was one site that has offered me to

Re: Templates.

2000-05-04 Thread Matt Sergeant
On Wed, 3 May 2000, Jason C. Leach wrote: hi, I'm looking for some good ideas on developing web sites w/ mod_perl. One think we were looking at was to write template HTML pages, and run them through a perl prg to replace home made tags w/ data. If what you're after is something to

handlers

2000-05-04 Thread FEITO Nazareno
Maybe this isn´t the correct mailing list to post this question but i really need an answer some kind of guide o something like that... I need to use handlers for my webpages under mod_perl, any tutorial or something? I´m using an old handlers that i use to be but now it doesn´t work... i mean,

Re: handlers

2000-05-04 Thread Kip Cranford
On: Thu, 04 May 2000 18:23:30 -0300 FEITO Nazareno wrote: Maybe this isn´t the correct mailing list to post this question but i really need an answer some kind of guide o something like that... I need to use handlers for my webpages under mod_perl, any tutorial or something? Check out

RE: Help - Install mod_perl-1.23

2000-05-04 Thread Stas Bekman
On Thu, 4 May 2000, James Xie wrote: It seems I have some kind of permission problem but I don't know how to resolve it. Please take a look at the outputs from the commands I run. Really appreciate your help! 4145 dup2(15, 2) = 2 4145 rt_sigprocmask(SIG_BLOCK, NULL,

RE: Help - Install mod_perl-1.23

2000-05-04 Thread James Xie
I used root to do everything, I even changed the httpd.conf file (t/conf/httpd.conf) to use root user and users group. User root Group users But I still have the same problem when I do make test, the following is the directory dump, please let me know what permission should I change to.

RE: mod_perl of FreeBSD 4

2000-05-04 Thread Ian Mahuron
I have freebsd 4, and am going to install mod_perl on it. If I go to /usr/ports/www/mod_perl and do a make, I get v1.21. But if I go to the ftp site it has up to v1.23. Can I change the ports, or update them to get the latest files? Your question is somewhat off topic but I'll answer it

Re: search engine for the Guide

2000-05-04 Thread Gunther Birznieks
I would think that apache.org would provide a free open source search engine as an infrastructural resource? Can't we take advantage of that? Or is perl.apache.org not actually part of apache.org infrastructure? It seems to me that a lot more apache.org sites would benefit rather than

how to get Devel::Symdump working with mod_perl code?

2000-05-04 Thread Tom Roche
I'm trying to use Devel::Symdump to document code, but Perl is choking when it hits (what appears to me to be) autoloadable stuff. I'd like to know how to invoke (or patch, or whatever) Perl in such a way so as to ignore such problems (or perhaps merely warn/carp about them), or how to run

Re: Problem with deleting uploaded files

2000-05-04 Thread Srinidhi Rao S
Hi ken, I tried using upload. everything works fine. But the image uploaded will be corrupted and the temp file created in the present directory wount get deleted. I searched in the binaries of CGI, but nothing helped me. I am using win98 os for Apache. Is it something to do with this.