• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved asp support

costaskal

Basic Pleskian
-after last updates in plesk 12.5 i have problem with sites with asp support
‪Ubuntu 14.04.3 LTS‬
Plesk version 12.5.30 Update #62

-error 500
Can't locate object method "remote_ip" via package "Apache2::Connection" at /usr/share/perl5/Apache/ASP/StateManager.pm line 85.\n at /usr/share/perl5/Apache/ASP/StateManager.pm line 85.\n\tApache::ASP::InitState('Apache::ASP=HASH(0x7ffb646e8bf8)') called at /usr/share/perl5/Apache/ASP.pm line 421\n\tApache::ASP::new('Apache::ASP', 'Apache2::RequestRec=SCALAR(0x7ffb63f48b90)', '/var/www/vhosts/DOMAIN NAME/httpdocs/product.asp') called at /usr/share/perl5/Apache/ASP.pm line 184\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x7ffb63f48b90)') called at -e line 0\n\teval {...} called at -e line 0\n

-error 403
AH01276: Cannot serve directory /var/www/vhosts/ DOMAIN NAME /httpdocs/: No matching DirectoryIndex (at_domains_index.html,index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm,index.shtml,index.cfm) found, and server-generated directory index forbidden by Options directive
 
Last edited:
Hi costaskal,

to start, I would suggest to provide MORE informations, if you desire help from people willing to help you:
  • Pls. what is your apache2 version?
  • Did you recently upgraded your apache webserver?
  • What is the output of the command :
    Code:
    apt-cache policy libapache-asp-perl
  • What is the output of the command :
    Code:
    apt-cache policy libapache2-mod-perl2
  • Do you use a combination of apache2 + nginx on your (sub)domain?


Additional informations:

With the apache2 - version 2.4, the "remote_ip" has been replaced/renamed with "client_ip". When using the perl module "Apache::ASP" with "Apache2::Connection", you might experience issues/errors/problems, due to the fact, that "Apache2::Connection" hasn't been updated since "2011/08/16" ( pls. see as well: => CHANGES - metacpan.org )​
 
-Apache version
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 15 2016 15:34:04

-i dont recently update apache


-apt-cache policy libapache-asp-perl


libapache-asp-perl:
Installed: 2.62-1
Candidate: 2.62-1
Version table:
*** 2.62-1 0

-apt-cache policy libapache2-mod-perl2
libapache2-mod-perl2:
Installed: 2.0.8+httpd24-r1449661-6ubuntu2
Candidate: 2.0.8+httpd24-r1449661-6ubuntu2
Version table:
*** 2.0.8+httpd24-r1449661-6ubuntu2 0

- i do not use a combination of apache2 + nginx
 
Hi costaskal,

first of all, I would like to mention, that your issue/error/problem is NOT RELATED to any Plesk product or component. Neither perl, nor the additional perl-modules are coded or shipped by Plesk. Pls. consider to open threads which are not related to Plesk products and it's components at =>
Home > Forum > General Discussion > Open Topics

Second, I would like to point you again to my previous "Additional informations", which should help to understand, why you experience issues as:
Can't locate object method "remote_ip" via package "Apache2::Connection"
 
Back
Top