Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
  Stuart Frew wrote: Greeting, Ideally you would have linux( or what ever) on every developers machine but sometimes you don't get the choice. Oh "the choice" is easyjust come in on a weekend and install linux on your box. Don't tell IT. That's all.   Cheers   On Wed, 2002-03-06 at 13:40, Med

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Andrew Ho
Hello, PL>One other tip... write a small script (or modify apachectl) to start PL>apache with a port number matched to your unix UID. This keeps PL>developers from using clashing port numbers. PL> PL> httpd -c "Port $UID" -c "Listen $UID" At Tellme we find it easiest to run multiple Apaches, o

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Stuart Frew
Greeting, Yup, I agree but I meant virtual hosts on the development box, not production. Ideally you would have linux( or what ever) on every developers machine but sometimes you don't get the choice. Cheers On Wed, 2002-03-06 at 13:40, Medi Montaseri wrote: I  don't agre

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Dave Rolsky
On Tue, 5 Mar 2002, Medi Montaseri wrote: > True...but I'm thinking full control to the developer. Developer can now > mis-configure httpd.conf as much as he/she wants and all the paths; > virtual or not are consistant, instead of a dev path vs production path Right, every developer can run

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
I  don't agree with virtual hosts setup for mod_perl folks. What if someone mess up the configuration file. If you want a central person to change them, then you are limitting the developer. The Linux-on-developers-box proposition also goes to include a database instance for the developer to cras

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
True...but I'm thinking full control to the developer. Developer can now mis-configure httpd.conf as much as he/she wants and all the paths; virtual or not are consistant, instead of a dev path vs production path I had a chance to work with Interwoven TeamSite and this very issue or virtual p

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Stuart Frew
Greetings, Depending on the number of developers and how often they change, virtual hosts are good. Set up a sub-domain for each developer, ie jim.my-company.co.nz. Then they can configure there local setup to there hearts content, seperate CVS/document tree, also get separate logs. C

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Valerio_Valdez Paolini
On Wed, 6 Mar 2002, Gunther Birznieks wrote: > Philippe Chiasson had a really nice talk on setting up developer teams on > mod_perl at ApacheCon 2001. Covers everything from CVS to deployment. You > may want to see if you can get the slides from him ([EMAIL PROTECTED]) if you > are interested

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Perrin Harkins
Medi Montaseri wrote: > Caller can also buy some content management software like Interwoven's > TeamSite > product that provides a virtual workarea, for about $300,000. It's so easy and effective to run mod_perl on developers' personal machines, I think there's no excuse not to do it. At eToy

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Gunther Birznieks
Philippe Chiasson had a really nice talk on setting up developer teams on mod_perl at ApacheCon 2001. Covers everything from CVS to deployment. You may want to see if you can get the slides from him ([EMAIL PROTECTED]) if you are interested in the details. Later, Gunther At 07:43 AM 3/6/20

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Paul Lindner
On Tue, Mar 05, 2002 at 04:53:56PM -0600, Dave Rolsky wrote: > On Tue, 5 Mar 2002, Medi Montaseri wrote: > > > My suggestion would be to install a Linux on your developer's PC and > > keep with the distributed model. Now everyone can use a common web tree > > and at integeration, bring all of the

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Dave Rolsky
On Tue, 5 Mar 2002, Medi Montaseri wrote: > My suggestion would be to install a Linux on your developer's PC and > keep with the distributed model. Now everyone can use a common web tree > and at integeration, bring all of them to a staging box, QC it and ship > it to production. Giving everyone

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
Caller wirtes > we've just migrated our 80K line pure perl web application to mod_perl...ah... > so much aster... can anyone advise on their experiences for setting up > apache/mod_perl for team development? up till now, we've all been running > our own copy of sources out of our home directo

here is a good modperl question on perlmonk

2002-03-05 Thread clayton cottingham
thought someone might like to have a gander at this: http://perlmonks.org/?node_id=146303 look forward to seeing your replies!!

RE: Multiple Location directives question

2002-03-05 Thread Rob Bloodgood
> Answering my own question, I stupidly forgot that I had a TransHandler up > above mucking my URLs before the Location directives got a chance > to try to match. So my /foo location block was never seeing a /foo URL. > > Still, I'm glad to see that the old system of "

RE: Multiple Location directives question

2002-03-05 Thread Rob Bloodgood
> >>What I want is for My::Foo to handle all URLs that start with "/foo", > >>without any authentication of any kind. Then I want the > remaining URLs to > >>be handled by My::Bar using its authentication handlers. > > Seems like it should work to me. > > > this may be one of those cases where "/

Re: Multiple Location directives question

2002-03-05 Thread John Siracusa
Answering my own question, I stupidly forgot that I had a TransHandler up above mucking my URLs before the Location directives got a chance to try to match. So my /foo location block was never seeing a /foo URL. Still, I'm glad to see that the old system of "post to a public lis

Re: Multiple Location directives question

2002-03-05 Thread Perrin Harkins
Geoffrey Young wrote: > John Siracusa wrote: > >>I have something like: >> >> >> SetHandler perl-script >> PerlHandler My::Foo >> >> >> >> SetHandler perl-script >> PerlHandler My::Bar >> >> AuthName Bar >> AuthType Basic >> PerlAuthenHandler My::Auth::Bar >> PerlAuthzHandler My::Authz::

Re: Multiple Location directives question

2002-03-05 Thread John Siracusa
On 3/5/02 11:58 AM, Geoffrey Young wrote: > you might want to set up > > /foo > > and > > /bar > > then use mod_rewrite or something to map !/foo to /bar Ug, there has to be another way... :-/ -John

Re: Multiple Location directives question

2002-03-05 Thread Geoffrey Young
John Siracusa wrote: > > I have something like: > > > SetHandler perl-script > PerlHandler My::Foo > > > > SetHandler perl-script > PerlHandler My::Bar > > AuthName Bar > AuthType Basic > PerlAuthenHandler My::Auth::Bar > PerlAuthzHandler My::Authz::Bar > require valid-us

Multiple Location directives question

2002-03-05 Thread John Siracusa
I have something like: SetHandler perl-script PerlHandler My::Foo SetHandler perl-script PerlHandler My::Bar AuthName Bar AuthType Basic PerlAuthenHandler My::Auth::Bar PerlAuthzHandler My::Authz::Bar require valid-user What I want is for My::Foo to handle all URLs that

Re: [QUESTION][BUG] apache dies with SIGSEGV

2002-02-26 Thread Mark P. Fister
On Tue, Feb 26, 2002 at 11:36:39AM +0100, gaston wrote: > Hi list > > I wrote a small perl module using perl/Expat for parsing XML-files. > With apache 1.3.19 and perl 5.6.0 and Expat 2.27 it works fine. > In my new configuration (apache 1.3.20, perl 5.6.1 and Expat 2.30) > apache dies with an

[QUESTION][BUG] apache dies with SIGSEGV

2002-02-26 Thread gaston
Hi list I wrote a small perl module using perl/Expat for parsing XML-files. With apache 1.3.19 and perl 5.6.0 and Expat 2.27 it works fine. In my new configuration (apache 1.3.20, perl 5.6.1 and Expat 2.30) apache dies with an SIGSEGV on loading. The error occured during the function call Par

[OT] Re: Anyone for JavaScript question

2002-02-21 Thread Nigel Hamilton
Hi Martin, You could try posting the form to a hidden frame or you could use Javascript remote scripting (JSRS) to communicate the onUnload event to your server. Nigel -- Nigel Hamilton Turbo10 Metasearch Engine email: [EMAIL PROTECTED] tel:+44 (0) 207 987 5460 fax:+44 (0)

Re: [OT] Re: Anyone for JavaScript question

2002-02-21 Thread Martin Haase-Thomas
hi nigel, i never tried aou JSRS before, so i can't judge about it. but posting the data to a hidden frame might not work on an unload event. imagine the user types in another url and löeaves the whole frameset. but now we're running far WOT ... :) martin Nigel Hamilton wrote: >Hi Martin,

Re: Anyone for JavaScript question

2002-02-21 Thread Martin Haase-Thomas
The simple onUnload() construction will not work. You will have to open a new browser window on unload displaying the output of your server program. martin Medi Montaseri wrote: >I know this is off topic, but I thought someone could use a break... > >Given a page called xyz.html, I want to me

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

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 (or the Apache::MIMEMapper module), makes mod_perl a bit more ISP friendly, as it's a lot easier for users to

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 han

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 acc

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

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 whe

Re: Question...

2002-02-14 Thread Rodney Hampton
m: "Jon Robison" <[EMAIL PROTECTED]> > > To: "Ron Beck" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Tuesday, February 12, 2002 12:28 PM > > Subject: Re: Question... > > > > > Cookies! > > > > >

Re: Question...

2002-02-13 Thread Steve Piner
- 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! > > > >

Re: Question...

2002-02-13 Thread Jon Robison
t; 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 toda

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

Re: Question...

2002-02-13 Thread Ryan Parr
;[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. > > --Jon > > Ron Beck wrote: > > > > Hello a

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 t

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

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 kno

Re: QUESTION

2002-02-06 Thread Tim Tompkins
February 06, 2002 8:21 AM Subject: QUESTION 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 ce

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

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 d

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

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

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

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 fi

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

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 fi

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

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 com

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 applicati

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

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 star

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

Re: mod_perl framework + code reuse question

2002-01-10 Thread Matthew Pressly
-plate stuff. 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 bel

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

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 "use"d, > etc.). I'd like to find a way to prevent having that code (bel

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: [...] SetHandler perl-script PerlHandler Apache::Re

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(

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

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 p

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

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 /home/joe/pu

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

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

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: One Two Three Four Five Six I have a handler like: ### package testform; use Apache::Requst; sub handler() { my $r = Apache::Request->new(shif

Re: Apache::Scoreboard question

2001-12-13 Thread Robert
s request record incl. virtual host name? - Robert > - Original Message - > From: Robert <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, December 13, 2001 11:38 AM > Subject: Apache::Scoreboard question > > > Hi, > > > > can Apache:

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

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

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

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=module&query=URI2param > ). > > Now, thanks to an i

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=module&query=URI2param ). Now, thanks to an idea by darren chamberlain, I wrote a small PerlInitHandler that does nothing more than parse some PerlSetVars and

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

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 fro

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

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: multiple ascii text

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 (www.oreilly

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 multiple ascii lines (output of the va

Re: cgi to mod_perl question

2001-10-17 Thread ___cliff rayman___
Brice D Ruth wrote: > Brice D Ruth wrote: > >> Perrin Harkins wrote: >> >> >> 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 causin

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 handl

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 prox

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

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 blocki

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

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 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: http://mathforum.org/epigone/modperl/joidwendsmeld/3B30

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 for

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( $s

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

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

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 ... $@"; $server->

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

Re: AxKit configuration question

2001-09-02 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 >>>

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 D

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

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