> Patricio Muņoz wrote:
> > Hi,
> > When execute the script the result is fine, but the display the next
> > messages in the browser:
> >
> > --------------------------------------------------------
> > Hola Mundo
> >
> > OK
> > The server encountered an internal error or misconfiguration and was
unable
> > to complete your request.
>
> If you were so kind to complete to provide us all the information we
always
> ask for as explained at http://perl.apache.org/bugs/ we could have been
more
> helpful.

Ups sorry, here more detail:

in httpd.conf

Alias /asp/ "D:/Apache/Apache2/asp/"
<Perl>
         *CORE::GLOBAL::flock = sub { 1 };
</Perl>
PerlModule Apache::ASP
<Directory "D:/Apache/Apache2/asp">
         Options Indexes MultiViews
         AllowOverride None
         Order allow,deny
         Allow from all
    <Files ~ (\.asp)>
              SetHandler  perl-script
              PerlResponseHandler Apache::ASP
              PerlOptions +ParseHeaders
              PerlSetVar  Global .
              PerlSetVar  StateDir "D:/Apache/Apache2/asp/tmp"
    </Files>
</Directory>

The sample.asp receive 2 parameters with method post, parameter1 and
parameter2

<!--#include file=header.inc-->
<%
    $form = $Request->Form();
%>

<form name="form" method="post">
        <input type="hidden" name="user" value=<%= $form->{parameter1} %>>
        <input type="hidden" name="pwd" value=<%= $form->{parameter2} %>>
</form>
<p> Hola Mundo </p>
<!--#include file=footer.inc-->

The script work fine, but output browser is:
-------------------------------------------
Hola Mundo

 OK
The server encountered an internal error or misconfiguration and was unable
to complete your request.
-------------------------------------------
and error.log not display nothing

PD: Detail Platform
O.S. : Windows 98 SE
Apache: 2.0.48 (Win32)
Perl: 5.8.1
mod_perl: 1.99_12-dev

regards





-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to