Whm-cpanel - How to install apache asp on cpanel whm server, ASP on linux

How to install apache asp on cpanel whm server

How to install apache-asp on cPanel-WHM server

Apache ASP (Cpanel)

If you are looking to install ASP in your Cpanel then it is the simple. If you are if you are looking for a full fledged ASP solution on linux then check out Chilisoft ASP. But, I do not guarantee this will work on your box. I will explain you the basic to install apaache-asp module.

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

Download the apache-asp module
 # wget http://layer1.cpanel.net/apache-asp.sea

Set permissions
 # chmod 755 apache-asp.sea

Execute the script for installation
 # ./apache-asp.sea
This initial installation Can take up some time, so please wait.

Restart apache after Installation
 # /etc/init.d/httpd restart

Configure Apache for executing asp
 # vi /usr/local/apache/conf/httpd.conf

Find the following lines in httpd.conf
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
Those who are familier with http.conf can find this line easily, These lines are used to set up your mod-rewite file. You can can find the line by searcing for .htaccess

Below that add the following lines to enable apache asp
PerlModule Apache::ASP
<Files ~ (\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>

Again find the following line in httpd.conf
<IfModule mod_dir.c>
(Should contain index.html etc), now add index.asp (but do not delete the origional arguments).
</IfModule>

Now save httpd.conf and restart the apache server

Restart Apache
# /etc/init.d/httpd restart

Thats it, Now you have installed apache asp.But you cant expect if all the asp functions to work in your linux machine.

The topic on Whm-cpanel - How to install apache asp on cpanel whm server is posted by - Veen

Hope you have enjoyed, Whm-cpanel - How to install apache asp on cpanel whm serverThanks for your time

Tech Bluff