Re: handlers

2006-07-31 Thread Scott Penrose
akes sense. Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Welcome to the Digital Dimension http://www.dd.com.au/ [EMAIL PROTECTED] Dismaimer: Contents of this mail and signature are bound to change randomly. Whilst every attempt has been made to co

Re: handlers

2006-07-31 Thread Scott Penrose
s "/debitor" - it would win. So you make sure that it is always least to most significant. Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Anthropomorphic Personification Expert http://search.cpan.org/search?author=SCOTT [EMAIL PROTECTED]

Re: Location, filename, path_info

2006-07-31 Thread Scott Penrose
ng my question is - how do I use a Perl Module instead of a ScriptAlias (CGI Script) and get the same results from path_info. Ta Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose VP in charge of Pancakes http://linux.dd.com.au/ [EMAIL PROTECTED]

Location, filename, path_info

2006-07-31 Thread Scott Penrose
r what ever the location that the handler is set in. I can achieve this with a variable that sets the location, but that seemed a little redundant. Effectively I am creating a "virtual" location. Is there a way I can configure or get the Location ? Ta Scott -- * - * http://

Re: [mp2] insideOut mp.

2006-07-12 Thread Scott Penrose
wiser people may have better advice. Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Open source developer http://linux.dd.com.au/ [EMAIL PROTECTED] Dismaimer: Open sauce usually ends up never coming out (of the bottle). Please do not send me Word or

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-09 Thread Scott Penrose
:-) Stas, that looks like it fixes it... (slight change of code) if (r->main) { modperl_config_req_t *rcfg = modperl_config_req_get(r->main); + if (rcfg->wbucket) MP_RUN_CROAK(modperl_wbucket_flush(rcfg->wbucket, FALSE), "Apache2::SubReq

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-06 Thread Scott Penrose
You have two choices, 'modperl' OR 'perl-script'. 'default' is part of httpd core not a mod_perl extension. Thanks but that is correct and my intention. You have many choices, modperl and perl-script is only for perl, default-handler is for the built in default handler (basically files). T

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-05 Thread Scott Penrose
After banging my head all day I have narrowed this down just a little... I had a terrible time working out WHY the Test code works but nothing else does. And I have finally solved that, but not why. The answer is which Handler for the original content being filtered. I added a simple handler

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-05 Thread Scott Penrose
You can't test mod_perl modules from the command line, Scott. Only running under a mod_perl interpreter. Dooh. I didn't know that. Mine have always worked - I guess I just have not come across the thing that does not work :-) Until now. Right, that worked in mod_perl - still seg faults, so

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Scott Penrose
On 05/07/2006, at 5:47, Stas Bekman wrote: http://perl.apache.org/docs/2.0/user/handlers/ filters.html#HTTP_Request_vs__Connection_Filters OK Some very weird and interesting problems here. I think they are bugs, but I am not certain. Firstly - if you write the code... (straight from the exa

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Scott Penrose
On 04/07/2006, at 20:53, Scott Penrose wrote: On 04/07/2006, at 17:30, Stas Bekman wrote: Scott Penrose wrote: Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. But what output filter? There are two:

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Scott Penrose
On 04/07/2006, at 17:30, Stas Bekman wrote: Scott Penrose wrote: Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. But what output filter? There are two: http://perl.apache.org/docs/2.0/user/han

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-03 Thread Scott Penrose
Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. What's the core's backtrace? I will generate this tomorrow (don't have access to the machine today). Thanks Scott P.S. I have done a temporary work around wh

Subrequest and Filters

2006-07-02 Thread Scott Penrose
Does anyone have any experience calling Subrequests from a Filter ? Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Anthropomorphic Personification Expert http://search.cpan.org/search?author=SCOTT [EMAIL PROTECTED] Dismaimer: While every

SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-06-18 Thread Scott Penrose
re a likely bug somewhere? BTW. I tested this in both apache 2.0 and 2.2 using mod_perl2.0.2. I have not added any traces or debug information yet in case there is already an obvious answer. Ta Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose VP in charg

Real Directory

2005-07-10 Thread Scott Penrose
t take into account Alias which could put the URI outside the document_root. Any pointers? Thanks Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Anthropomorphic Personification Expert http://search.cpan.org/search?author=SCOTT [EMAIL PROTECTED] Disma

Re: Apache XML Content Production Name Space

2005-07-08 Thread Scott Penrose
* What should be the name space for these Apache2 content generators (an example of one is one that I have to generate vCal/ ics files to XML form for processing). I meant to clarify this question. I have two parts for this: * Should it be Apache:: or Apache2:: * I can't figure out where it

Apache XML Content Production Name Space

2005-07-08 Thread Scott Penrose
opers Conference * - * Scott Penrose Welcome to the Digital Dimension http://www.dd.com.au/ [EMAIL PROTECTED] Dismaimer: Contents of this mail and signature are bound to change randomly. Whilst every attempt has been made to control said randomness, the author wishes to remain blameless fo