Linux Apache ASP for Cpanel Published: Apr 18, 2004
  • Rating

    0/5

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 running on Linux systems.

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

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

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

  • Rating

    0/5

Related Articles

Comments (6)

  • Gravatar - Enigmatic
    Enigmatic 19:17, October 19, 2004
    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?
  • Gravatar - Rodolfo Ferreira
    Rodolfo Ferreira 16:30, January 29, 2005
    I'm using Trustix and after run apache-asp.sea, the apache don't work more.<br />
    I insert this line in httpd.conf, and don't work too.
  • Gravatar - hagai
    hagai 12:23, August 7, 2005
    the link to the apache-asp.sea is broken, cpanel are not hosting them anymore.
  • Gravatar - dedicados.com.mx
    dedicados.com.mx 18:33, March 23, 2007
    http://cpan.org/modules/by-module/Apache/Apache-ASP-2.59.tar.gz<br />
    <br />
    i think this is the good one
  • Gravatar - NachOccardiax
    NachOccardiax 16:27, May 23, 2011
    Drug Testing For Marijiuana http://sanechurch.org/ - klonopin without prescription The feeling of anxiety that so many people experience is much the same as the feeling of nervousness that we all get before a big test or presentation. http://sanechurch.org/ - buying clonazepam online
  • Gravatar - RORKEXCEX
    RORKEXCEX 04:31, May 25, 2011
    Fda Banned Drugs For Diebeties http://www.conniegross.com/ - diflucan medication Diflucan is an anti-fungal antibiotic. http://www.conniegross.com/ - yeast infection fluconazole

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2017 WebHostGear.com