Re: file globbing question

2002-02-20 Thread Geoffrey Young
Cees Hek wrote: On Wed, 2002-02-20 at 13:27, John Stauffacher wrote: All, I am a bit confused as to what httpd.conf directives need to be used in order to get apache to execute a PerlHandler when it encounters a certain file type. What I want to do: Execute a handler whenever

Re: file globbing question

2002-02-20 Thread Issac Goldstand
It occurred to me that using a scheme like this, it might be possible to help improve mod_perl's popularity... Or, at least, the popularity of Toolkits built under mod_perl... Using Files (or the Apache::MIMEMapper module), makes mod_perl a bit more ISP friendly, as it's a lot easier for

Anyone for JavaScript question

2002-02-20 Thread Medi Montaseri
I know this is off topic, but I thought someone could use a break... Given a page called xyz.html, I want to measure the amount of time a user spent on this screen (or page) along with other usability metrics. So I figured I'll use JavaScript since its running the entire time the page is up.

file globbing question

2002-02-19 Thread John Stauffacher
All, I am a bit confused as to what httpd.conf directives need to be used in order to get apache to execute a PerlHandler when it encounters a certain file type. What I want to do: Execute a handler whenever a *.qw file is accessed. The same handler whether or not the file exists and not

Re: file globbing question

2002-02-19 Thread Cees Hek
On Wed, 2002-02-20 at 13:27, John Stauffacher wrote: All, I am a bit confused as to what httpd.conf directives need to be used in order to get apache to execute a PerlHandler when it encounters a certain file type. What I want to do: Execute a handler whenever a *.qw file is

Frontier::Responder question

2002-02-18 Thread Robert Landrum
I recently picked up Programming web services with XML-RPC. It mentions a module that I have yet to track down. I am unable to find Frontier::Responder. O'Reilly's site mentions that Joe Johnston wrote. Joe makes it pretty clear that he want's you to use it in place of Frontier::Daemon

Re: Frontier::Responder question

2002-02-18 Thread Paul Lindner
On Mon, Feb 18, 2002 at 10:25:59AM -0500, Robert Landrum wrote: I recently picked up Programming web services with XML-RPC. It mentions a module that I have yet to track down. I am unable to find Frontier::Responder. O'Reilly's site mentions that Joe Johnston wrote. Joe makes it pretty

Re: Question...

2002-02-14 Thread Rodney Hampton
thing you were referring to? :) -- Ryan Parr - Original Message - From: Jon Robison [EMAIL PROTECTED] To: Ron Beck [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 12:28 PM Subject: Re: Question... Cookies! /me is in smartass mode today

Re: Question...

2002-02-13 Thread Ryan Parr
[EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 12:28 PM Subject: Re: Question... Cookies! /me is in smartass mode today. --Jon Ron Beck wrote: Hello all, I need to know how to clear the $ENV variables. For example, I use a .htaccess file for specific

RE: Question...

2002-02-13 Thread Burak Gürsoy
; Ron Beck Cc: [EMAIL PROTECTED] Subject: Re: Question... I think I'm missing something... If you set a session cookie (i.e. one with no expiry time) then the cookie will be deleted immediately upon browser close, forcing the user to login again if they've closed their browser instance. If you don't

Re: Question...

2002-02-13 Thread Jon Robison
: Tuesday, February 12, 2002 12:28 PM Subject: Re: Question... Cookies! /me is in smartass mode today. --Jon Ron Beck wrote: Hello all, I need to know how to clear the $ENV variables. For example, I use a .htaccess file for specific directories which requires the user to enter

Re: Question...

2002-02-13 Thread Steve Piner
: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 12:28 PM Subject: Re: Question... Cookies! /me is in smartass mode today. --Jon Ron Beck wrote: Hello all, I need to know how to clear the $ENV variables. For example, I use a .htaccess file for specific directories which

Question...

2002-02-12 Thread Ron Beck
Hello all, I need to know how to clear the $ENV variables. For example, I use a .htaccess file for specific directories which requires the user to enter userID and password. When they exit the page, I want them to have to re-enter userID and passwd if they enter the page again. Does anyone

Re: Question...

2002-02-12 Thread Uwe Voelker
I need to know how to clear the $ENV variables. For example, I use a .htaccess file for specific directories which requires the user to enter userID and password. When they exit the page, I want them to have to re-enter userID and passwd if they enter the page again. Does anyone know how

Re: Question...

2002-02-12 Thread Jon Robison
Cookies! /me is in smartass mode today. --Jon Ron Beck wrote: Hello all, I need to know how to clear the $ENV variables. For example, I use a .htaccess file for specific directories which requires the user to enter userID and password. When they exit the page, I want them to have to

QUESTION

2002-02-06 Thread Martin Haase-Thomas
Hi all, I hope there'll be someone here to help we with a mod_perl prob, of which I thought first it wouldn't be one. I refer to the "Writing Apache Modules" book by Stein/MacEachern. The prob is quite simple: I have to redirect certain requests under certain conditions to another URL

Re: QUESTION

2002-02-06 Thread Tim Tompkins
Tompkins -- Programmer http://www.arttoday.com/ http://www.rebelartist.com/ -- - Original Message - From: Martin Haase-Thomas To: [EMAIL PROTECTED] Sent: Wednesday, February 06, 2002 8:21 AM Subject: QUESTION

Re: CGI Upload/download question

2002-02-03 Thread Pierre Phaneuf
Medi Montaseri wrote: Can I somehow influence this behavior such that the user will indeed see something like MyFile.txt.returned or MyFile.txt.processed in the dialog box. Add a Content-Disposition header like this: Content-Disposition: attachment; filename=MyFile.txt.returned I don't

Re: CGI Upload/download question

2002-02-02 Thread Medi Montaseri
Thank you very much...worked like a charm Pierre Phaneuf wrote: Medi Montaseri wrote: Can I somehow influence this behavior such that the user will indeed see something like MyFile.txt.returned or MyFile.txt.processed in the dialog box. Add a Content-Disposition header like this:

[QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Mod Perl
Hi! I am been working on modperl for some time this is the first time I am posting a question on the mailing list. Please bear with me if I miss something or give too much information. I have been working on a project that can be described as an online library. The modperl portion of it adds

Re: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Thomas Klausner
Hi! On Fri, Feb 01, 2002 at 10:24:24AM -0800, Mod Perl wrote: Here are the problems/Questions that I face: 1. Since in this case each requests for a html file has multiple files that need to be downloaded by the client. Am I right to assume that the handler will act on each and every file

RE: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Rob Bloodgood
2.If the answer to the above question is YES? The Handler will add headers,footers for everything. What do I need to do to apply the handler logic just to the requested page and return the remaining files that are needed to complete the requested page as they are? In the Eagle book (as well

Re: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Mod Perl
Thanks Thomas, Question: Here are the problems/Questions that I face: 1. Since in this case each requests for a html file has multiple files that need to be downloaded the client. Am I right to assume that the handler will act on each and every file requested file below my /en/course

RE: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Mod Perl
Thanks Rob for your reply. --- Rob Bloodgood [EMAIL PROTECTED] wrote: Question: 2.If the answer to the above question is YES? The Handler will add headers,footers for everything. What do I need to do to apply the handler logic justto the requested page and return the remaining files

CGI Upload/download question

2002-02-01 Thread Medi Montaseri
Hi, I have a question regarding File Upload. My program Upload.cgi, prompt the user to upload a file, it then processes it and turns around and download it by setting the mime to a non-existing MIME type, say, SomeCrazyType via header() method. $q-header ( -type = application/x-SomeCrazyType

Re: QUESTION: how to debug segfault apache1.3.22/mod_perl1.26/HTML::Mason

2002-01-21 Thread Ged Haywood
Hi there, On Wed, 16 Jan 2002, Chris Hutchinson wrote: I've recently built apache 1.3.22/mod_perl 1.26, statically with perl 5.6.1 on linux RH 7.0. [snip] ccversion='', gccversion='2.96 2731 (Red Hat Linux 7.0)', At the risk of sounding like a broken record, have you tried

QUESTION: how to debug segfault apache1.3.22/mod_perl1.26/HTML::Mason

2002-01-20 Thread Chris Hutchinson
I've recently built apache 1.3.22/mod_perl 1.26, statically with perl 5.6.1 on linux RH 7.0. Am now getting SIGSEGV at various points in a HTML::Mason web application. These happen usually, but not always, when making DBD::Pg fetches (happens both with and without Apache::DBI). This

Re: mod_perl framework + code reuse question

2002-01-11 Thread Matthew Pressly
At 01:48 PM 1/10/2002 -0500, Perrin Harkins wrote: You can actually use subroutines without fear! Also, reducing the amount of magic (i.e. all of that package generation and eval stuff that Registry does) can help clear up confusion. And you can use __END__ and __DATA__. Good point. I

Re: mod_perl framework + code reuse question

2002-01-11 Thread Perrin Harkins
For file organization, I'm thinking of making all page modules start with a common namespace substring (e.g. Projectname::Page) to distinguish them from the support (model) modules I like to name the top level modules SiteName::Control::* and the model modules SiteName::Model::*. Calling the

Apache::Reload question

2002-01-10 Thread Matthew Pressly
Can Apache::Reload be used to reload modules that are use-d by httpd PerlModule, PerlRequire, or PerlHandler directives, or do they have to be explicitly use-d in code that is inside a handler? I think the answer is yes - these are no different than anything else except that memory sharing is

Re: mod_perl framework + code reuse question

2002-01-10 Thread Matthew Pressly
. The question I'm having a hard time answering without going down both paths is: What are the basic advantages, disadvantages, and limitations of: (a) stuffing all this setup/framework code into a module (either a new module or subclassing Apache::RegistryNG as you mention below), versus, (b

Re: mod_perl framework + code reuse question

2002-01-10 Thread Perrin Harkins
What are the basic advantages, disadvantages, and limitations of: (a) stuffing all this setup/framework code into a module (either a new module or subclassing Apache::RegistryNG as you mention below), versus, (b) stuffing it into a handler that all requests for a large subset of the pages on

mod_perl framework + code reuse question

2002-01-09 Thread Matthew Pressly
Background: I'm working on a site that is a mix of php (which I'm gradually converting to mod_perl) and mod_perl (running under Apache::Registry and using Template Toolkit (TT2)) using an apache configuration like this: Directory / [...] Files *.par SetHandler perl-script

Re: mod_perl framework + code reuse question

2002-01-09 Thread Perrin Harkins
There are many *.par pages (estimate: 70-100 when conversion is complete), and they all contain the following code with minor variations that could be made consistent (like what constants are imported, what modules are used, etc.). I'd like to find a way to prevent having that code (below)

Beginner's FixupHandler question

2002-01-08 Thread Zsolt Czinkos
Hello everyone I've just started learning modperl and I started with a simple module for apache httpd 1.3.22. This simple module (see below) sets gets a cookie at every request. I thought it wasn't too difficult. I put it into the fixup phase (any problem with it?). First it seemed to work,

Re: Beginner's FixupHandler question

2002-01-08 Thread Stathy G. Touloumis
I've just started learning modperl and I started with a simple module for apache httpd 1.3.22. This simple module (see below) sets gets a cookie at every request. I thought it wasn't too difficult. I put it into the fixup phase (any problem with it?). First it seemed to work, but when I put a

Re: Beginner's FixupHandler question

2002-01-08 Thread Paul Lindner
On Tue, Jan 08, 2002 at 10:07:18AM -0600, Stathy G. Touloumis wrote: I've just started learning modperl and I started with a simple module for apache httpd 1.3.22. This simple module (see below) sets gets a cookie at every request. I thought it wasn't too difficult. I put it into the fixup

Re: Beginner's FixupHandler question

2002-01-08 Thread Zsolt Czinkos
My One request is: [czinkos@vajradhara apache]$ telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / HTTP/1.0 Cookie: pritty=prutty It is only 1 html source. Thanks czinkos On Tue, Jan 08, 2002 at 10:07:18AM -0600, Stathy G. Touloumis wrote:

Re: Beginner's FixupHandler question

2002-01-08 Thread Robert Landrum
At 2:40 PM +0100 1/8/02, Zsolt Czinkos wrote: --- Here's my simple script: package SetMyCookies; use Apache; use Apache::Constants; use Apache::Cookie(); Very important to use strict when writing anything in mod_perl. sub handler { my $r = shift; $c = $r-header_in(Cookie); $c

PerlAccessHandler and LimitExcept question.

2001-12-18 Thread Joe Pearson
When I put a PerlAccessHandler inside a LimitExcept, it does not seem to work within the LimitExcept. It behaves as if there was no LimitExcept. For instance, I wrote a simple access handler for webdav that only allows users into their own directories. So user joe can only get to

Form Submit Question and Apache::Request

2001-12-16 Thread El Capitan
I have a form to send to a content handler and wish to use the HTML tag: SELECT name=multi_list multiple size=4 OPTION value=1One/OPTION OPTION value=2Two/OPTION OPTION value=3Three/OPTION OPTION value=4Four/OPTION OPTION value=5Five/OPTION OPTION

Re: RFC: CGI vs. Apache Namespace Question

2001-12-16 Thread Thomas Klausner
Hi! On Wed, Dec 12, 2001 at 01:44:52PM -0500, darren chamberlain wrote: I didn't even think of that; if Apache is not installed, having URI2Param.pm in site_perl/Apache doesn't matter. Therefore, I would like to resubmit option 5: 5) Include Apache::URI2Param with the CGI::URI2Param

Re: Form Submit Question and Apache::Request

2001-12-16 Thread Joe Schaefer
El Capitan [EMAIL PROTECTED] writes: use Apache::Requst; sub handler() { my $r = Apache::Request-new(shift); my @list = $r-param('multi_list') || undef; ^^ scalar context is ruining your day :( Try this instead: my @list =

Re: Apache::Scoreboard question

2001-12-13 Thread Robert
Message - From: Robert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 11:38 AM Subject: Apache::Scoreboard question Hi, can Apache::Scoreboard be extended that with last request per child it would also return the corresponding virtual host name? I would

Re: RFC: CGI vs. Apache Namespace Question

2001-12-12 Thread darren chamberlain
Thomas Klausner [EMAIL PROTECTED] said something to this effect on 12/11/2001: I've got a small CPAN Namespace Question: Some time ago I wrote CGI::URI2param ( http://search.cpan.org/search?mode=modulequery=URI2param ). Now, thanks to an idea by darren chamberlain, I wrote a small

Re: RFC: CGI vs. Apache Namespace Question

2001-12-12 Thread James G Smith
darren chamberlain [EMAIL PROTECTED] wrote: 5) Include Apache::URI2Param with the CGI::URI2Param module that gets installed along with CGI::URI2Param if Apache.pm is installed, where Apache::URI2Param calls CGI::URI2Param::uri2param. That'd be the way I would go, although

Re: RFC: CGI vs. Apache Namespace Question

2001-12-12 Thread darren chamberlain
James G Smith [EMAIL PROTECTED] said something to this effect on 12/12/2001: darren chamberlain [EMAIL PROTECTED] wrote: 5) Include Apache::URI2Param with the CGI::URI2Param module that gets installed along with CGI::URI2Param if Apache.pm is installed, where Apache::URI2Param

Apache::Scoreboard question

2001-12-12 Thread Robert
Hi, can Apache::Scoreboard be extended that with last request per child it would also return the corresponding virtual host name? I would be usefull for Apache::VMonitor. Thanks. - Robert

RFC: CGI vs. Apache Namespace Question

2001-12-11 Thread Thomas Klausner
Hi! I've got a small CPAN Namespace Question: Some time ago I wrote CGI::URI2param ( http://search.cpan.org/search?mode=modulequery=URI2param ). Now, thanks to an idea by darren chamberlain, I wrote a small PerlInitHandler that does nothing more than parse some PerlSetVars and then call

apache restart messages question

2001-11-14 Thread John Michael
I am getting these error messages when I restart apache on a new mod perl install. Starting httpd: Subroutine export redefined at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line 35. Subroutine name redefined at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line

Silly Newbie Question: cookies and such

2001-11-12 Thread Jon Robison
Unfortunatly, I find myself with a silly newbie question: I need to make an Apache module (not a Registry script) which will: 1. Check for a cookie, and if not there, pushhandler to a module for logging in (keeping the original request at hand for use after they succeed in logging in). 2

Re: Silly Newbie Question: cookies and such

2001-11-12 Thread Cees Hek
On Tue, 13 Nov 2001 04:28, you wrote: I need to make an Apache module (not a Registry script) which will: 1. Check for a cookie, and if not there, pushhandler to a module for logging in (keeping the original request at hand for use after they succeed in logging in). 2. Extract data from the

rookie's question regarding dynamic html pages

2001-10-19 Thread Xavier Merlin
Hello, I am a rookie in this, so I am probably asking trivial things here. My current environment is: Windows NT 4.0 SP 5, Apache 1.3.9 Active state perl 522 I have written a perl monitor which writes simple static html pages having the format html pre multiple ascii lines (output

Re: rookie's question regarding dynamic html pages

2001-10-19 Thread Ged Haywood
EaOn 19 Oct 2001, Xavier Merlin wrote: I would like to make those pages dynamic Maybe modperl can help. What do I need ? The Eagle Book: Writing Apache Modules with Perl and C, ISBN 1-56592-567-X, by Lincoln Stein and Doug MacEachern. It is available from O'Reilley

rookie question

2001-10-19 Thread Xavier Merlin
Hello, I am completely new to the issue. My question is probably very straightforward but maybe you can help me out. I have made a monitor in perl which periodically overwrites static pages containing the output of various commands. The html pages are consisting of: html pre multiple ascii

Re: cgi to mod_perl question

2001-10-17 Thread Brice D Ruth
Perrin Harkins wrote: 001c01c156c1$d5d0eac0$553dfea9@charlotte"> Unfortunately, I've now noticed that my server is unbearably slow -setting 'ThreadsPerChild 1' in my httpd.conf made my server slow to asnails pace (and it really is a pretty quick server on a T1 linededicated to it,

Re: cgi to mod_perl question

2001-10-17 Thread Perrin Harkins
By making 'ThreadsPerChild 1' - the entire server runs as a single thread, mod_perl and any other requests (e.g. images) that come in - this is why the server slows to a snails pace. I've set up two instances now, one to handle all incoming requests, the other to serve as a backend proxy

Re: cgi to mod_perl question

2001-10-17 Thread Brice D Ruth
Perrin Harkins wrote: 006101c1571b$7930a850$18020c0a@PerriHar"> By making 'ThreadsPerChild 1' - the entire server runs as a singlethread, mod_perl and any other requests (e.g. images) that come in -this is why the server slows to a snails pace. I've set up twoinstances now, one to

cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
I have a perl script that was running fine under IIS/5.0 with ActivePerl 6xx - I'll put the salient parts here: use IO::Socket; use CGI; $in = new CGI; $server = IO::Socket::INET-new( PeerAddr= ...,PeerPort= ...,Proto=tcp,Type= SOCK_STREAM) or die Error message ... $@;

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
What is the difference between doing the following: close( $server ); # $server-close(); # $server-shutdown(); ?? Sincerely, Brice Ruth Brice D Ruth wrote: I have a perl script that was running fine under IIS/5.0 with ActivePerl 6xx - I'll put the salient parts here: use IO::Socket;

OT: Re: cgi to mod_perl question

2001-10-16 Thread ___cliff rayman___
Brice D Ruth wrote: What is the difference between doing the following: close( $server ); functional interface. flush and close the file handle for this instance of the program. # $server-close(); object interface - same as above. # $server-shutdown(); object interface. cause

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
Why OT? I have a script that works under IIS/5 using CGI Perl that doesn't work under Apache with mod_perl - I'd say that's on-topic for this list! -Brice ___cliff rayman___ wrote: [EMAIL PROTECTED]"> Brice D Ruth wrote: What is the difference between doing the following:close(

OT: Re: cgi to mod_perl question

2001-10-16 Thread ___cliff rayman___
hi brice, because this particular question is one of basic perl, and not mod_perl. this just alerts all mod_perl readers that they can safely skip this particular question/answer and not miss any relevant mod_perl content. u sound upset - no reason to be - u got the answer u were looking

Re: cgi to mod_perl question

2001-10-16 Thread Perrin Harkins
It *seems* that the script can run once, but that the next time it is accessed, it cannot connect to the $server anylonger, it dies with a 'connection timed out' message ... What 'gotcha' is causing this? It sounds like this problem:

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
Yeah, I thought about that earlier today ... I did that and the script is still crappin' out ... basically, the first time through, it works. The next time, it doesn't seem to be able to build the connection, but it doesn't 'die' at that line, either. I'll go check out the links you sent me

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
Perrin Harkins wrote: 00a601c1568c$224f0a20$18020c0a@PerriHar"> It *seems* that the script can run once, butthat the next time it is accessed, it cannot connect to the $serveranylonger, it dies with a 'connection timed out' message ... What'gotcha' is causing this? It sounds

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
Brice D Ruth wrote: [EMAIL PROTECTED]"> Perrin Harkins wrote: 00a601c1568c$224f0a20$18020c0a@PerriHar"> It *seems* that the script can run once, butthat the next time it is accessed, it cannot connect to the $serveranylonger, it dies with a 'connection timed out' message

Re: cgi to mod_perl question

2001-10-16 Thread Perrin Harkins
Unfortunately, I've now noticed that my server is unbearably slow - setting 'ThreadsPerChild 1' in my httpd.conf made my server slow to a snails pace (and it really is a pretty quick server on a T1 line dedicated to it, pretty much). That's odd. On Win32, mod_perl runs as a single blocking

Re: AxKit configuration question

2001-09-03 Thread clayton
Ed Loehr wrote: Robin Berjon wrote: On Saturday 01 September 2001 08:02, Ed Loehr wrote: There's also a note (in AxKit 1.4 change log, I think) that says that problem is fixed in 1.4. Also, from 'perldoc AxKit': If you have a recent mod_perl and use mod_perl's Makefile.PL

Re: AxKit configuration question

2001-09-03 Thread Randy Kobes
On Mon, 3 Sep 2001, Ed Loehr wrote: Robin Berjon wrote: Have you tried without SSL ? It sometimes conflicts with other modules. Another search track would be to find out which module that AxKit pulls in causes the crash (if any). You could also try out the 1.5 RC (which must be called

Re: AxKit configuration question

2001-09-02 Thread Ed Loehr
Robin Berjon wrote: On Saturday 01 September 2001 08:02, Ed Loehr wrote: There's also a note (in AxKit 1.4 change log, I think) that says that problem is fixed in 1.4. Also, from 'perldoc AxKit': If you have a recent mod_perl and use mod_perl's Makefile.PL DO_HTTPD=1

Re: AxKit configuration question

2001-09-01 Thread Robin Berjon
On Saturday 01 September 2001 08:02, Ed Loehr wrote: There's also a note (in AxKit 1.4 change log, I think) that says that problem is fixed in 1.4. Also, from 'perldoc AxKit': If you have a recent mod_perl and use mod_perl's Makefile.PL DO_HTTPD=1 to compile Apache for you,

Re: AxKit configuration question

2001-08-31 Thread Ed Loehr
Ed Loehr wrote: I'm attempting to install AxKit 1.4 (and 10 or so other pre-requisite modules) on my modperl/modssl server, and I'm trying to get the ultra-basic AxKit manpage example to work ('perldoc AxKit'). The first sign of trouble has arisen: httpd silently exits immediately after

AxKit configuration question

2001-08-31 Thread Ed Loehr
Hi All, I'm attempting to install AxKit 1.4 (and 10 or so other pre-requisite modules) on my modperl/modssl server, and I'm trying to get the ultra-basic AxKit manpage example to work ('perldoc AxKit'). The first sign of trouble has arisen: httpd silently exits immediately after startup once

Re: AxKit configuration question

2001-08-31 Thread Randy Kobes
On Fri, 31 Aug 2001, Ed Loehr wrote: More data: there is no core file created, and the mere presence of this one line in my httpd.conf ... PerlModule AxKit ...with no other AxKit directives anywhere, causes httpd to exit shortly ( 1 sec) after starting. I hacked AxKit.pm to verify

Re: AxKit configuration question

2001-08-31 Thread Ed Loehr
Randy Kobes wrote: On Fri, 31 Aug 2001, Ed Loehr wrote: More data: there is no core file created, and the mere presence of this one line in my httpd.conf ... PerlModule AxKit ...with no other AxKit directives anywhere, causes httpd to exit shortly ( 1 sec) after

Re: Another Perl/Apache question

2001-08-30 Thread Remco Schaar
On Wed, 29 Aug 2001, Mathew Benson wrote: Hi, I know you helped me before, but I had to rebuild my server and now I'm having the same problem as before. I changed my ServerName directive to the correct IP address (I don't have a DNS name). These are the only other changes I made to

RE: Authen question

2001-08-29 Thread Geoffrey Young
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 2:25 PM To: [EMAIL PROTECTED] Subject: Authen question Hello I want to know if there is a way to show a page or another to some users depending in their logins. I have

Authen question

2001-08-28 Thread gustavo . lozano
Hello I want to know if there is a way to show a page or another to some users depending in their logins. I have two users poiting to the same URL. But I dont want userA to see page B, and I dont want userB to see pageA. Thanks a lot Gustavo A. Lozano I know not with

Re: Perl/Apache question

2001-08-28 Thread Chris Fry
UNSUBSCRIBE

Perl/Apache question

2001-08-26 Thread Mathew Benson
I sincerely appologize if this question is in the wrong mailing list. But I'm not really sure where it belongs. I installed Demarc and Snort. Demarc is a Perl script, which does work when executed from the console. But when hit from the web, it just returns the source code. How do I

Re: Perl/Apache question

2001-08-26 Thread Remco Schaar
On Sun, 26 Aug 2001, Mathew Benson wrote: Hi, I sincerely appologize if this question is in the wrong mailing list. But I'm not really sure where it belongs. I installed Demarc and Snort. Demarc is a Perl script, which does work when executed from the console. But when hit from

Re: Perl/Apache question

2001-08-26 Thread Ged Haywood
Hi there, On Sun, 26 Aug 2001, Remco Schaar wrote: On Sun, 26 Aug 2001, Mathew Benson wrote: I sincerely appologize if this question is in the wrong mailing list. But I'm not really sure where it belongs. I installed Demarc and Snort. [snip] You probably misconfigured. What

Re: Perl/Apache question

2001-08-26 Thread Remco Schaar
On Sun, 26 Aug 2001, Ged Haywood wrote: Hi there, hi, On Sun, 26 Aug 2001, Remco Schaar wrote: On Sun, 26 Aug 2001, Mathew Benson wrote: I sincerely appologize if this question is in the wrong mailing list. But I'm not really sure where it belongs. I installed Demarc

Re: my OR our that is the question ?!

2001-08-10 Thread Honza Pazdziora
On Fri, Aug 10, 2001 at 12:22:43AM +0300, raptor wrote: thanx, Yes I see ... but I was interested WHY when we are in nested subroutines ... the inner-one will see the lexical var only the first time !! I mean the Note that there are _no_ nested subroutines in Perl. You may declare one inside

Re: my OR our that is the question ?!

2001-08-10 Thread raptor
Note that there are _no_ nested subroutines in Perl ..So what you basicaly have are two global subroutines with local values. You get the closure for the first invocation. But it's not the same variable anymore. ]- Now understand thanx alot = iVAN [EMAIL PROTECTED] =

my OR our that is the question ?!

2001-08-09 Thread raptor
hi, I have the following situation ... it is not big issue but i'm interested why this happen .. so here is it : my $ID = 555; print $ID; sub blah { .. { local $$dbh{AutoCommit} = 0; eval { local $$dbh{RaiseError} = 1; $ID = selectrow

Re: my OR our that is the question ?!

2001-08-09 Thread Andrew Ho
Hello, rI have the following situation... it is not big issue but ri'm interested why this happen... r rmy $ID = 555; rsub blah { r... r$ID = selectrow query; r... r} This is, in fact, a big issue. You should see a message in your error log shared variable

Re: my OR our that is the question ?!

2001-08-09 Thread Jim Smith
On Thu, Aug 09, 2001 at 01:36:28PM -0700, Andrew Ho wrote: Hello, rI have the following situation... it is not big issue but ri'm interested why this happen... r rmy $ID = 555; rsub blah { r... r$ID = selectrow query; r... r} This is, in fact, a

Re: my OR our that is the question ?!

2001-08-09 Thread raptor
thanx, Yes I see ... but I was interested WHY when we are in nested subroutines ... the inner-one will see the lexical var only the first time !! I mean the REASON of this perl behaviour ! It it closer/easier to think of it that my-vars are visible all the time in their inner scopes (except if u

Re: my OR our that is the question ?!

2001-08-09 Thread Perrin Harkins
So what is the REASON for this copy-on-first-call behaviour.(there have to be some reason, if i'm not totaly dull to see it ) It's called a closure. You can read up on it in the Camel book or in Damian Conway's OO book. - Perrin

Re: my OR our that is the question ?!

2001-08-09 Thread raptor
didn't thought of that :)), but what will broke if the var is copied/aliased every time not just the first time ... I mean the call to closure make a new instance of the sub() every time isn't it ?!? ! I see the closures get bound every-time , but non closures only the first time ! But

OT: Re: my OR our that is the question ?!

2001-08-09 Thread James Smith
On Fri, Aug 10, 2001 at 01:08:12AM +0300, raptor wrote: didn't thought of that :)), but what will broke if the var is copied/aliased every time not just the first time ... I mean the call to closure make a new instance of the sub() every time isn't it ?!? ! I see the closures get

Re: my OR our that is the question ?!

2001-08-09 Thread Stas Bekman
On Thu, 9 Aug 2001, Perrin Harkins wrote: So what is the REASON for this copy-on-first-call behaviour.(there have to be some reason, if i'm not totaly dull to see it ) It's called a closure. You can read up on it in the Camel book or in Damian Conway's OO book. oh even here:

One more small Apache::Reload question

2001-08-01 Thread Bryan Coon
First, thanks to all the great suggestions, it looks like it works fine. However, now my logs are loaded with a ton of subroutine redefined warnings (which is normal I suppose?). I can certainly live with this in a development environment, but thought I would check to see if it is expected,

RE: One more small Apache::Reload question

2001-08-01 Thread Kyle Oppenheim
Of Bryan Coon Sent: Wednesday, August 01, 2001 9:36 AM To: '[EMAIL PROTECTED]' Subject: One more small Apache::Reload question First, thanks to all the great suggestions, it looks like it works fine. However, now my logs are loaded with a ton of subroutine redefined warnings (which is normal I

RE: One more small Apache::Reload question

2001-08-01 Thread Rob Bloodgood
However, now my logs are loaded with a ton of subroutine redefined warnings (which is normal I suppose?). I can certainly live with this in a development environment, but thought I would check to see if it is expected, and if it can be turned off while still enabling Reload. Well, first of

Newbie question

2001-07-12 Thread Jason
Sorry if this is in an FAQ somehere (googled for it, but no luck). Does anyone know of a *good* guide to compiling/configuring/installing Apache + mod_perl on a Windows NT system? The impression I get from scouting newsgrops is that most people resort to using a prebuild binary - so I figure it

RE: Newbie question

2001-07-12 Thread Purcell, Scott
operational in about an hour. Yell if you have any questions, as I have done this twice on NT. Scott -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 10:20 AM To: Jason Cc: [EMAIL PROTECTED] Subject: Re: Newbie question On Thu, 12 Jul 2001, Jason

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-10 Thread James G Smith
Doug MacEachern [EMAIL PROTECTED] wrote: On Tue, 3 Jul 2001, James G Smith wrote: The current code I have uses %INC, but I wanted to write something like the following: sub use : immediate { # do stuff here if logging return CORE::use(@_); } you could just override

<    1   2   3   4   5   6   7   8   9   10   >