If you want to allow .asp extension files n a cpanel server, you need to check the following things.
1, Make sure that the apache module mod_mono is enabled in the server. You can enable it via easyapache. In non-panel linux servers. you need to enable it manually using source.
2, Make sure that the perl module apache:asp is installed. You can do it using the following steps.
perl -MCPAN -e shell
cpan> install Bundle::Apache::ASP
If you want to install/add additional functionality to the exising “Apache::ASP” installation then you can do that by running the below command
cpan> install Bundle::Apache::ASP::Extra
You can also install this from whm >>install a pel module section
3, At last you may need to add .asp to the add handler mentioned in your php.conf. You can also use htaccess file for this.