[Templates] Please, please pardon me for the total noob question, but...

Andy Wardley abw@wardley.org
Wed, 06 Jun 2007 09:55:53 +0100


Ty Sayman wrote:
> When I run the cgi_from_tutorial.pl file from the command line, it 
> prints the html output as expected.
> When I run the cgi_from_tutorial.pl file from the browser, I get the 
> 'file not found  -  'userinfo.html ' not found at wtf.pl line xx

It sounds like it's a permissions problem.

The webserver will be running the script as 'nobody' or some other low
privilege user.  Make sure your templates directory (and all paths to it)
are readable and executable by all.

   $ chmod o+rx ~/path/to/cgi

HTH
A