Executing CGI programs from within mod_perl

2008-02-27 Thread Colin Wetherbee
Greetings. I use a program called MapServer to generate images. It's a C binary, and most people seem to run it (essentially) directly as a CGI program. By essentially, I mean the binary is typically requested by JavaScript or Flash or other things like that. I'm doing some dynamic mapping

Re: Executing CGI programs from within mod_perl

2008-02-27 Thread Michael Peters
Colin Wetherbee wrote: > Basically, I'd like to run the 'mapserv' binary from within mod_perl Why? Don't you just want to sanitize the data? If so you can do that in a FixUpHandler or even in a separate handler that does an internal_redirect to the mapserv's url. -- Michael Peters Plus Three, L

Re: Executing CGI programs from within mod_perl

2008-02-27 Thread Colin Wetherbee
Michael Peters wrote: Colin Wetherbee wrote: Basically, I'd like to run the 'mapserv' binary from within mod_perl Why? Don't you just want to sanitize the data? If so you can do that in a FixUpHandler or even in a separate handler that does an internal_redirect to the mapserv's url. I also

Re: Executing CGI programs from within mod_perl

2008-02-28 Thread Colin Wetherbee
Michael Peters wrote: Colin Wetherbee wrote: Basically, I'd like to run the 'mapserv' binary from within mod_perl Why? Don't you just want to sanitize the data? If so you can do that in a FixUpHandler or even in a separate handler that does an internal_redirect to the mapserv's url. I tried

Re: Executing CGI programs from within mod_perl

2008-03-04 Thread Perrin Harkins
On Thu, Feb 28, 2008 at 9:47 PM, Colin Wetherbee <[EMAIL PROTECTED]> wrote: > I've tried both with the $r that gets passed into handler and the $r > from Apache2::RequestUtil->request. Both of those should have worked. What happened? > Is there any way around this short of setting +GlobalRequ