First ssh into your machine as root, or switch to root by using su

Step 1. Get the goods
root@Server [~]# wget http://layer1.cpanel.net/apache-asp.sea


Step 2. Set permissions
root@Server [~]# chmod 755 apache-asp.sea

Step 3. Initial installation
root@Server [~]# ./apache-asp.sea

Step 4. restart apache
root@Server [~]# /etc/init.d/httpd restart

Step 5. Configure Apache (use vi/pico etc)
root@Server [~]# vi /usr/local/apache/conf/httpd.conf

Step 6. Find This:

<Files ~ "^.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>


Step 7. Below that add the following data:

PerlModule Apache::ASP
<Files ~ (.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>



Step 8. Now find in httpd.conf the following.

<IfModule mod_dir.c>
(Should contain index.html etc), now add index.asp (but do not delete the origional arguments).
</IfModule>

Step 9. Login to WHM as root.
Now restart Apache.