Re: set request params

2007-09-28 Thread Jeff Pang
2007/9/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > as i see there is no way to set request parameter in mod_perl2 You can rewrite an url using mp2's PerlTransHandler. This is the sample code from book mp2 user's guide. If the URI: http://example.com/news/20021031/09/index.html is now handled by:

strange errors on ModPerl::Registry

2007-09-28 Thread lists user
I have two sections in httpd.conf,one for modperl handler,one for registry scripts. SetHandler modperl PerlResponseHandler IP::Lookup Alias /perl/ "/home/httpd/test/" SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions ParseHeaders T

RE: Apache2::UploadProgress

2007-09-28 Thread Eli Shemer
Nevermind. It was a permissions problem. Thanks anyway. From: Eli Shemer [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 11:28 PM To: modperl@perl.apache.org Subject: Apache2::UploadProgress Hey there I've just now installed it and I get an error regarding the xslt usag

Apache2::UploadProgress

2007-09-28 Thread Eli Shemer
Hey there I've just now installed it and I get an error regarding the xslt usage. I don't have mod_xsl installed for my apache2 system but according to the docs, it should have been directed to a different html page instead of the xsl file. Apparently it did not and I see no .html file anyway

ANNOUNCE: Apache2-Filter-Minifier-CSS/JavaScript 1.03

2007-09-28 Thread Graham TerMarsch
I've just rolled new 1.03 releases of both: Apache2::Filter::Minifier::CSS Apache2::Filter::Minifier::JavaScript Changes since previous release: - Fixed "Content-Type" filtering so that it now properly handles cases where the C-T header may have additional attributes (e.g. "chars

Re: set request params

2007-09-28 Thread Perrin Harkins
On 9/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > as i see there is no way to set request parameter in mod_perl2 What makes you think that? You can set the query string in mod_perl2. You can also do things like create an input filter to alter parameters on their way in. - Perrin

Re: Solution to apr stdio/msvc crt/service handles and logging

2007-09-28 Thread Tom Donovan
William A. Rowe, Jr. wrote: I'd especially appreciate any input from Tom w.r.t. the ease of adding APR_NO_FILE flags to apr_procattr_io_set() members whom are not allowed to have a handle at all, eg. how this works out with mod_fcgid and similar modules. The proposed patch works correctly with

RE: set request params

2007-09-28 Thread Adam Prime x443
That's probably a question for the libapreq list. I know that for me this was a really annoying thing to have to work around when porting to MP2. the other thing that changed in apreq is that @params = $req->param() will now return (a, b, b) for the query string "?a=1&b=1&b=2" instead of (a, b).

Re: OutputFilter - using error documents handler to provide error message rather than doing it myself?

2007-09-28 Thread Torsten Krah
Am Freitag, 28. September 2007 schrieb Torsten Krah: > Hi. > > I've written an output filter which works fine so far. > However, in failure case, i am iterating through the buckets like its done > in POST200 module and insert a new message like its done there. > > However, i am wonder if it is poss

set request params

2007-09-28 Thread martin
as i see there is no way to set request parameter in mod_perl2 is there any chance this could happen in near future releases?

Apache2::Log - logging to error_log instead of stdout

2007-09-28 Thread Torsten Krah
When my filter is installed, i want to log some message to the server Log, like: [Fri Sep 28 15:23:27 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) I thought i can use this: sub DIR_CREATE { my $s = Apache2::ServerUtil->server; $s->log_serror( Apache2::Log::LOG

OutputFilter - using error documents handler to provide error message rather than doing it myself?

2007-09-28 Thread Torsten Krah
Hi. I've written an output filter which works fine so far. However, in failure case, i am iterating through the buckets like its done in POST200 module and insert a new message like its done there. However, i am wonder if it is possible to tell the filter in an error case, that it should "break

Re: Solution to apr stdio/msvc crt/service handles and logging

2007-09-28 Thread William A. Rowe, Jr.
Randy Kobes wrote: > > The patched version built fine, and with the svn mod_perl2 > sources, and perl-5.8.8 (ActivePerl 822), all the mp2 > tests passed using VC++ 6. Great work! FYI I'm waiting on a third set of eyeballs before this is all committed. I'd especially appreciate any input from Tom