I just got this working after many trial-and-error activities. Keep in mind, this is unsupported by both cPanel and me. I've been digging through documentation and through files to get this working. I'm here to hopefully save you the time that I've spent.
First, root into your box through SSH.
You should see this going through some installation processes and things. Once it gets toward the end, it'll say that you may need to restart Apache. Don't worry about that yet.
Once that's done, you'll need to setup Apache to work with Apache::ASP:
and find the section that has:
Right below there, add:
Next, find the section that looks like:
and add in there index.asp and default.asp so those are included as directory defaults (pages that load when no filename is given for a directory).
Save and exit. In WHM, give Apache a restart and you should be set.
Post here if you have problems so others can help. I don't program in ASP and don't claim to be the greatest when it comes to Linux so I'm not sure how much help I can give. The above worked for me so hopefully you have the same success.
First, root into your box through SSH.
Code:
cd ~
wget [url]http://layer1.cpanel.net/apache-asp.sea[/url]
chmod 700 apache-asp.sea
./apache-asp.sea
Once that's done, you'll need to setup Apache to work with Apache::ASP:
Code:
pico /usr/local/apache/conf/httpd.conf
Code:
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
Code:
## Apache::ASP Install Configuration
PerlModule Apache::ASP
<Files ~ (\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>
Code:
<IfModule mod_dir.c>
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp blah blah blah blah .....
</IfModule>
Save and exit. In WHM, give Apache a restart and you should be set.
Post here if you have problems so others can help. I don't program in ASP and don't claim to be the greatest when it comes to Linux so I'm not sure how much help I can give. The above worked for me so hopefully you have the same success.