Re: search engine for the Guide

2000-05-05 Thread Jeremy Howard
At 01:28 PM 5/4/00 +0300, Stas Bekman wrote: Two things: 1) I'd better concentrate on improving the content and structure of the Guide and will leave this search engine task to someone who needs to use the Guide but find it unusable without the proper search engine. 2) perl.apache.org doesn't

RE: Help - Install mod_perl-1.23

2000-05-05 Thread Stas Bekman
On Thu, 4 May 2000, James Xie wrote: 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

Re: search engine for the Guide

2000-05-05 Thread Stas Bekman
On Thu, 4 May 2000, Gunther Birznieks wrote: 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

Re: search engine for the Guide

2000-05-05 Thread Stas Bekman
On Fri, 5 May 2000, Jeremy Howard wrote: At 01:28 PM 5/4/00 +0300, Stas Bekman wrote: Two things: 1) I'd better concentrate on improving the content and structure of the Guide and will leave this search engine task to someone who needs to use the Guide but find it unusable without the

NET::SMTP

2000-05-05 Thread Srinidhi Rao S
Hi all Where do I get the win32 version of NET::SMTP module??? TIA RegardsSrinidhi RaoRobosoft TechnologiesE-mail: [EMAIL PROTECTED]www.robosoftin.com

Re: NET::SMTP

2000-05-05 Thread Ime Smits
| Where do I get the win32 version of NET::SMTP module??? Duh... Ever considered http://www.cpan.org? Ime

Redirecting Problem --- Please look at this patiently.

2000-05-05 Thread sadhanandham balaraman
Hi Gurus, I'm facing a typical problem in Apache web server. The problem is that I want to call a perl script whenever a request is made to the server, and that script should be able to change the URI and submit to the server back. The thing I got from the net is that adding

Re: Redirecting Problem --- Please look at this patiently.

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, sadhanandham balaraman wrote: Hi Gurus, I'm facing a typical problem in Apache web server. The problem is that I want to call a perl script whenever a request is made to the server, and that script should be able to change the URI and submit to the server back. Make

[ANNOUNCE] Apache::RequestNotes_0.04

2000-05-05 Thread Geoffrey Young
The URL http://morpheus.laserlink.net/~gyoung/modules/Apache-RequestNotes_0.04.tar.g z has entered CPAN as file: $CPAN/authors/id/G/GE/GEOFF/Apache-RequestNotes_0.04.tar.gz size: 4579 bytes md5: cafae76db41baf1b109316a0987bf170 Apache::RequestNotes now supports file uploads...

Re: PerlAddVar ?

2000-05-05 Thread Stas Bekman
On Wed, 3 May 2000, Doug MacEachern wrote: On Mon, 1 May 2000, Stas Bekman wrote: That [the name] would be confusing. How about: not if you think of it in terms of an apache table: PerlSetVar = ap_table_set PerlAddVar = ap_table_add OK, if this is the case, I'd prefer to have only

RE: how do I use perl sections

2000-05-05 Thread Benedict Lofstedt
Eric Cholet writes: but you're not following my example quoted above. @ScriptAlias is a list of aliases. Each alias is a _reference_ to a two-element array. I got the following to work after stopping/restarting the server: Perl my @cgi_users = qw(xx yy); foreach (@cgi_users) {

Re: PerlAddVar ?

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Stas Bekman wrote: On Wed, 3 May 2000, Doug MacEachern wrote: On Mon, 1 May 2000, Stas Bekman wrote: That [the name] would be confusing. How about: not if you think of it in terms of an apache table: PerlSetVar = ap_table_set PerlAddVar = ap_table_add

apxs and first class configuration

2000-05-05 Thread Matt Sergeant
When building first class configuration directives, you run Makefile.PL and it says: which: no apxs in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin) apxs:Error: Sorry, no DSO support for Apache available apxs:Error: under your platform. Make sure the Apache apxs:Error: module mod_so is compiled

RE: [Q ]Differences between RequestNotes and Request ?

2000-05-05 Thread Geoffrey Young
-Original Message-From: Thierry-Michel Barral [mailto:[EMAIL PROTECTED]]Sent: Friday, May 05, 2000 9:29 AMTo: [EMAIL PROTECTED]Subject: [Q ]Differences between RequestNotes and Request ? Hi there, sorry for this "beginner question". no bother - RequestNotes is

Newbie Question -

2000-05-05 Thread Pierre J. Nicolas
Good Morning, I just started using mod_perl, I'm still using the CGI.pm module, but I plan to convert. I've loaded the Apache::Registry and I'm experiencing a strange problem. I have this snippet: print "Content-Type: text/html\n\n"; print_template(file_handle, *file_handle_ref)

Newbie Question

2000-05-05 Thread Pierre J. Nicolas
Good Morning, I just started using mod_perl, could someone please tell me why I would get an error: "Undefined subroutine Apache::ROOT::dir::prog_name::function_name called at /path/to/script/script_name line line_numer" when I specifically "require module_with_function_name" in the script. I

RE: Newbie Question

2000-05-05 Thread Geoffrey Young
you'll find a great many questions answered in the mod_perl guide... http://perl.apache.org/guide/troubleshooting.html#Undefined_subroutine_Apach e_RO --Geoff -Original Message- From: Pierre J. Nicolas [mailto:[EMAIL PROTECTED]] Sent: Friday, May 05, 2000 10:15 AM To: [EMAIL

mod perl + proxy returns Document has no data

2000-05-05 Thread lists
I am having a tricky problem with a mod_perl backend and a vanilla proxying front end I have set up: Apache 1.3.9 + Mod_perl 1.23 + Embperl 1.2.1 as a back-end server Apache 1.3.9 + mod_proxy as a front-end server. Occasionally the back-end server gets into a state where it returns empty

Perl sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
I have someone on the AxKit list asking if there's a way to do configuration outside of .htaccess files. I figure rather than writing some new code to do this, Perl sections could be used. Will this work with custom directives, so basically could I do: Perl @AxAddStyleMap = ( [

Re: Perl sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
Answering myself: It works. Damn this product (mod_perl) is cool! On Fri, 5 May 2000, Matt Sergeant wrote: I have someone on the AxKit list asking if there's a way to do configuration outside of .htaccess files. I figure rather than writing some new code to do this, Perl sections could be

Re: Perl sections and custom configuration directives

2000-05-05 Thread Stas Bekman
On Fri, 5 May 2000, Matt Sergeant wrote: Answering myself: It works. Damn this product (mod_perl) is cool! On Fri, 5 May 2000, Matt Sergeant wrote: I have someone on the AxKit list asking if there's a way to do configuration outside of .htaccess files. I figure rather than writing

Apache::ASP not working under FreeBSD 4

2000-05-05 Thread Capriotti
Hello. I am an Apache and Perl newbie, trying to put Apache:ASP to work for the last few days and having very little success. Some information on what I've done; This will be a long email. Sorry, but I am really lost and need help. I am using FreeBSD 4.0-RELEASE. Retrieved the Apache

newbie problem..

2000-05-05 Thread Kiran Banoor
hi, I have written a handler for controlling access control on the basis of domain/ip address so that i can restrict the users on the limit of sessions from a perticular domain name.And i placed my handler in .htaccess file. The problem is when request is made by the client for a perticular

Re: Perl sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Stas Bekman wrote: On Fri, 5 May 2000, Matt Sergeant wrote: Answering myself: It works. Damn this product (mod_perl) is cool! On Fri, 5 May 2000, Matt Sergeant wrote: I have someone on the AxKit list asking if there's a way to do configuration outside

Re: Apache::ASP not working under FreeBSD 4

2000-05-05 Thread Ime Smits
... | The server starts w/o problems. Perfect. OK, your at lest 90% done now. ... | file:/usr/home/cap/apache_ASP/Apache-ASP-0.18/site/eg/index.htm That wouldn't work, because then you don't communicate via Apache, nothing gets executed, it's just like you do a normal cat on the file. ...

Re: Perl sections and custom configuration directives

2000-05-05 Thread brian moseley
On Fri, 5 May 2000, Matt Sergeant wrote: Actually the idea comes from setting up the style map based on an external XML site map, which would do things similar to apache's Files and Location directives, and then put them into the appropriate sections in Apache::ReadConfig. It's not

Re: Perl sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, brian moseley wrote: On Fri, 5 May 2000, Matt Sergeant wrote: Actually the idea comes from setting up the style map based on an external XML site map, which would do things similar to apache's Files and Location directives, and then put them into the appropriate

Re: Perl sections and custom configuration directives

2000-05-05 Thread brian moseley
On Fri, 5 May 2000, Matt Sergeant wrote: Hmm... OK maybe a rethink is in order. Perhaps something like this: AxConfigReader MyModule And AxKit defaults to its internal module which reads the Ax* configuration directives directly? You could even inherit from the internal config reader

[OT?] Problems making Net::Daemon on Solaris 2.6

2000-05-05 Thread Jeff . Bulley
I've tried emailing the author but haven't recieved a response. I'm hoping someone will have seen this problem before, or at least be able to point me in the right direction. Solaris 2.7 Perl 5.6.0 I get this when I run make test.: root@eros# make test PERL_DL_NONLAZY=1 /usr/bin/perl

RE: [OT?] Problems making Net::Daemon on Solaris 2.6

2000-05-05 Thread Eric Cholet
I've tried emailing the author but haven't recieved a response. I'm hoping someone will have seen this problem before, or at least be able to point me in the right direction. Solaris 2.7 Perl 5.6.0 I get this when I run make test.: This is totally offtopic. This problem with _PATH_LOG

Apache::Session question

2000-05-05 Thread Gundars Kulups
Hi! I am sorry to ask this bit off question, but still. Has anyone used Apache::Session on Solaris (Sparc, not intel)? We implemented system on Linux (intel) and tried to port it to Solaris, but session doesn't work - can not create session files. Store manager used is FileStore and SysV

Re: mod perl + proxy returns Document has no data

2000-05-05 Thread shane
While I have no specific insight to your problem, you might want to do the following. Grab the latest version of Apache, and use the mod_proxy in that. You also might want to take a look at the patches that are lying around for mod_proxy, theres been a lot of work on it of late, but most of

Re: Apache::Session question

2000-05-05 Thread Francesc Guasch
Gundars Kulups wrote: Hi! I am sorry to ask this bit off question, but still. Has anyone used Apache::Session on Solaris (Sparc, not intel)? We implemented system on Linux (intel) and tried to port it to Solaris, but session doesn't work - can not create session files. Store manager used

Apche authentication

2000-05-05 Thread Rishi Maker
Sorry I dont know Anything about ModPerl How do i invoke user sessions which are generally in voked through .htaccess Instead of .htaccess window i want to start user sessions through the data posted by CGI post vizaviz through python basically i want the pages to work with .htacces type

Apache does not like Perl

2000-05-05 Thread Todd Strand
Amici, I created my httpd (Apache 1.3.12) using the mod_perl 1.23 install process. The system used to have mod_perl 1.21 (Apache 1.3.9) on it. In a conf file that is included by httpd.conf, I have a Perl directive. The stating of the server is dieing of the Perl. (The old httpd still works

RE: Apache does not like Perl

2000-05-05 Thread Geoffrey Young
-Original Message- From: Todd Strand [mailto:[EMAIL PROTECTED]] Sent: Friday, May 05, 2000 12:59 PM To: [EMAIL PROTECTED] Subject: Apache does not like Perl Amici, I created my httpd (Apache 1.3.12) using the mod_perl 1.23 install process. The system used to have

Memory leak in DBD::Connect()

2000-05-05 Thread Matt Barringer
Has anyone else come across a problem using DBD::Oracle, where connect() leaks approximately 80k every time it is used (which, in my case, is with every request child processes handle)? It's negligable with regular perl scripts, but I've seen child sizes grow to 40 megs before I killed them all.

RE: mod perl + proxy returns Document has no data

2000-05-05 Thread Gerald Richter
Occasionally the back-end server gets into a state where it returns empty documents When this occurs, try to directly connect to the backend, and see if this shows the same behaviour, so we can see if it's a mod_perl/Embperl problem or a mod_proxy problem. Gerald

RE: Apache does not like Perl

2000-05-05 Thread Todd Strand
Thanks Geoff, Turning on the PERL_SECTIONS did the trick. Have a fantastic day! Todd -Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED]] Sent: Friday, May 05, 2000 1:05 PM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: Apache does not like Perl -Original

Re: PerlHandler stopped working???

2000-05-05 Thread Doug MacEachern
On Tue, 25 Apr 2000, Matt Sergeant wrote: I do now - just uploaded a new version. It's still not correct though - a proper fix would have to pull SetHandler out of mod_mime altogether, I guess. For example, say your config contains: oh yeah, i forgot, you can call mod_mime's fixup directly

Re: PerlHandler stopped working???

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Doug MacEachern wrote: On Tue, 25 Apr 2000, Matt Sergeant wrote: I do now - just uploaded a new version. It's still not correct though - a proper fix would have to pull SetHandler out of mod_mime altogether, I guess. For example, say your config contains: oh

Re: Problem compiling mod_perl 1.23 on Solaris 2.4

2000-05-05 Thread Doug MacEachern
On Thu, 27 Apr 2000, Steve Hay wrote: Steve Hay wrote: I'm having a problem compiling mod_perl 1.23 (with Apache 1.3.12 / Perl 5.6.0) as a DSO using APXS on Solaris 2.4. In case anyone is interested... I've solved my own problem (just as well, really). If I re-compile everything

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

2000-05-05 Thread Doug MacEachern
On Thu, 4 May 2000 [EMAIL PROTECTED] wrote: Sounds like a good plan. The first piece to put together is the script that can register callbacks, and iterate through the perl threads. Do we have a devel version that's got the mip-avail type stuff together, or is this something that will be

Re: PerlAddVar ?

2000-05-05 Thread Doug MacEachern
On Thu, 4 May 2000, Matt Sergeant wrote: How do you get at $r in a directive handler? other way around, you get at directive handler config from a handler, which has been passed $r, e.g.: sub handler { my $r = shift; my $cfg = Apache::ModuleConfig-get($r, __PACKAGE__); $cfg would

Re: PerlAddVar ?

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Doug MacEachern wrote: On Thu, 4 May 2000, Matt Sergeant wrote: How do you get at $r in a directive handler? other way around, you get at directive handler config from a handler, which has been passed $r, e.g.: sub handler { my $r = shift; my $cfg =

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

2000-05-05 Thread Doug MacEachern
On Thu, 4 May 2000, Jeffrey W. Baker wrote: Not strictly for debugging, but for introspection. I was toying with a module that pokes around inside the perlguts of a running mod_perl server and makes some nice displays out of them. Nothing for production/money mind you, just amusement.

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

2000-05-05 Thread Doug MacEachern
On Thu, 4 May 2000, Tom Roche wrote: 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

Re: apxs and first class configuration

2000-05-05 Thread Doug MacEachern
On Fri, 5 May 2000, Stas Bekman wrote: On Fri, 5 May 2000, Matt Sergeant wrote: When building first class configuration directives, you run Makefile.PL and it says: which: no apxs in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin) apxs:Error: Sorry, no DSO support for Apache

Re: [Q ]Differences between RequestNotes and Request ?

2000-05-05 Thread Doug MacEachern
On Fri, 5 May 2000, Thierry-Michel Barral wrote: I have another question, no connection from the previous one: I believe using open FH "tweety.conf"; is in fact a call to the shell. Right ? no! but open FH, "cal|"; would result in a fork/subprocess. see the perldocs, this is not

Re: Newbie Question -

2000-05-05 Thread Doug MacEachern
On Fri, 5 May 2000, Pierre J. Nicolas wrote: Good Morning, I just started using mod_perl, I'm still using the CGI.pm module, but I plan to convert. I've loaded the Apache::Registry and I'm experiencing a strange problem. I have this snippet: print "Content-Type:

RE: Newbie Question -

2000-05-05 Thread Doug MacEachern
mod_perl overrides the perl print() function - print()ing to STDOUT explititly will not work. just use print() if you can... sure it will, print STDOUT "hi"; and print "hi"; are the same thing, provided STDOUT is the currently selected output filehandle, which it is by default.

Re: newbie problem..

2000-05-05 Thread Doug MacEachern
On Fri, 5 May 2000, Kiran Banoor wrote: hi, I have written a handler for controlling access control on the basis of domain/ip address so that i can restrict the users on the limit of sessions from a perticular domain name.And i placed my handler in .htaccess file. The problem is when

Re: Redirecting Problem --- Please look at this patiently.

2000-05-05 Thread Doug MacEachern
On Fri, 5 May 2000, sadhanandham balaraman wrote: Hi Gurus, I'm facing a typical problem in Apache web server. The problem is that I want to call a perl script whenever a request is made to the server, and that script should be able to change the URI and submit to the server back.

Re: PerlHandler stopped working???

2000-05-05 Thread Doug MacEachern
On Fri, 5 May 2000, Matt Sergeant wrote: Really really freaky. However I assume you saw the post - I solved it by doing push_handler() with a Fixup and returning DECLINED. That way mod_mime gets to do its stuff, and my content_type still gets set regardless. yeah, i know, it's cinco de

Re: PerlAddVar ?

2000-05-05 Thread Stas Bekman
On Fri, 5 May 2000, Doug MacEachern wrote: On Fri, 5 May 2000, Stas Bekman wrote: OK, if this is the case, I'd prefer to have only one variable type -- an array - so $r-dir_config will always return a list. So if it's a sigular value, it'll be the first element. If you want it to be a

Re: PerlAddVar ?

2000-05-05 Thread Doug MacEachern
Cool! I guess it's a non-documented feature :) it's documented in ch9 of the eagle book :)

Re: PerlAddVar ?

2000-05-05 Thread Stas Bekman
Cool! I guess it's a non-documented feature :) it's documented in ch9 of the eagle book :) If it is, consider it documented in the next version of the Guide :) __ Stas Bekman | JAm_pH--Just Another

Re: Newbie Question -

2000-05-05 Thread Adi
"Pierre J. Nicolas" wrote: Good Morning, I just started using mod_perl, I'm still using the CGI.pm module, but I plan to convert. You can still use CGI.pm from within mod_perl (and you should). There is nothing better at handling data passed from a browser via HTTP POST and/or GET. If

Re: PerlAddVar ?

2000-05-05 Thread brian moseley
On Fri, 5 May 2000, Doug MacEachern wrote: Cool! I guess it's a non-documented feature :) it's documented in ch9 of the eagle book :) :)

Re: Newbie Question -

2000-05-05 Thread Jim Winstead
On May 05, Adi wrote: You can still use CGI.pm from within mod_perl (and you should). There is nothing better at handling data passed from a browser via HTTP POST and/or GET. If you currently use CGI.pm, I think you'll find that a lot of your current code can simply be cut-and-pasted into a

Re: Newbie Question -

2000-05-05 Thread Adi
Jim Winstead wrote: On May 05, Adi wrote: You can still use CGI.pm from within mod_perl (and you should). There is nothing better at handling data passed from a browser via HTTP POST and/or GET. If you currently use CGI.pm, I think you'll find that a lot of your current code can

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

2000-05-05 Thread Bill Moseley
At 12:05 AM 05/04/00 -0700, Doug MacEachern wrote: you're calling exit in a module? shame on you. if you call exit() from a script that is compiled by Apache::Registry (not include *.pm), exit() will be overridden for you to call Apache::exit, no changes needed. if you really want to call it in

Re: Apache::Session question

2000-05-05 Thread Neil Conway
On Fri, May 05, 2000 at 05:58:33PM +0200, Francesc Guasch wrote: [Solaris + Apache::Session] After the use Apache::Session you maybe have to type something like this. $Apache::Session::SysVSemaphoreLocker::nsems=16; In my preliminary testing, it appears this is also necessary to get

Apache::ASP - Win32?

2000-05-05 Thread Thomas C. Maresh
I'm a beginner when it comes to web servers. Will Apache::ASP run with the Win32 version? TCM

Re: Apache::ASP not working under FreeBSD 4

2000-05-05 Thread Joshua Chamas
Ime Smits wrote: ... Files *.asp SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global /www/data/state /Files (change the last directory to some place where your Apache UID can write, this is where the session objects are stored) Second option, leave your

Re: Apache::ASP - Win32?

2000-05-05 Thread Joshua Chamas
"Thomas C. Maresh" wrote: I'm a beginner when it comes to web servers. Will Apache::ASP run with the Win32 version? Yes, but you will need to get a whole apache modperl win build, listed at http://perl.apache.org/distributions.html Note too that this is perl scripting only, not

Compiling mod_perl

2000-05-05 Thread Rich Theisen
Hello, I can build Apache 1.3.11 with mod_perl 1.21 without any difficulties using mod_perl. The problem comes in when I try to incorperate mod_ssl or mod_jserv. I can build Apache with either mod_ssl or mod_jserv without any problems. (I haven't tried yet combining both mod_ssl and mod_jserv

Re: Apache::ASP - Win32?

2000-05-05 Thread Capriotti
Hi ! I am a newbie as well, but I've been frying my ass over mod_perl and ASP for the last few days, and I think I can answer this one. Once you get Perl working on your OS, you will be able to compile mod_perl, and, consequently, compile/build Apache::ASP. Therefore the answer would be : YES

Re: Apache 1.3.12+mod_perl + mod_ssl + FP extensions

2000-05-05 Thread Jeff Beard
The last time I included fp extensions (a while ago) I believe I applied that patch last. Not sure that it actually matters, though. --Jeff At 06:52 PM 5/5/00, Rafael Caceres wrote: Hi, I'm getting ready to setup the following combination of packages for our webserver: Perl 5.005 Apache

RE: Help - Install mod_perl-1.23

2000-05-05 Thread James Xie
Thanks, I finally got the problem resolved. It's the permission problem, I used Linuxconf to create my account, for some reason it didn't put my account into users group. I changed my group from passwd file directly, login as myself, re-install mod_perl. Everything was working fine now.

perl.conf file

2000-05-05 Thread James Xie
I was trying the "Hello World" sample provided by Lincoln Doug's book. It says I can put location directive in the "perl.conf" file but I don't have this file on my system. I created one according to the book but it didn't work, the server cannot find the hello world program when I try to

Re: Newbie Question -

2000-05-05 Thread Gunther Birznieks
At 06:56 PM 5/5/00 -0400, Jim Winstead wrote: On May 05, Adi wrote: You can still use CGI.pm from within mod_perl (and you should). There is nothing better at handling data passed from a browser via HTTP POST and/or GET. If you currently use CGI.pm, I think you'll find that a lot of your

Re: perl.conf file

2000-05-05 Thread Jeff Beard
If you'll forgive a stupid question, did you include the perl.conf in the httpd.conf: Include perl.conf I've also done this: IfModule mod_perl.c Include perl.conf /IfModule --Jeff At 06:39 PM 5/5/00, James Xie wrote: I was trying the "Hello World" sample provided by Lincoln

re: mod perl + proxy returns Document has no data

2000-05-05 Thread lists
Ok it's definitely a problem with the proxy... Set the backend running on its own with httpd -X, run a large (3MB) upload and everything is fine - so no mod_perl/embperl problem... (Thanks Gerald!) Set both the backend and frontend running, both with httpd -X, run the same upload: Frontend