Re: [MP2] Placing Apache::RequestRec & Apache::RequestIO &APR::Table use statements in startup.pl

2003-07-24 Thread Jamie Krasnoo
On Thu, 2003-07-24 at 02:15, Stas Bekman wrote: > Jamie Krasnoo wrote: > > Will placing Apache::RequestRec & Apache::RequestIO & APR::Table in > > startup.pl to load them up for multiple handlers have any bad side > > effects? I noticed that when I load them via sta

[MP2] Placing Apache::RequestRec & Apache::RequestIO & APR::Tableuse statements in startup.pl

2003-07-24 Thread Jamie Krasnoo
in the module code and still work as normal. Jamie Krasnoo

Re: MP2 Redirection

2003-07-22 Thread Jamie Krasnoo
On Tue, 2003-07-22 at 03:10, Jamie Krasnoo wrote: > On Tue, 2003-07-22 at 02:50, Stas Bekman wrote: > > Jamie Krasnoo wrote: > > > What would be the best way to redirect in MP2? How would I set the > > > Location in the header? > > > > not any differen

Re: MP2 Redirection

2003-07-22 Thread Jamie Krasnoo
On Tue, 2003-07-22 at 02:50, Stas Bekman wrote: > Jamie Krasnoo wrote: > > What would be the best way to redirect in MP2? How would I set the > > Location in the header? > > not any different from mp1 (assuming that you have been working with mp1 > before, but t

MP2 Redirection

2003-07-21 Thread Jamie Krasnoo
What would be the best way to redirect in MP2? How would I set the Location in the header? something like this? my $r = Apache->request; # docs say $r->header_out and family are now deceased. $r->headers_out(Location => '/some/place.html'); return Apache::DECLINED; Jamie Krasnoo

mod_perl 2.0 and cookies

2003-07-11 Thread Jamie Krasnoo
So I’ve decided to dive headlong into 2.0. So far I like it but find the documentation lacking and there seems to be a lot missing. I tried Apache::Cookie with it, no dice. It gave an error to the effect that it didn’t know what “bootstrap” was (I think that was it). Apache::Cookie made ins

mod_perl 1.0 and 2.0

2003-07-09 Thread Jamie Krasnoo
Hi all,   I’m currently working on a personal project to get myself back in mod_perl programming order. However I’m more used to using mod_perl 1.0 with Apache 1.3.x. I’m going through the documentation for mod_perl 2.0 but I’m worried that most of the modules I need won’t work with mod_p

Mod_rewrite

2001-06-22 Thread Jamie Krasnoo
Can mod_rewrite be used to set PerlSetVar or PerlSetEnv variables? Jamie Krasnoo [EMAIL PROTECTED]

Best way to attach a module to /

2001-06-14 Thread Jamie Krasnoo
What is the best way to attach a module to be run when a user first enters the site? use LocationMatch and set it to only match / as in ^/$ ? Thanks, Jamie Krasnoo [EMAIL PROTECTED]

Apache pnotes

2001-06-08 Thread Jamie Krasnoo
The Eagle Books explanation of notes isn't very clear. Could someone point me to a page that explains it somewhat better? In what situation would it be beneficial to use them? Jamie Krasnoo [EMAIL PROTECTED]

Tracking down taint problems

2001-04-24 Thread Jamie Krasnoo
Is there a way that I could get mod_perl to fess up where the problem is? Jamie Krasnoo [EMAIL PROTECTED]

Search Engine Theory

2001-02-27 Thread Jamie Krasnoo
Can anyone point me to any documents on search engine theory and programming search engines with perl? Jamie Krasnoo www.MyEBoard.com [EMAIL PROTECTED]

RE: Is it Apache or me?

2001-02-25 Thread Jamie Krasnoo
Found a way around it. I used . Now it does what I want it to do. Thanks for your help guys. Jamie -Original Message- From: sterling [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 9:26 PM To: Jamie Krasnoo Cc: Modperl Subject: Re: Is it Apache or me? if you set a handler

Is it Apache or me?

2001-02-25 Thread Jamie Krasnoo
tatic page, that page gets intercepted and the app::main goes in to action. The handler doesn't intercept any of the other set locations. Why is it intercepting static pages? Is it a standard rule that a handler for is never set? Thanks, Jamie Krasnoo www.MyEBoard.com [EMAIL PROTECTED] public

RE: possible solution for "exec cgi SSI" in mod_perl

2001-02-25 Thread Jamie Krasnoo
Here's another way around it. You could use HTML::Template in place of SSI. Jamie -Original Message- From: Surat Singh Bhati [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 7:28 AM To: [EMAIL PROTECTED] Subject: possible solution for "exec cgi SSI" in mod_perl Hi, I am usin

RE: Looking for a new distro

2001-01-14 Thread Jamie Krasnoo
From: Jeffrey A. Stuart [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 14, 2001 3:48 PM To: Clayton Cottingham aka drfrog; dreamwvr; Jamie Krasnoo Cc: Modperl Subject: RE: Looking for a new distro Hey just as an FYI... I've got mod_perl and apache 1.3.14 and PHP 4.04 (I think or maybe 4.03pl1)

Looking for a new distro

2001-01-13 Thread Jamie Krasnoo
Ok, I've had it with RH 7.0. Too many problems. What Linux distro are some of you using with Apache 1.3.14 and mod perl 1.24_01? Jamie

RE: RedHat 7.0 and mod-perl

2001-01-09 Thread Jamie Krasnoo
t fine). Jamie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 09, 2001 2:19 AM To: Jamie Krasnoo Cc: Modperl Subject: Re: RedHat 7.0 and mod-perl Jamie Krasnoo wrote: > > Is anyone using mod-perl with apache-1.3.14 on RedHat 7.0? Any complaints?

RedHat 7.0 and mod-perl

2001-01-09 Thread Jamie Krasnoo
Is anyone using mod-perl with apache-1.3.14 on RedHat 7.0? Any complaints? Jamie Krasnoo

Re: slight mod_perl problem

2000-12-20 Thread Jamie Krasnoo
startup.pl does not get repeated on a restart. However it will when started with ./apachectl start. I have never encountered this with Apache 1.3.12 or 13. Jamie On Thu, 21 Dec 2000, Stas Bekman wrote: > On Wed, 20 Dec 2000, Jamie Krasnoo wrote: > > > Ok, it seems that my startup

slight mod_perl problem

2000-12-20 Thread Jamie Krasnoo
Ok, it seems that my startup.pl is being run twice on server start. Startup init running startup.pl - loading templates into memory --- Loaded template file user_reg.tmpl Startup init running startup.pl - loading templates into memory --- Loaded template file user_reg.tmpl [Wed Dec 20 15:18:21 20

Re: Multiple Connections on Apache::DBI?

2000-09-13 Thread Jamie Krasnoo
Apache::DBI overrides DBI in the creation of a connection to the database in order to cache the connection. So the connections you created below are seen as the same by Apache::DBI and when you change one you change the other since the connection is comming from the same persistent pool. Try spec

Insecure $ENV{PATH} error

2000-08-24 Thread Jamie Krasnoo
Could anyone tell me how to fix this error? [Thu Aug 24 11:29:14 2000] [error] Insecure $ENV{PATH} while running setgid at /usr/lib/perl5/5.6.0/Cwd.pm line 85. Its comming from the PerlRequire in my httpd.conf. I recently recompiled the kernel, could that be the problem? Thanks, Jamie

expiring pages with mod_perl

2000-08-20 Thread Jamie Krasnoo
Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? Thanks, Jamie

Seg fault (11) backtrace (long email) - was RE: does anyone have a fix for this?

2000-08-03 Thread Jamie Krasnoo
me/httpd/perl/app and the hello.pm residing in app. Run with the package declaration as "package app::hello;" then as "package hello;" <-- should seg fault on this one and single server should die. I tried this with both stock RedHat kernel and 2.4.0-test5 kernel, same results

does anyone have a fix for this?

2000-08-02 Thread Jamie Krasnoo
ler perl-script PerlHandler app::hello to help here's a copy of my startup.pl - basic nothing special #!/usr/bin/perl BEGIN { use Apache; use lib '/home/httpd/perl'; } 1; The help is much appreciated, I've lost half my hair tearing it out trying to find the cause of this problem. Thanks, Jamie Krasnoo