Re: Code fix/suggestion after MP2 update

2005-04-30 Thread Stas Bekman
cfaust-dougot wrote: return $r->dir_config->get('ApacheReturnOk'); } But that didn't work, got an error of Argument "Apache::REDIRECT" isn't numeric, I also can't do it within any sort of "if" statement in the script itself as I will get the error of "Apache::* not allowed while script subs...

RE: Code fix/suggestion after MP2 update

2005-04-30 Thread cfaust-dougot
Title: Re: Code fix/suggestion after MP2 update cfaust-dougot wrote:>>> Folks,>>> >>> I hope my brain is just not functioning properly yet as its Saturday, but I'm having a tough time figuring out the best way to handle the needed changed of "Apache::*" to  "Apache2::Const*" automatically

Mod_perl upload problem

2005-04-30 Thread Bart Terryn
Hi, I'm have been running mod_perl for a while now. Current situation is: -Win 2000 SP2 -Apache 2.0.47 -mod_perl 1.999.22 -Perl 5.8.3 http conf: Alias /mod_perl/ "C:/Program Files/Apache Group/Apache2/mod_perl/" SetHandler perl-script

Re: advice needed: mod_perl reverse proxy

2005-04-30 Thread allan juul
hi stas Stas Bekman wrote: allan juul wrote: [...] But if you use a mod_perl filter you will still hit the issue of unknown content-length header. yes, of course that's true. there goes caching (: Not really. Nothing prevents you from buffering up the response, process it, set the content-leng

Re: changing permissions in order to write a file in Mod_perl

2005-04-30 Thread Stas Bekman
Dermot Paikkos wrote: I really don't know but I was just trying to set up something similar here and noticed that under MP1 you certainly couldn't, see this article: http://perl.apache.org/docs/1.0/guide/install.html#Is_it_possible_to_r un_mod_perl_enabled_Apache_as_suExec_ And then I saw this o

Re: for a background process and return

2005-04-30 Thread Stas Bekman
jiesheng zhang wrote: Hi I am try to run something like this in my cgi. - system ("sleep 3000 &"); --- Since, it is time-consuming task, I let it run in background and immediately return to user. I tested this script. It was no pr

Re: Code fix/suggestion after MP2 update

2005-04-30 Thread Stas Bekman
cfaust-dougot wrote: Folks, I hope my brain is just not functioning properly yet as its Saturday, but I'm having a tough time figuring out the best way to handle the needed changed of "Apache::*" to "Apache2::Const*" automatically so I don't have to edit anything with a script going up on 2 diff

Code fix/suggestion after MP2 update

2005-04-30 Thread cfaust-dougot
Folks,   I hope my brain is just not functioning properly yet as its Saturday, but I'm having a tough time figuring out the best way to handle the needed changed of "Apache::*" to  "Apache2::Const*" automatically so I don't have to edit anything with a script going up on 2 different servers wit

RE: File upload problem

2005-04-30 Thread Bart Terryn
Hi everybody It turned out to be a CGI.pm problem related to the setup I'm running. And here is the solution: Apparantly CGI.pm V3.01 no longer allows you to force your TMPDIRECTORY to a folder of your choice. This used to be possible by uncommenting line 26 to read something like: $CGITe

File upload problem

2005-04-30 Thread Bart Terryn
Hi, I'm have been running mod_perl for a while now. Current situation is: -Win 2000 SP2 -Apache 2.0.47 -mod_perl 1.999.22 -Perl 5.8.3 http conf: Alias /mod_perl/ "C:/Program Files/Apache Group/Apache2/mod_perl/" SetHandler perl-script