Page 1 of 1

Some ActiveState ASP-perl examples don't work

PostPosted: 29. July 2006 16:16
by said_fox
Hello,
Examples of scripts available by ActiveSate perl distribution for windows don't work, specially, those related with Request Object. I will list some of theses examples file's names and paths through the distribution:

    \eg\aspsamples\qstring.asp
    \eg\aspsamples\response.asp
    \eg\aspsamples\wform.asp
    eg\aspsamples\qstring.asp

Of course The ADO examples files didn't work properly until I had deleted the footer scripts which contains Request Object
Code: Select all
<!-- +++++++++++++++++++++++++++++++++++++
here is the standard showsource link -
   Note that PerlScript must be the default language --><hr>
<%
   $url = $Request->ServerVariables('PATH_INFO')->item;
   $_ = $Request->ServerVariables('PATH_TRANSLATED')->item;
   s/[\/\\](\w*\.asp\Z)//m;
   $params = 'filename='."$1".'&URL='."$url";
   $params =~ s#([^a-zA-Z0-9&_.:%/-\\]{1})#uc '%' . unpack('H2', $1)#eg;
%>

Also, I'd like to mention that I have copied the contents of aspsamples\ folder to XAMPP\htdocs\modperlasp\s.
I'm Windows XP user. I have already installed ActiveState Perl 5.6.