POV-Ray : Newsgroups : povray.unix : Povray and Apache Server Time
23 Dec 2024 13:17:30 EST (-0500)
  Povray and Apache (Message 1 to 4 of 4)  
From: James B  Muir
Subject: Povray and Apache
Date: 9 Sep 2002 13:40:12
Message: <3D7CDCFA.74FEDDC0@hitchcock.org>
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

From: Warp
Subject: Re: Povray and Apache
Date: 9 Sep 2002 13:53:23
Message: <3d7ce012@news.povray.org>
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

From: Jaime Vives Piqueres
Subject: Re: Povray and Apache
Date: 9 Sep 2002 13:58:36
Message: <3d7ce14b@news.povray.org>
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

From: Steve
Subject: Re: Povray and Apache
Date: 9 Sep 2002 18:02:51
Message: <slrnanq6jq.lju.steve@zeropps.org.uk>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.