Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-03 Thread petersm
If you want to do something like this ... every file ending in .pl is run as an Apache::Registry (mod_perl 1) script you could do something like this in your httpd.conf [snip] PerlModule Apache::Registry AddHandler perl-script .mpl PerlHandler Apache::Registry [/snip] This kind of setup is dang

Re: some children not returning newly-inserted data

2004-05-02 Thread petersm
Dave Boodman wrote: As Perrin said, it sounds like it might be a scoping issue with some variables and how they are (not?) passed into subs. What could really help us spot it are your subs and calls to them. In fact if you can reduce it to a very simple test case that has the same experience, it w

Re: strange Apache::Session problem

2004-04-19 Thread petersm
It seems that you are creating an unintended closure. You should try declaring your vars inside of the sub 'checkin' and not outside of it. This may not be your only problem but it's a good place to start. Michael Peters Venzia Levente Janovszki wrote: > > my ( $r, $cookie, %session, $html_c

Re: httpd.conf directives for mod_perl under Apache2

2004-03-12 Thread petersm
Charlie Smith <[EMAIL PROTECTED]> wrote > > LoadModule ssl_module modules/mod_ssl.so > > > Why is the tag used here and where would it be defined. Same > question would apply for all the other IfDefine tages in the httpd.conf file. > REPLY: I'll answer part of this one myself. I commented

PHP proxy?

2004-03-08 Thread petersm
Dear almighty list, I currently have a mod_ssl, mod_proxy, mod_rewrite apache setup as the front end server and a mod_perl backend. A customer now needs me to add php. As I see it, I have three options 1)I can just rebuild the front end and put php there. 2)I can rebuild the backend and put p

Re: Proxy Config

2004-03-05 Thread petersm
taking place fine. Somehow, when the back-end 'apache_perl' recieves the request something is going wrong and it's not logging it (or at least no where I'm looking) Any help? thanks, Michael Peters Venzia -- Original Message --- From: "petersm" <[EMAIL PROT

Proxy Config

2004-03-05 Thread petersm
Greetings, Using Fedora Core 1 Apache 1.3.29 mod_perl 1.29 Aparently I am just not understanding something and would like to ask this list for some help. I'm trying to set up a non-mod_perl proxy server as the front end which would then forward requests for certain files of certain applications t

Re: Wow. Uh. Heh. PerlRun and Seeming Caches...

2004-02-19 Thread petersm
Morbus Iff wrote: > So, in my case, it appears that eval'ing the module in the .cgi script > is my only solution, based on this bit from the porting guidelines: > > When running under mod_perl, once the server is up @INC is frozen > and cannot be updated. The only opportunity to temporarily mo

Re: Apache::Registry vs Other PerlHandlers (Was: Re: [OT] Re: Shared Module Vars, Missing Object Methods?)

2004-02-18 Thread petersm
Garth Webb <[EMAIL PROTECTED]> wrote > > If anyone knows of any other simple C-based templating systems they use > and like, I'd be interested to hear about it! I really like HTML::Template. I know it's mostly perl based, but it is known for being really fast. Plus there are several cacheing opti

Re: [admin] list etiquette

2004-01-20 Thread petersm
Stas Bekman <[EMAIL PROTECTED]> wrote >Please read the mailing list Guidelines before posting. > > with the link to > > http://perl.apache.org/maillist/email-etiquette.html > > Do you suggest another direct link like so: > > Reporting bugs: http://perl.apache.org/bugs/ > Mail list info: htt

Re: perl sections howto?

2004-01-20 Thread petersm
Stas Bekman <[EMAIL PROTECTED]> wrote > Ged Haywood wrote: > > >>How would they know that they aren't being answered because they posted > >>the question or the followup the way they do it 100 times a day? > > > > By reading > > > > http://perl.apache.org/maillist/email-etiquette.html#Replying_

Re: RE : Includes in mod_perl

2004-01-16 Thread petersm
"Hemond, Steve" <[EMAIL PROTECTED]> wrote > Here are snippets of my httpd.conf file : > - > ... > LoadModule perl_module modules/mod_perl.so > ... > DocumentRoot "/usr/local/apache2/htdocs" > ... > > Options Indexes +Includes +ExecCGI > AllowOverride

Re: Includes in mod_perl

2004-01-16 Thread petersm
Hemond, Steve <[EMAIL PROTECTED]> wrote > Actually : > 1. I have only one website running on my Apache webserver (in /htdocs/) Maybe if you show us the relevant portions of your httpd.conf file we could point you in the right direction since this is were most of that is set up. > 2. I would like

Re: Run script for directory index

2004-01-10 Thread petersm
"Chris Faust" <[EMAIL PROTECTED]> wrote > But I can't seem to accomplish the same thing using MP2 while still being able to define other dirs (like a image dir).. try changing > SetHandler perl-script to AddHandler perl-script I had a similar problem and my understanding is

Re: help, problems on migrating to mod_perl

2003-12-05 Thread petersm
Sounds like some of those problems are related to your config file. Please post the relavant sections of your http.conf file. Michael Venzia -- Original Message --- From: "SRef" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Fri, 5 Dec 2003 11:48:24 -0800 Subject: help, problems