WebHostGear.com - the hosting resource for professionalshosting tutorials 
hosting howto webhost guide server managementJuly 23, 2008
server management, apache tutorials, hosting tutorials, cpanel, server security
Home / Hosting Tutorials / cPanel Tutorials / Linux Apache ASP for Cpanel

Linux Apache ASP for Cpanel



Printer Friendly Printer Friendly Send to a friend Send to a friend
By : ramprage Rating : Average Rating : 6.00 From 10 Voter(s)

About Apache ASP
Apache::ASP provides an Active Server Pages port to the Apache Web Server with Perl scripting only, and enables developing of dynamic web applications with session management and embedded Perl code. There are also many powerful extensions, including XML taglibs, XSLT rendering, and new events not originally part of the ASP API!

http://www.apache-asp.org/

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.

Installation of Apache ASP
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


Article provided by WebHostGear.com
Step 3. Initial installation (Can take up to a minute or so)
root@Server [~]# ./apache-asp.sea



Article provided by WebHostGear.com

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
(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>


Step 6. Now save httpd.conf
:wq

Step 7. Restart 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.0

New! - Need server help? Hire an Expert

Get professional help with your configuration, script installation or server issue.
Learn how we can help you with any server problem and make your server run like new. Professional staff will contact you, after submitting a quote request, by phone or email.

Rate this Article :

1

2

3

4

5

6

7

8

9

10
Poor Excellent
Sources
http://www.forcehost.net/

Related Articles


» Official Cpanel Newbie Guide
» Force (SSL) secure logins in WHM and Cpanel
» Setting up Private Nameservers in Cpanel
» Guide to Chkrootkit - checking for intruders
» Securing Your /tmp Partition with Cpanel/WHM


Discuss this article with others in our new hosting forums

Comments / Feedback

Enigmatic
Unfortunately, EasyApache won't re-compile Apache or return errors after running /scripts/easyapache with PerlModule Apache::ASP. I am wondering if anyone experienced the same issue?
Rodolfo Ferreira
I'm using Trustix and after run apache-asp.sea, the apache don't work more.
I insert this line in httpd.conf, and don't work too.
hagai
the link to the apache-asp.sea is broken, cpanel are not hosting them anymore.
dedicados.com.mx
http://cpan.org/modules/by-module/Apache/Apache-ASP-2.59.tar.gz

i think this is the good one

 Add Comment
Name
Email
Image Code
Refresh Image

Comments / Feedback



Web Hosting News RSS ?


WebHostGear Hire an Expert - NEW!
Let us improve your servers performance, find that spammer and take care of that kernel upgrade. Hire us to help with any tutorials listed on the site or any other services needed. Get your free, NO obligation quote now

Our site offers free hosting tutorials, cpanel tutorial, web hosting news, shell commands, running a web hosting business, dedicated guides, linux tutorial, apache install, home web server, web server guide, ssh commands, dedicated servers, DNS nameservers, chkrootkit, apf firewall, exim configuration, server compromised, cron backup solution, ftp backup script

Server Tutorials


WebHostGear Reviewed by Ping Zine - Click here

Special Offer:


Links:
cPanel server administration

MidPhase Coupons

Reseller Hosting

Reseller Hosting FAQ

Icon

Web Hosting

Datacenter Discussion Forum

Lunarpages Coupon

Hosting Coupon



WebhostGear Sponsors
Going Up Advertise Hosting Free Uptime Check Web Hosting Chat Icons Banners Mall