On 08/29/2006 11:05 AM, Patrick Rice wrote:
Hi all
I'd like some advice,
set up; Red hat Enterprise 4
Perl 5.8
I am trying to create a web page, which takes data from a file and
builds a graph with GD, these are then saved as pictures, I then use the
cgi script to call the pics using dynamically generated HTML page, using
a system call to another perl script.
When I do this, I get a 500 internal error and I've traced this down to
a permissions problem, as the apache user doesn't have the permissions
to write the pic's in the /var/www/html file.
[...]
Perhaps you could create a directory, /var/www/cgi-img/, and
make sure that the web-server can write in that directory and
change your script to write in that directory.
Since you are using RHEL, you should also make sure that
SELinux is not interfering with Apache.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>