|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi All,
I just installed Povray 3.5 on my linux box (SUSE 8.0), and want to get
it running from a CGI script within Apache. The CGI script works very
nicely until I try to run it within Apache. In that case, the povray
image is not created. I've checked to make sure that the Apache user
(wwwrun, nogroup) can read the following:
/tmp/image.pov - my input povray script.
/usr/local/httpd/cgi-bin/povray.ini - my ini file.
and wwwrun has write access to /tmp since the CGI script creates the
image.pov file. I have modified the $PATH environment variable to search
the povray directories. I use the +I and +O options for imput and
output.
For some reason the /tmp/image.png output file is not created. I have
the feeling it's probably something obvious that I've overlooked.
What unix environment variables must be defined in order for Povray to
work?
Has any one gotten povray to work from within apache? What am I missing?
Thanks for any help on this matter.
-James
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
James B. Muir <Jam### [at] hitchcockorg> wrote:
> For some reason the /tmp/image.png output file is not created. I have
> the feeling it's probably something obvious that I've overlooked.
I/O permissions, perhaps?
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
James B. Muir wrote:
> For some reason the /tmp/image.png output file is not created. I have
> the feeling it's probably something obvious that I've overlooked.
What says POV? You can get POV strams in a file with +GA, so you can
examine the posible error message.
--
Jaime Vives Piqueres
La Persistencia de la Ignorancia
http://www.ignorancia.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Run your CGI with -w so that you get all the warnings, check your http
error_log and see what it says in there, also use:
use CGI::Carp 'fatalsToBrowser';
and as someone else said see what pov is saying about it too.
--
%HAV-A-NICEDAY email mailto:ste### [at] zeroppsuklinuxnet
Steve web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
10:59pm up 74 days, 9:24, 2 users, load average: 1.04, 1.16, 1.08
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |