sfantar wrote:
: I am starting using HTML::Template modules and I wrote a script with
: the first example within the doc.
: I am not able to see the results of my CGI from my browser. It
: displayed error 500 Internal Server Error.
Sounds like you are not printing the correct headers. Show
Charles K. Clarkson a écrit :
sfantar wrote:
: I am starting using HTML::Template modules and I wrote a script with
: the first example within the doc.
: I am not able to see the results of my CGI from my browser. It
: displayed error 500 Internal Server Error.
Sounds like you are not pri
Hi there,
I am starting using HTML::Template modules and I wrote a script with the
first example within the doc.
I am not able to see the results of my CGI from my browser. It displayed
error 500 Internal Server Error.
I gave the correct rights to my script to make it executable.
In the @INC,
sfantar wrote:
: Here is the script which gave me the error mentioned above :
[snip]
Everything looks okay there. What's in test.tmpl?
HTH,
Charles K. Clarkson
--
Mobile Homes Specialist
Free Market Advocate
Web Programmer
254 968-8328
Don't tread on my bandwidth. Trim your posts.
--
Jeff Peng a écrit :
Hello,
The first,I would suggest you take a look at apache's error_log,you
could find something wrong with your scripts or config there.
From: sfantar <[EMAIL PROTECTED]>
To: beginners-cgi@perl.org, beginners@perl.org
Subject: Problems with HTML::Template
Date: Tue, 20 Ju
Charles K. Clarkson a écrit :
sfantar wrote:
: Here is the script which gave me the error mentioned above :
[snip]
Everything looks okay there. What's in test.tmpl?
HTH,
Charles K. Clarkson
Here is what's inside the file test.tmpl
Test Template
My Home Directory is
sfantar wrote:
: In the apache's error log, here is what's written :
:
:
: [error] HTML::Template->new() : Cannot open included file test.tmpl
: : file not found.
Looks like the template cannot be found. Use the full path
to test.tmpl in the script.
HTH,
Charles K. Clarkson
--
Mobile
Charles K. Clarkson a écrit :
sfantar wrote:
: In the apache's error log, here is what's written :
:
:
: [error] HTML::Template->new() : Cannot open included file test.tmpl
: : file not found.
Looks like the template cannot be found. Use the full path
to test.tmpl in the script.
HTH,
On Tue, Jun 20, 2006 at 10:25:33AM +0200, sfantar wrote:
> Why are there differences between the output of the CGI mentioned below
> which displays the content of $ENV{HOME} et $ENV{PATH}?
The environment the webserver runs is different to the environment
your shell runs.
--
David Dorward
David Dorward a écrit :
On Tue, Jun 20, 2006 at 10:25:33AM +0200, sfantar wrote:
Why are there differences between the output of the CGI mentioned below
which displays the content of $ENV{HOME} et $ENV{PATH}?
The environment the webserver runs is different to the environment
your shell runs.
Prabu a écrit :
sfantar wrote:
Hi there,
I am starting using HTML::Template modules and I wrote a script with
the first example within the doc.
I am not able to see the results of my CGI from my browser. It
displayed error 500 Internal Server Error.
I gave the correct rights to my script to
Prabu a écrit :
sfantar wrote:
Hi there,
I am starting using HTML::Template modules and I wrote a script with
the first example within the doc.
I am not able to see the results of my CGI from my browser. It
displayed error 500 Internal Server Error.
I gave the correct rights to my script to
sfantar a écrit :
Charles K. Clarkson a écrit :
sfantar wrote:
: In the apache's error log, here is what's written :
: : : [error] HTML::Template->new() : Cannot open included file
test.tmpl
: : file not found.
Looks like the template cannot be found. Use the full path
to test.tmpl in
sfantar wrote:
Hi there,
I am starting using HTML::Template modules and I wrote a script with
the first example within the doc.
I am not able to see the results of my CGI from my browser. It
displayed error 500 Internal Server Error.
I gave the correct rights to my script to make it executab
On Tue, 20 Jun 2006, sfantar wrote:
> David Dorward a écrit :
> > On Tue, Jun 20, 2006 at 10:25:33AM +0200, sfantar wrote:
> >> Why are there differences between the output of the CGI mentioned below
> >> which displays the content of $ENV{HOME} et $ENV{PATH}?
> >
> > The environment the webs
Owen Cook a écrit :
On Tue, 20 Jun 2006, sfantar wrote:
David Dorward a écrit :
On Tue, Jun 20, 2006 at 10:25:33AM +0200, sfantar wrote:
Why are there differences between the output of the CGI mentioned below
which displays the content of $ENV{HOME} et $ENV{PATH}?
The environment the webse
Mr. Shawn H. Corey a écrit :
On Tue, 2006-20-06 at 11:49 +0200, sfantar wrote:
Why are there differences between the output of the CGI mentioned below
which displays the content of $ENV{HOME} et $ENV{PATH}?
CGIs are forked off of the web server, which normally runs under a
different user.
On Tue, 2006-20-06 at 13:58 +0200, sfantar wrote:
> "CGIs are forked off of the web server, which normally runs under a
> "different user."
>
> I understand the fact that's the CGIs are run by a different user.
> Is this user the same as the one who launched Apache?
>
Maybe, it depends on the co
18 matches
Mail list logo