[Cascavel-pm] Perl e apache

Marcia Henke mhenke em inf.ufrgs.br
Quinta Agosto 7 12:28:59 CDT 2003


Olá  Pessoal!!

Não fui bem clara com o probleminha que estou tendo, então vou 
inicialmente descrever o que eu fiz e após os erros que estou tendo:

tenho o seguinte scritp em /srv/www/cgi-bin :

hibye.cgi
****
#!/usr/bin/perl -w

   use SOAP::Transport::HTTP;

   SOAP::Transport::HTTP::CGI
     -> dispatch_to('Demo')
     -> handle;

   package Demo;

   sub hi {
     return "hello, world - LOCAL";
   }

   sub bye {
     return "goodbye, cruel world - LOCAL";
   }
*************

e no /home/marcia/word/soapTeste :

hibye.pl
********
  #!/usr/bin/perl -w

   use SOAP::Lite;

   print SOAP::Lite

     -> uri('http://localhost:80/Demo')
     -> proxy('http://localhost/soap/hibye.cgi')
      -> bye()
     -> result;

**************


Quando executo o servidor no browser : 
http://localhost/cgi-bin/hibye.cgi dá o seguinte erro :

****
The server encountered an internal error or misconfiguration and was 
unable to complete your request.

Please contact the server administrator, webmaster em linux.local and 
inform them of the time the error occurred, and anything you might have 
done that may have caused the error.

More information about this error may be available in the server error log.
*****
então no /var/log/http/error_log tenho o seguinte erro:

Thu Aug  7 10:44:55 2003] [error] (13)Permission denied: exec of 
/srv/www/cgi-bin/hibye.cgi failed

[Thu Aug  7 10:44:55 2003] [error] [client 127.0.0.1] Premature end of 
script headers: /srv/www/cgi-bin/hibye.cgi
*******

O que estou fazendo errado ????
alguém pode me dar uma luz .....
Agradeço atenção

Márcia





Mais detalhes sobre a lista de discussão Cascavel-pm