Re: i can't run cgi in user_dir

2001-11-20 Thread hero
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

Re: i can't run cgi in user_dir

2001-11-19 Thread Dave Sherohman
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

Re: i can't run cgi in user_dir

2001-11-19 Thread Colin Watson
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

Re: i can't run cgi in user_dir

2001-11-18 Thread hero
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";

Re: i can't run cgi in user_dir

2001-11-18 Thread Colin Watson
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]

i can't run cgi in user_dir

2001-11-18 Thread hero
i use apache 1.3.22-2 on woody when i browse to http://localhost/~hero/test.pl this is an error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of