Posted on 2009-01-16 06:03:32-08 by murphywong
ASP sytnax not working??
Dear John,

I finally install and get the ASP2-ASP working on my Linux machine. The configuration is much clear and easy now when running the runasp script to create the configuration files (in version 2.11). However, when I put my old ASP files there, I find some problems.

1) The ASP function response.redirect("/PATH") is not working and therefore the Apache return 500 Internal Server error...

2) The ASP function <-- #include virtual="/PATH/banner.htm" --> is not working and therefore only the page is shown without the banner file.

3) When I check the Apache log, there is always an error "Undefined subroutine &Mail::Sendmail::sendmail called at /usr/lib/perl5/site_perl/5.8.8/Apache2/ASP/Server.pm line 105.\n at /usr/lib/perl5/site_perl/5.8.8/Apache2/ASP/Server.pm line 105\n\tApache2::ASP::Server::Mail('Apache2::ASP::Server=HASH(0x19fa2290)', 'To', ...". I'm not sure whether if I need to configure something else before the Sendmail can work on the Perl Module.

Any ideas?

Regards,
Murphy Wong

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.