[Templates] Please, please pardon me for the total noob question, but...
Rick
wrinkles@gmail.com
Fri, 8 Jun 2007 10:22:14 -0700
Ty,
Are you running off the os x built-in server or MAMP? I've found that
a MAMP installation gets around a lot of permission issues. Although
it's not secure out-of-the-box for web hosting, it's great for local
network and development purposes.
Rick (fellow tt2 noob/lurker)
On 6/6/07, Ty Sayman <ty.sayman@googlemail.com> wrote:
> I cannot get the CGI example in the 2.19 tutorial to run without a '
> userinfo.html not found' error.
>
> After getting tpage and ttree to work on static pages, getting DBI to work,
> and being fantastically happy about finding the Template Toolkit, I hit the
> wall with the CGI example.
>
> My computer is running a fully-up-to-date OSX setup.
> - Perl works.
> - Apache is running.
> - Basic CGI programs work. (in the /Library/Webserver/CGI-Executable and
> /Users/me/Sites/cgi-local directories)
>
> 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
>
> Where should the 'userinfo.html' file be stored? (in the INCLUDE_PATH
> (where it is), or somewhere else)
>
> I know this post is short on detail, but I figured the answer would be
> simple and wouldn't require copies of config *.pl *.html and everything
> else.
>
> Blast away...gently
>
> Ty
>