Re: [ap2/mp2] post-processing handler output with another module (php)

2005-03-13 Thread Matthew Westcott
On 13 Mar 2005, at 14:20, John ORourke wrote: Hi, I'm sure I should know this, but I'm trying to post-process the output of my handler with PHP. I'm still a bit green on Apache inner workings and just can't make it happen. Just to be clear - your mod_perl handler is outputting PHP source which

Re: Sharing variables across Apache threads with threads::shared

2005-02-22 Thread Matthew Westcott
On 22 Feb 2005, at 15:22, Richard F. Rebel wrote: Hello Matt, Some obvious things... Are you running a threaded apache mpm such as worker? If not, no threads, only processes, thus no sharing. You'd have to use another sharing mechanism in this case such as sysv ipc shared memory, or mmaps. When

Sharing variables across Apache threads with threads::shared

2005-02-22 Thread Matthew Westcott
Hi, I'm having trouble with the basics of sharing a variable across multiple Apache threads using threads::shared . The only code snippet I've been able to find on this subject is from the list archives from last month: http://gossamer-threads.com/lists/modperl/modperl/77651#77651 I'm stuck at a

Re: anchor tag

2003-11-01 Thread Matthew Westcott
On 30 Oct 2003 at 1:24, martin moss wrote: > Heyho, > > If I have a url of http://some.domain.com/test/index.html#test > > When I do a $r->uri I ge the url path /test/index.html > and $r->path_info is blank. > > How do I get the #test anchor bit on the end of the url? You can't, unfortunately

Re: [mp2] Declining from response handler bypasses other handlers

2003-10-02 Thread Matthew Westcott
On 2 Oct 2003 at 9:15, Geoffrey Young wrote: > if you want to dynamically decide who should serve the page - mod_perl if > some directory is found, mod_php otherwise, then you can use your own > PerlTypeHandler or PerlFixupHandler to set $r->handler for the request based > on your own criteria.

[mp2] Declining from response handler bypasses other handlers

2003-10-02 Thread Matthew Westcott
I'm using a PerlResponseHandler to control access to selected directories of a site, and I've encountered a similar problem to that described in http://marc.theaimsgroup.com/?l=apache-modperl&m=106141216914801&w=2 where returning a 'declined' status is skipping other handlers and going straight