Hi,
Finally, apache with mod_perl work fine, the sintaxis are:

LoadFile "d:/perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so

[...]

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>

Thank's all

But when I test the sample in ASP, display errors
This sample work fine in Win98 s.e. with PWS

<html>
<%
    Dim usuario, password, modem

    usuario = Request.Form("user")
    password = Request.Form("password")
    modem = Request.Form("modem")
%>

</head>
<body>
<form name="form" method="post">
    <input type="hidden" name="user" value=<%response.write usuario%>>
    <input type="hidden" name="pwd" value=<%response.write password%>>
    <input type="hidden" name="modem" value=<%response.write modem%>>
</form>
</body>
</html>

The same sample run in Win 98 s.e. + Apache 2.0.48 + mod_perl 1.99-dev Perl
V5.8.1 display error, the logout error.log is

[Mon Dec 01 16:54:32 2003] [error] [asp] [-805909] [debug] Bareword found
where operator expected at D:/Apache/Apache2/asp/aplicacion/index.asp line
6, near ") <--> password" <-->
[Mon Dec 01 16:54:32 2003] [error] [asp] [-805909] [debug]  (Missing
operator before password?) <-->
[Mon Dec 01 16:54:32 2003] [error] [asp] [-805909] [debug] Bareword found
where operator expected at D:/Apache/Apache2/asp/aplicacion/index.asp line
7, near ") <--> modem" <-->
[Mon Dec 01 16:54:32 2003] [error] [asp] [-805909] [debug]  (Missing
operator before modem?) <-->
[Mon Dec 01 16:54:32 2003] [error] [asp] [-805909] [error] error compiling
index.asp: syntax error at D:/Apache/Apache2/asp/aplicacion/index.asp line
6, near ") <--> password " <--> , D:/Perl/site/lib/Apache/ASP.pm line 1458

Regards


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

Reply via email to