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.
When I run the perl script from /var/www/cgi-bin, as root no prob righting the pics in /var/www/html, but apache user doesn't have permissions.
I am wondering what is wrong, and am I doing this the right way, should I get GD to display the graph with in the perl script and not right pic's but dynamically display them, rather than calling another script to display the HTML, using system "html_diplay.pl", essentially two scripts instead of one.
Thanks in advance for the help. Pat