Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Doug MacEachern
> On Tue, 23 May 2000, Marc Lehmann wrote: > > At leats in the example I sent in there is no sign of any closure. > > There is a closure, and this might be the thing that's making trouble for > you, or at least part of it. This is a closure: that example is only a closure if it's compiled by Ap

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Doug MacEachern
On Tue, 23 May 2000, Marc Lehmann wrote: > If this were true, it would be very bad. If there is no technical > need to do this "half-reloading" then it should definitely be turned > off. it is off by default, you turned it on with 'PerlFreshRestart On' > It breaks perfectly valid perl code, cr

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Perrin Harkins
ted to make clear is > that the my variable in question is global (= life during the program > lifetime), since it was declared at package scope. A lexical (my) variable normally goes away when perl leaves the scope it was declared in. Only your closure kept it around. > Huh? Why is &qu

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Marc Lehmann
On Tue, May 23, 2000 at 10:08:46AM -0700, Gustavo Duarte <[EMAIL PROTECTED]> wrote: > I'm not sure this makes sense for your case, but it might help, so... It probably makes a lot of sense. Thanks! > "When the server [apache] is restarted, the configuration and module > initialization phases are

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Gustavo Duarte
helu. Marc Lehmann wrote: > And so my question is: why does this behaviour exist, and why is it > necessary (the documents I saw so far only told me that this "has > something to do with apache's configuration file parsing", which doesn't > explain much, especi

Re: PerlTransHandler question.

2000-05-23 Thread Randal L. Schwartz
> "Antonio" == Antonio Pascual <[EMAIL PROTECTED]> writes: Antonio> I want handler a request only if the url is like http://localhost/idTrans=XXX Antonio> In other case do the default behaviour. Antonio> How could I do this? Antonio> I suppose that I have to use PerlTransHandler, but I don't

RE: PerlTransHandler question.

2000-05-23 Thread Geoffrey Young
: [EMAIL PROTECTED]Subject: PerlTransHandler question. I want handler a request only if the url is like http://localhost/idTrans=XXX In other case do the default behaviour. How could I do this? I suppose that I have to use PerlTransHandler, but I don't know how.   Than

PerlTransHandler question.

2000-05-23 Thread Antonio Pascual
I want handler a request only if the url is like http://localhost/idTrans=XXX In other case do the default behaviour. How could I do this? I suppose that I have to use PerlTransHandler, but I don't know how.   Thanks in advance.   Antonio.

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Ken Williams
[EMAIL PROTECTED] (Marc Lehmann) wrote: >= >package othermodule; > >my $global = 5; > >sub set_global { > $global = shift; >} >= > >And use this

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Marc Lehmann
On Tue, May 23, 2000 at 09:26:13AM +0100, Matt Sergeant <[EMAIL PROTECTED]> wrote: > Hmm... AxKit does all this, and is very stable for me, and I've only had a > couple of reports of segfaults, none of which went unsolved as far as I > know... OK. To be fair, I am not 100% sure wether it's an mod

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Marc Lehmann
On Mon, May 22, 2000 at 11:24:10PM -0700, Perrin Harkins <[EMAIL PROTECTED]> wrote: > business about being parsed twice only applies to Apache's config file > and sections in it, not to your modules. A little followup: Looking at the mod_perl source, I see that INC is tinkered with in a lot of p

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Matt Sergeant
On Tue, 23 May 2000, Marc Lehmann wrote: > On Tue, May 23, 2000 at 12:56:28AM -0500, Autarch <[EMAIL PROTECTED]> wrote: > > On Tue, 23 May 2000, Marc Lehmann wrote: > > > > > stable (mod_perl really is very unstable for large applications). Apart > > > > Wow, I wish you'd warned me before I did

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Marc Lehmann
On Tue, May 23, 2000 at 12:27:58PM +0800, Gunther Birznieks <[EMAIL PROTECTED]> wrote: > replace my $global with use vars qw($global); and your problem should > disappear. If you had read my mail you would have known that I do not search for a workaround. While in this simple example it is pos

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Marc Lehmann
On Tue, May 23, 2000 at 12:56:28AM -0500, Autarch <[EMAIL PROTECTED]> wrote: > On Tue, 23 May 2000, Marc Lehmann wrote: > > > stable (mod_perl really is very unstable for large applications). Apart > > Wow, I wish you'd warned me before I did several large applications using > mod_perl. Fortuna

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Marc Lehmann
eats in the example I sent in there is no sign of any closure. > Some of your language makes it look like you may have some confusion > between global and lexicals. Indeed, I could have worded it better. Just replace global by "file-scope" and it is correct, though. What I wanted t

Re: global variables and reparsing question (low priority ;)

2000-05-22 Thread Perrin Harkins
le (mod_perl really is very unstable for large applications). Apart > from expected semantics of global lexical variables. > > So my very own problem is solvable (either by using package variables > or that ugly but working trick above). Third-party modules (e.g. from > CPAN) ho

Re: global variables and reparsing question (low priority ;)

2000-05-22 Thread Autarch
On Tue, 23 May 2000, Marc Lehmann wrote: > stable (mod_perl really is very unstable for large applications). Apart Wow, I wish you'd warned me before I did several large applications using mod_perl. Fortunately, they haven't experienced any mod_perl related problems. Just a fluke, I guess. An

Re: global variables and reparsing question (low priority ;)

2000-05-22 Thread Gunther Birznieks
ry own problem is solvable (either by using package variables >or that ugly but working trick above). Third-party modules (e.g. from >CPAN) however, still suffer from this problem, and due to my dumbness I >fall into that trap again and again. > >And so my question is: why does this beha

global variables and reparsing question (low priority ;)

2000-05-22 Thread Marc Lehmann
ly but working trick above). Third-party modules (e.g. from CPAN) however, still suffer from this problem, and due to my dumbness I fall into that trap again and again. And so my question is: why does this behaviour exist, and why is it necessary (the documents I saw so far only told me that this

Re: ModPerl Upgrade Question

2000-05-22 Thread Vivek Khera
> "PJN" == Pierre J Nicolas <[EMAIL PROTECTED]> writes: PJN> I'm currently running "mod_perl" 1.21_03 and I'm using PJN> "PerlFreshRestart." I haven't experienced any problems PJN> with it, but I'm wondering if I should upgrade to the PJN> seemingly more stable "1.23" release. If you have n

ModPerl Upgrade Question

2000-05-22 Thread Pierre J. Nicolas
I'm currently running "mod_perl" 1.21_03 and I'm using "PerlFreshRestart." I haven't experienced any problems with it, but I'm wondering if I should upgrade to the seemingly more stable "1.23" release. Could someone shed some light? Thanks, Pierre

Re: question - can asp be run as cgi???

2000-05-19 Thread Joshua Chamas
actly my situation. I've also found > alot of leads in the right direction, but no final answer (or mysterious > ASP.pl program). > > I've been unable to nail down an answer to the question: > > Is there a way to run ASP as a cgi program (interchangably). > > What are the steps involved to do that? > > Thanks alot for the help, > > Charles Dalsass > www.neptuneweb.com

question - can asp be run as cgi???

2000-05-19 Thread Charles Dalsass
gram). I've been unable to nail down an answer to the question: Is there a way to run ASP as a cgi program (interchangably). What are the steps involved to do that? Thanks alot for the help, Charles Dalsass www.neptuneweb.com

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Kreimendahl, Chad J
[EMAIL PROTECTED]] Sent: Friday, May 19, 2000 1:07 PM To: David Veatch Cc: Geoffrey Young; [EMAIL PROTECTED] Subject: RE: PerlFreshRestart Question/Problem > At 01:22 PM 5/19/00 -0400, Geoffrey Young wrote: > >I think the title says it best: > >http://perl.apache.org/guide/troubl

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Doug MacEachern
> So the PerlFreshRestart is still an issue. yep. > I thought it was resolved as well. one issue was resolved, that was triggered by MIME::foo messing with %INC while mod_perl was iterating over it. and, as vivek mentioned, dso mod_perl does a complete teardown (perl_destruct), but it leaks a

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Stas Bekman
On Fri, 19 May 2000, Vivek Khera wrote: > > "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: > > SB> Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I > SB> thought to remove this item from the Guide. Are there still problems with > SB> DSO? > > DSO works great for me n

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Stas Bekman
On Fri, 19 May 2000, Doug MacEachern wrote: > On Fri, 19 May 2000, Stas Bekman wrote: > > > Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I > > thought to remove this item from the Guide. Are there still problems with > > DSO? > > > > If I remember correctly the problem w

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Doug MacEachern
On Fri, 19 May 2000, Stas Bekman wrote: > Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I > thought to remove this item from the Guide. Are there still problems with > DSO? > > If I remember correctly the problem was of broken internal pointers when > the DSO code was relo

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Vivek Khera
> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: SB> Huh? Wasn't the mod_perl 1.23 supposed to fix this problem with DSO? I SB> thought to remove this item from the Guide. Are there still problems with SB> DSO? DSO works great for me now with the fixes in place of mod_perl 1.23. However,

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Stas Bekman
> At 01:22 PM 5/19/00 -0400, Geoffrey Young wrote: > >I think the title says it best: > >http://perl.apache.org/guide/troubleshooting.html#Evil_things_might_happen > _when_us > > Sweet. Thanks. So the problem is probably any number of weak module > issues. That's enough for me right now...

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread David Veatch
At 01:22 PM 5/19/00 -0400, Geoffrey Young wrote: >I think the title says it best: >http://perl.apache.org/guide/troubleshooting.html#Evil_things_might_happen _when_us Sweet. Thanks. So the problem is probably any number of weak module issues. That's enough for me right now... turning it of

RE: PerlFreshRestart Question/Problem

2000-05-19 Thread Geoffrey Young
> -Original Message- > From: David Veatch [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 19, 2000 11:48 AM > To: [EMAIL PROTECTED] > Subject: PerlFreshRestart Question/Problem > > > Greetings, > > [i sent this once, but think it got hung up at the mai

PerlFreshRestart Question/Problem

2000-05-19 Thread David Veatch
Greetings, [i sent this once, but think it got hung up at the mail server... my apologies if this already went through] I've run into some interesting behaviors with the PerlFreshRestart directive. If I understand correctly, this directive is supposed to force modules to reload when you exec

Re: newbie question - require

2000-05-15 Thread w trillich
Brett Lee wrote: > but with mod_perl, the info in the hash tables seems to be found "every > other refresh" (which has me stumped). > > Would anyone be able to suggest a solution or reading material on this? don't forget to check your stuff out with single-process mode, via 'apachectl stop; apac

RE: newbie question - require

2000-05-15 Thread Graf, Chris
Check the mod_perl guide for the usage of require() and do(). You probably want to use do() instead of require(). Chris -Original Message- From: Brett Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, May 15, 2000 7:56 AM To: [EMAIL PROTECTED] Subject: newbie question - require In moving

newbie question - require

2000-05-15 Thread Brett Lee
In moving from CGI.pm to mod_perl, I ran across the common error with functions that exist in scripts pulled in with 'require'. Mod_perl_traps.html had the solution. Similarly, am using ('require') another file which holds all the hash tables (countries, states, etc.) that my scripts need to ref

Re: Newbie Question -

2000-05-12 Thread Doug MacEachern
> > not compiled, but the all the code lives in a BIG hash table for CGI.pm to > > autoload from. the export lists take up alot of space too. regardless if > > you're using html routines or not. > > As I have replied to FEITO Nazareno today, this happens only if you > precompile CGI.pm's functi

Re: Newbie Question -

2000-05-12 Thread Stas Bekman
On Fri, 12 May 2000, Doug MacEachern wrote: > On Sat, 6 May 2000, Gunther Birznieks wrote: > > > 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 pass

Re: Newbie Question -

2000-05-12 Thread Doug MacEachern
On Sat, 6 May 2000, Gunther Birznieks wrote: > 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

Re: may be an offtopic question..

2000-05-10 Thread Vivek Khera
>>>>> "NT" == Niral Trivedi <[EMAIL PROTECTED]> writes: NT> My question is, Can we use custom database for authentication with NT> Apache instead of default text based authentication??? NT> Has anybody done that before?? I have looked apache site a

Re: may be an offtopic question..

2000-05-10 Thread Matt Sergeant
7On Wed, 10 May 2000, Niral Trivedi wrote: > All, > > I am not sure whether this is the right place to ask this question... > sorry if not.. > > My question is, Can we use custom database for authentication with > Apache instead of default text based authentication???

may be an offtopic question..

2000-05-10 Thread Niral Trivedi
All, I am not sure whether this is the right place to ask this question... sorry if not.. My question is, Can we use custom database for authentication with Apache instead of default text based authentication??? Has anybody done that before?? I have looked apache site and cpan site.. but

Re: Newbie Question -

2000-05-09 Thread Drew Taylor
Geoffrey Young wrote: > > > Drew Taylor wrote: > > I'm quite sure it would be an easy write, but I just haven't done it > > yet. I think once I convert my CGIs to handlers, it makes > > sense to do it > > then. It would be interesting to see if anyone else is interested and > > work out an API for

RE: Newbie Question -

2000-05-09 Thread Geoffrey Young
> -Original Message- > From: Drew Taylor [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 09, 2000 9:08 AM > To: Peter Haworth > Cc: [EMAIL PROTECTED] > Subject: Re: Newbie Question - > > > Peter Haworth wrote: > > > > Drew Taylor wrote: >

Re: Newbie Question -

2000-05-09 Thread Peter Haworth
Drew Taylor wrote: > What I would really like is a module which subclasses Apache::Request, > and has the popup_menu, scrolling_list, and checkbox group methods > available. That way I can use the smaller (faster) Apache::Request and > still have the few HTML generation methods that I need. This w

Re: Newbie Question -

2000-05-09 Thread Drew Taylor
Peter Haworth wrote: > > Drew Taylor wrote: > > What I would really like is a module which subclasses Apache::Request, > > and has the popup_menu, scrolling_list, and checkbox group methods > > available. That way I can use the smaller (faster) Apache::Request and > > still have the few HTML gene

Re: Newbie Question -

2000-05-08 Thread Drew Taylor
Adi wrote: > > 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

RE: Newbie Question -

2000-05-08 Thread Geoffrey Young
> -Original Message- > From: Doug MacEachern [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 05, 2000 6:22 PM > To: Geoffrey Young > Cc: 'Pierre J. Nicolas'; [EMAIL PROTECTED] > Subject: RE: Newbie Question - > > > > > mod_perl override

Re: Global Variable Question

2000-05-07 Thread Gunther Birznieks
The current request will have exclusive rights to it since each apache engine has it's own perl engine. For your intents and purposes, a single perl engine is never servicing more than one request to completion at any given time. Whether that environment variable survives untouched to the next

Global Variable Question

2000-05-07 Thread Pierre J. Nicolas
What would happen if I'm using the "CGI.pm" while running the modperl module and I set an environment variable in a cgi-based script with "$ENV{'var'} = $value. I only care that this variable doesn't get overwritten during this request. Could another execution of the same script cause this env.

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

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 S

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

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 int

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.

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

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 sessi

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

RE: Newbie Question

2000-05-05 Thread Geoffrey Young
M > To: [EMAIL PROTECTED] > Subject: Newbie Question > > > 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/s

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
> -Original Message- > From: Pierre J. Nicolas [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 05, 2000 10:00 AM > To: [EMAIL PROTECTED] > Subject: Newbie Question - > > > Good Morning, > > I just started using mod_perl, I'm still using the CGI.pm

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)

little question about handlers...

2000-05-04 Thread FEITO Nazareno
When I run my test script from the webserver itdoesn´t work the submit button... I don´t use handlers here, just this: #!/usr/bin/perl -w use CGI; use strict; my $debug=0; my $error=0; my $q->new CGI(); my $me=$q->script_name(); my $s; print header(); printheader(); #i´m going to obvius the

Re: hey I have a question

2000-05-03 Thread Rodney Broom
- Original Message - From: "FEITO Nazareno" <[EMAIL PROTECTED]> I have a question too, what opperating system is this on? Rodney

RE: hey I have a question

2000-05-03 Thread FEITO Nazareno
I do the same thing, but my memory is out in a little while... the error_log begin to send me out of memory!!! any idea? Nazarenowww.obsequie.com

Re: hey I have a question

2000-05-03 Thread Bruce W. Hoylman
>>>>> "FEITO" == FEITO Nazareno <[EMAIL PROTECTED]> writes: FEITO> Make httpd from mod_perl or make prep_httpd and then make FEITO> httpd from apache? I hope you understand my question. Using APACI, I've 'made' Apache from mod_perl

hey I have a question

2000-05-03 Thread FEITO Nazareno
What´s better? Make httpd from mod_perl or make prep_httpd and then make httpd from apache? I hope you understand my question. Nazarenowww.obsequie.com

off-topic question

2000-04-27 Thread Ron Beck
Hello all, I have a perl question which is somewhat related because I'm trying to write a mod_perl script but I'm stuck with this. I need to search a flat file for either a specific user name, or for all users. what I want to do is something like this... ... if ($user_na

Redirection that is the question...

2000-04-26 Thread FEITO Nazareno
I have a page... www.obsequie.com but when I in with IE I can´t see the pictures... I just maintaining the site... I don´t know if the problem is in the scripts cause of some redirection or is because Apache is redirecting bad domain... can anybody help me? may be this question doesn´t belong to

design question

2000-04-25 Thread David Hajoglou
I am trying to implement a cross platform auth scheme whereby users log into a system running in a microsoft environment. Then, when they want to check their e-mail, they click a link in the form of: mail.isoftcorp.com/auth?k= the key sequence is determined when they log into the main site and

design question

2000-04-19 Thread David Hojo Hajoglou
I am writing a module that is supposed to do two things: A request is made in the form of www.xxx.yyy/auth?k=lksdjflksjfdlkjdsf where auth is handled via a directive. This module looks at the query string, queries a database and does one of two things. 1) If the db query returns foo. I need t

Please ignore my previous question

2000-04-15 Thread Gagan Prakash
** Web App Development Needs? *** Contact OSATech today! http://www.OSATech.com *** - Original Message - From: "Gagan Prakash" <[EMAIL PROTECTED]> To: "modperl (E-mail)" <[EMAIL PROTECTED]> Sent: Saturday, Apr

Re: Quick question re: mod_perl

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, Charles Aulds wrote: > Doug, > > Can you tell me with a simple response, are the modules shown on my status > page http://192.168.1.1/perl-status?inc all loaded by mod_perl when it starts? > I have no PerlModule or PerlRequire directives in effect. Apache.pm and Apache::Con

Re: IPC::Semaphore permission denied question

2000-04-10 Thread Jeffrey W. Baker
On Mon, 10 Apr 2000, Jeff Gleixner wrote: > Been running a mod_perl/Mason enabled server for a while, now I want to > change the owner of the process to "www", from "nobody". In doing so I > get: > > Permission denied at > /usr/local/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker

IPC::Semaphore permission denied question

2000-04-10 Thread Jeff Gleixner
Been running a mod_perl/Mason enabled server for a while, now I want to change the owner of the process to "www", from "nobody". In doing so I get: Permission denied at /usr/local/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker.pm line 46. if (!$self->{sem}) { $self->{

Re: Silly Question

2000-04-07 Thread Eric L. Brine
> I want to know if the script can be set with setuid as root for > execution. Since you asked this on this list, I will assume the script is a mod_perl script. Unless the whole web server runs as root, I don't think the script can run as root. Here's what you can do instead. Have the mod_perl

Silly Question

2000-04-07 Thread Vijay
Hello,   We recently bought a new Raq3 server. We have developed a script to add users directly from the web interface. IT is bombing out as the script should be run as 'root'.   I want to know if the script can be set with setuid as root for execution.   Thanks for any help.   VIjay

Re: ANNOUNCE: IPO::Shareable [Re: may be an off topic question..]

2000-04-07 Thread darren chamberlain
> use IPO::Shareable qw(:NYSE); > > my $ipo = IPO::Shareable->new($company); > $ipo->is_internet(); > hype $ipo; # dangerous indirect syntax! > my $shares = $ipo->invest($LITTLE); > $ipo->inflate($HUGE); # Note that HUGE is not really a constant > $ipo->sell($shares); # may need t

[OT/funny] Re: ANNOUNCE: IPO::Shareable [Re: may be an off topic question..]

2000-04-06 Thread Stas Bekman
On Thu, 6 Apr 2000, Perrin Harkins wrote: > On Thu, 6 Apr 2000, Niral Trivedi wrote: > > This book has a topic in it in which it has given an example using a > > module called 'IPO::Shareable' which is available from CPAN site.. > > =head1 NAME > > IPO::Shareable - Perl extension to get rich qu

[OOT] Re: ANNOUNCE: IPO::Shareable [Re: may be an off topic question..]

2000-04-06 Thread Tobias Hoellrich
You failed to mention that this module requires: IPO::BuzzWords qw(:xml :b2b :asp :wha) Angel::Investor and Location::PaloAlto qw(:noMatterWhatItCosts) Thanks Perrin Tobias At 03:15 PM 4/6/00 -0700, Perrin Harkins wrote: >=head1 NAME > >IPO::Shareable - Perl extens

ANNOUNCE: IPO::Shareable [Re: may be an off topic question..]

2000-04-06 Thread Perrin Harkins
On Thu, 6 Apr 2000, Niral Trivedi wrote: > This book has a topic in it in which it has given an example using a > module called 'IPO::Shareable' which is available from CPAN site.. =head1 NAME IPO::Shareable - Perl extension to get rich quick =head1 SYNOPSIS use IPO::Shareable qw(:NYSE);

may be an off topic question..

2000-04-06 Thread Niral Trivedi
All, I am not sure whether this is the right group to post this question.. I have found this thing in book "Writing Apache Modules with PERL and C" from O'Reilly.. This book has a topic in it in which it has given an example using a module called 'IPO::Shareable' whi

Re: dumb beginner question

2000-04-04 Thread Jeff Beard
http://perl.apache.org/guide/performance.html#Persistent_DB_Connections The answers to most beginner questions are in the guide as well. --Jeff At 05:28 PM 4/4/00, Adam Gotheridge wrote: >I have been using zope for a while and while it is cool, I really like the >speed/power/ease-of-use of per

dumb beginner question

2000-04-04 Thread Adam Gotheridge
I have been using zope for a while and while it is cool, I really like the speed/power/ease-of-use of perl so I would like to mimick some of the more important functions I saw in zope and I can't figure it out. One of the cool zope things was that you made one db connection object and then all da

Re: Question about SendFile.pm from Eagle book

2000-02-12 Thread Frank Wiles
On Sat, 12 Feb 2000 [EMAIL PROTECTED] wrote: > As a beginner in Mod_perl, > I have to get the file from the remote host (Mod_perl enabled Apache) > if not in the local host, so I am currently modifying SendFile.pm in Eagle > book > at > > unless(-e $r->finfo) { > ... > instead of givin

Question about SendFile.pm from Eagle book

2000-02-12 Thread LSMPX
As a beginner in Mod_perl, I have to get the file from the remote host (Mod_perl enabled Apache) if not in the local host, so I am currently modifying SendFile.pm in Eagle book at > unless(-e $r->finfo) { ... instead of giving the nonexistence error message here get the file from t

Re: modperl/MySQL question

2000-02-11 Thread Matt Carothers
On Tue, 8 Feb 2000, Terry G Lorber II wrote: > DBD::mysql::st execute failed: MySQL server has gone away at slashmod.pm > line 23 [...] > Is this a server problem, a perl problem, or a MySQL problem? Do I need > to adjust a timeout setting somewhere? Sounds like you need Apache::DBI. 1) Enab

mod_rewrite question..

2000-02-09 Thread Mick B
Hi - I'm probably posting this to the incorrect list (If there is a dedicated apache list would someone please point me in it's direction.) Here's my problem - I'm trying to grab the 'id' part of a url - e.g - www.somewhere.com/id and place the val. into an environment variable - which mod_rewrit

modperl/MySQL question

2000-02-08 Thread Terry G Lorber II
I am trying to implement a SLASH (http://www.slashdot.org) on my server. Whenver I hit a *.pl file from the browser, I get the following erorr message: [Tue Feb 8 17:08:43 2000] [error] [client 192.168.1.2] File does not exist: /ho me/slash/public_html/slashdot.gif DBD::mysql::st execute faile

Re: correction! Re: Question about error log message and PERL_SSI

2000-02-06 Thread Stas Bekman
uot;ModPerl Mailing List (E-mail)" <[EMAIL PROTECTED]> > > Subject: Re: correction! Re: Question about error log message and PERL_SSI > > > > > > Ooops, I was wrong, you need to use ALL_HOOKS=1 to enable all handlers or > > > > just PERL_SSI=1 for PerlSSI. >

Re: correction! Re: Question about error log message and PERL_SSI

2000-02-06 Thread Bill Jones
Can I just throw in a 'me too, as well' ? EVERYTHING=1 gets PERL_SSI... Bill Jones * Systems Programmer * http://www.fccj.org/cgi/mail?sneex ('> Running -

How to update params with CPAN.PM question

2000-02-06 Thread gnielson
On Mon, 7 Feb 2000, Stas Bekman wrote: > Date: Mon, 7 Feb 2000 00:01:56 +0200 (IST) > From: Stas Bekman <[EMAIL PROTECTED]> > To: gnielson <[EMAIL PROTECTED]> > Cc: "ModPerl Mailing List (E-mail)" <[EMAIL PROTECTED]> > Subject: Re: correction! Re: Qu

Re: correction! Re: Question about error log message and PERL_SSI

2000-02-06 Thread Ask Bjoern Hansen
On Sun, 6 Feb 2000, Stas Bekman wrote: [...] > > > EVERYTHING=1 should install PerlSSI as well. > > > > > > Configure perl-status to work (see 'perldoc Apache::Status') then do: > > > http://localhost/perl-status?hooks to check the enabled hooks. > > > > Thanks for that information. That showe

Re: correction! Re: Question about error log message and PERL_SSI

2000-02-06 Thread Stas Bekman
> > Ooops, I was wrong, you need to use ALL_HOOKS=1 to enable all handlers or > > just PERL_SSI=1 for PerlSSI. > > > > (I thought EVERYTHING=1 installs it all :) > > So I guess I need to rebuild it manually, eh, with ALL_HOOKS=1? No easier > way to add this functionality? Nope you don't have

Re: correction! Re: Question about error log message and PERL_SSI

2000-02-06 Thread gnielson
On Sun, 6 Feb 2000, Stas Bekman wrote: > Date: Sun, 6 Feb 2000 23:37:56 +0200 (IST) > From: Stas Bekman <[EMAIL PROTECTED]> > To: gnielson <[EMAIL PROTECTED]> > Cc: "ModPerl Mailing List (E-mail)" <[EMAIL PROTECTED]> > Subject: correction! Re: Qu

correction! Re: Question about error log message and PERL_SSI

2000-02-06 Thread Stas Bekman
> > Date: Sun, 6 Feb 2000 23:20:49 +0200 (IST) > > From: Stas Bekman <[EMAIL PROTECTED]> > > To: gnielson <[EMAIL PROTECTED]> > > Cc: "ModPerl Mailing List (E-mail)" <[EMAIL PROTECTED]> > > Subject: Re: Question about error log message

Re: Question about error log message and PERL_SSI

2000-02-06 Thread gnielson
Replies below: On Sun, 6 Feb 2000, Stas Bekman wrote: > Date: Sun, 6 Feb 2000 23:20:49 +0200 (IST) > From: Stas Bekman <[EMAIL PROTECTED]> > To: gnielson <[EMAIL PROTECTED]> > Cc: "ModPerl Mailing List (E-mail)" <[EMAIL PROTECTED]> > Subject: Re: Qu

Re: Question about error log message and PERL_SSI

2000-02-06 Thread Stas Bekman
> I successfully installed mod_perl under Apache/1.3.6 (Unix). However, when > attempting to run some Web pages I have that use #perl sub I get an error > log message, "unknown directive 'perl' in parsed doc." > > I installed mod_perl right from CPAN and assumed that mean EVERYTHING=1 > would be

Question about error log message and PERL_SSI

2000-02-06 Thread gnielson
I successfully installed mod_perl under Apache/1.3.6 (Unix). However, when attempting to run some Web pages I have that use #perl sub I get an error log message, "unknown directive 'perl' in parsed doc." I installed mod_perl right from CPAN and assumed that mean EVERYTHING=1 would be the default

<    5   6   7   8   9   10   11   12   >