Results 1 to 16 of 16
Thread: Apache ASP (Cpanel)
Threaded View
-
02-28-2004, 04:58 AM #1Russ
- Join Date
- Mar 2002
- Location
- Philadelphia, PA
- Posts
- 2,517
Apache ASP (Cpanel)
For those wanting to install ASP, this is not the greatest thing, if you are looking for a full fledged ASP solution on linux check out Chilisoft ASP, I do not guarantee this will work on your box, this tutorial is fairly basic, however expects most people know a little bit about linux.
First ssh into your machine as root, or switch to root by using Su -
'Get the goods
root@Server [~]# wget http://layer1.cpanel.net/apache-asp.sea
'set permissions
root@Server [~]# chmod 755 apache-asp.sea
'Initial installation (Can take up to a minute or so)
root@Server [~]# ./apache-asp.sea
'restart apache
root@Server [~]# /etc/init.d/httpd restart
'Configure Apache (use vi/pico etc)
root@Server [~]# vi /usr/local/apache/conf/httpd.conf
(Vi commands, insert to begin editing, CTRL+C to get to wait status, colon will popup waiting for your command, w = write, q=quit)
Now you wana look this area (you could say its near the middle)
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
Below that add the following data:
PerlModule Apache::ASP
<Files ~ (\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>
Lets continue...
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>
Now save httpd.conf
'reboot apache
root@Server [~]# /etc/init.d/httpd restart
Now you should be setup and ready to go, if you are having any errors please check to see that you did each step correctly. This installation has been tested with Cpanel 8.x series & RHL 8.0-9.0Last edited by Akash; 03-08-2004 at 06:50 PM.