Hi all,
I'm fairly experienced with modperl and tried today to get Apache::ASP up
and
running to no avail. I've skimmed the archive and FAQ but maybe someone
could
save me a lot of time by spotting something obvious before I start digging
deeper.
thanks in advance for looking at this...
Here's my setup:
Redhat Linux 6.x with 2.2.5-15 kernel
apache 1.3.6 with static modperl 1.21
perl 5.005_03
Here's what I did:
Installed Bundle::Apache::ASP 2.25 (perl -MCPAN -e shell)
# mkdir /tmp/asp; chown nodoby /tmp/asp
put this in my conf-file:
<FilesMatch "\.asp$">
SetHandler perl-script
PerlModule Apache::ASP
PerlHandler Apache::ASP
PerlSetVar Global /tmp/asp
</FilesMatch>
and created a simple helloworld.asp file:
<html><body>
<% $Response->Write 'Hello, World!' %>
</body></html>
Restarted the server, pointed a browser at the page
and got a 501 with the following reason:
[error] Can't locate object method "fileno" via package
"Apache::Connection" at /home/webs/perllib/Apache/ASP.pm line 3741.
Apache::ASP::Response::IsClientConnected('Apache::ASP::Response=HASH(0x85822
8c)') called at /home/webs/perllib/Apache/ASP.pm line 3458
Apache::ASP::Response::new('Apache::ASP=HASH(0x8582088)') called at
/home/webs/perllib/Apache/ASP.pm line 619
Apache::ASP::new('Apache::ASP', 'Apache=SCALAR(0x821e4a0)') called
at /home/webs/perllib/Apache/ASP.pm line 163
Apache::ASP::handler('Apache=SCALAR(0x821e4a0)') called at /dev/null
line 0
eval {...} called at /dev/null line 0
mvh,
#---------------------------------------------------
# Robert Friberg java,xml,perl,uml,sql,delphi,
# +46733839080 c/c++,vb,wap,php,linux,apache
#
# www.ensofus.se konsulting,internetsystem,
# Ensofus AB utbildning, Milj� Online
#---------------------------------------------------
BEGIN:VCARD
VERSION:2.1
N:Friberg;Robert
FN:Robert Friberg
ORG:Ensofus AB
TITLE:Systemutvecklare, utbildare
TEL;WORK;VOICE:0733839080
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Ensofus AB=0D=0AAllegatan 48;BOR=C5S;;503 37;Sverige
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Ensofus AB=0D=0AAllegatan 48=0D=0ABOR=C5S 503 37=0D=0ASverige
URL:
URL:http://www.ensofus.se
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20010821T101318Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]