First ssh into your machine as root, or switch to root by using Su –
‘Get the goods
[email protected] [~]# wget http://layer1.cpanel.net/apache-asp.sea
‘set permissions
[email protected] [~]# chmod 755 apache-asp.sea
‘Initial installation (Can take up to a minute or so)
[email protected] [~]# ./apache-asp.sea
‘restart apache
[email protected] [~]# /etc/init.d/httpd restart
[email protected] [~]# vi /usr/local/apache/conf/httpd.conf
Now you wana look this area (you could say its near the middle)
Order allow,deny
Deny from all
Satisfy All
Below that add the following data:
PerlModule Apache::ASP
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
Lets continue…
Now find in httpd.conf the following.
(Should contain index.html etc), now add index.asp (but do not delete the origional arguments).
Now save httpd.conf
‘reboot apache
[email protected] [~]# /etc/init.d/httpd restart
Check the Linux Dedicated Hosting features to know more.