|
![](/i/fill.gif) |
On Thu, 29 May 2003 15:20:52 EDT, Dan wrote:
> I check the povray.conf file and read access was fine,
> and i had already tried with the -d parameter. I have found that i can
> call povray without any parameters and get it to respond, but the minute i
> add an input parameter, it causes a core dump. More explicitly, i am using
> a
> system call inside of perl script to execute povray. Again, there are no
> problems from the command line, but it core dumps when run through the web
> server.
>
Have you tried rendering via the perl script as another user from the
command line? And are you running the script with -Tw, if so have a go
without the T so just run it -w and if that works fine then it means that
the input pov file name needs to be untainted when run with T.
How about running a little test through your web server to see if it's
POV that's the problem or something else. Write a small bash script
and make it executable, something like:
#!/bin/bash
First_Param=$1
Second_Param=$2
echo $First_Param
echo $Second_Param
############################ End of Bash script #######################
Now write a very simple cgi script that takes two paramateers in a form
and runs this shell script giving it the two paramaters, this will be
easy to test both from the command line and via the web server.
--
sphere{z*5,1pigment{rgb.5}finish{reflection.3specular.5}}box{<-50,-3,-50>
<50,-2,50>pigment{checker/*\__\\__/ * \_\\__*/scale 2}finish{ambient.7}}
light_source/*__\\__\\__\\__\\__\( ~ )\__\\__\\__\\__\\*/{<2,5,1>*4,1}
/*\\__\\__\\__\\__\\__\\__\\__\\__\~ -/__\\__\\__\\__\\__\\*//* Steve */
Post a reply to this message
|
![](/i/fill.gif) |