Dave Sherohman ([EMAIL PROTECTED]) wrote:
> Given that this is in woody, I'd guess it's a problem with suexec,
> which the debian version currently enables by default. I've never
> been able to get it working, but I do know that you can disable it by
> changing the name of /usr/lib/apache/suexec t
On Sun, Nov 18, 2001 at 09:11:21PM +0700, hero wrote:
> # test.pl
> !#/usr/bin/perl -w
> print "Content-type: text/html\n\n";
> print "Test cgi\n";
>
> # /var/log/apache/error.log
> [Sun Nov 17 20:32:31 2001] [error] [client 127.0.0.1] Premature end of script
> headers: /home/hero
On Sun, Nov 18, 2001 at 10:50:53PM +0700, hero wrote:
> Colin Watson ([EMAIL PROTECTED]) wrote:
> > # test.pl
> > !#/usr/bin/perl -w
>
> sorry i type wrong this is my test.pl
>
> #!/usr/bin/perl -w
>
> print "Content-type: text/html\n\n";
> print "Test cgi\n";
Can you execute that file
Colin Watson ([EMAIL PROTECTED]) wrote:
> # test.pl
> !#/usr/bin/perl -w
sorry i type wrong this is my test.pl
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
print "Test cgi\n";
On Sun, Nov 18, 2001 at 09:11:21PM +0700, hero wrote:
> # test.pl
> !#/usr/bin/perl -w
There's your problem. Switch the ! and the #.
--
Colin Watson [EMAIL PROTECTED]
5 matches
Mail list logo