$r-filename, can I do this here ?

2008-10-17 Thread André Warnier
Hi. In a PerlFixupHandler, I want to use $r-filename to reset the target of a PUT request, so as to trick the following Apache PUT content handler into writing the PUT-ted file somewhere else than what the original URL said. What I am uncertain of, is whether I can (am allowed to ?)

Re: $r-filename, can I do this here ?

2008-10-17 Thread Torsten Foertsch
On Fri 17 Oct 2008, André Warnier wrote: In a PerlFixupHandler, I want to use $r-filename to reset the target of a PUT request, so as to trick the following Apache PUT content handler into writing the PUT-ted file somewhere else than what the original URL said. Yes you are allowed to do that.

Re: $r-filename, can I do this here ?

2008-10-17 Thread André Warnier
Sorry, hit the reply button too quickly and didn't send it to the list.. Torsten Foertsch wrote: On Fri 17 Oct 2008, André Warnier wrote: In a PerlFixupHandler, I want to use $r-filename to reset the target of a PUT request, so as to trick the following Apache PUT content handler into writing

Re: $r-filename, can I do this here ?

2008-10-17 Thread Torsten Foertsch
On Fri 17 Oct 2008, André Warnier wrote: Any way I can kind of force Apache to update it's information after I call $r-filename, or does it already do that anyway ? See the example in http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_filename_ Torsten -- Need professional

Re: $r-filename, can I do this here ?

2008-10-17 Thread André Warnier
Torsten Foertsch wrote: On Fri 17 Oct 2008, André Warnier wrote: Any way I can kind of force Apache to update it's information after I call $r-filename, or does it already do that anyway ? See the example in http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_filename_ Thanks

Custom Error Log for Specific URL/File matches

2008-10-17 Thread eric.berg
I'd like to be able to provide separate logs for developers who are devloping in their ~/public_html directories so that any error log messages for requests made for content that is in one of those directories would be logged to a file in that user's directory instead of (or in addition to) the

Reducing memory usage using fewer cgi programs

2008-10-17 Thread Thomas Hilbig
I have about a dozen small cgi programs under mod_perl2 that all pretty well look like this.. use CGI; use DBI; use perlchartdir ; # graphing fetch parameters build SQL and fetch data from database build graph image from data send image Under mod_perl, will the memory footprint of the

Re: Reducing memory usage using fewer cgi programs

2008-10-17 Thread Michael Peters
Thomas Hilbig wrote: I have about a dozen small cgi programs under mod_perl2 that all pretty well look like this.. use CGI; use DBI; use perlchartdir ; # graphing To think about how this works under mod_perl, pretend that all of your scripts are put together into 1 larger script and all

Re: Reducing memory usage using fewer cgi programs

2008-10-17 Thread Thomas Hilbig
--- On Fri, 10/17/08, Michael Peters [EMAIL PROTECTED] wrote: To think about how this works under mod_perl, pretend that all of your scripts are put together into 1 larger script and all those use statements are repeated. Does having multiple use CGI statements make your script use more