Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 31
  1. #1
    Member
    Join Date
    Apr 2002
    Posts
    86

    Default How To: Install ASP (Apache::ASP) on CPanel

    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.

    Code:
    cd ~
    wget http://layer1.cpanel.net/apache-asp.sea
    chmod 700 apache-asp.sea
    ./apache-asp.sea
    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:

    Code:
    pico /usr/local/apache/conf/httpd.conf
    and find the section that has:

    Code:
    <Files ~ "^\.ht">
        Order allow,deny
        Deny from all
        Satisfy All
    </Files>
    Right below there, add:

    Code:
    ##  Apache::ASP Install Configuration
    
     PerlModule  Apache::ASP
     <Files ~ (\.asp)>
       SetHandler  perl-script
       PerlHandler Apache::ASP
       PerlSetVar  Global .
       PerlSetVar  StateDir /tmp/asp
     </Files>
    Next, find the section that looks like:

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

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    does Apache::ASP let users run MS .asp based sites???

    Im confused, biven that Sun ONE (chillisoft) costs a fortune per server and this is free?

    Do they do the same thing???

  3. #3
    Member
    Join Date
    Jun 2003
    Location
    Bulgaria
    Posts
    131

    Default

    Yes, but note... you're not going to succeed runing ASP sites which need MSSQL

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Yes i had asumed that, was basically looking for the ability to run Front Page built sites that use FP databases

  5. #5
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Do yourself a favour and forget about installing this. It doesnt work. Try Chilisoft. At least it works.

  6. #6
    Member
    Join Date
    Jun 2003
    Location
    Bulgaria
    Posts
    131

    Default

    $$$$$$$$$$$$$$$$$$$$$$$$$$$

  7. #7
    Member Silverado's Avatar
    Join Date
    Mar 2003
    Location
    Backyard - Poolside
    Posts
    191

    Default

    $$$$$$$$$$$$$$$$$$$$$$$$

    yes indeed... but in this instance you get what you pay for.
    After all is said and done, a lot more will be said than done.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge jackal's Avatar
    Join Date
    Feb 2002
    Posts
    708

  9. #9
    Registered User mnaudon's Avatar
    Join Date
    Feb 2004
    Location
    Santiago de Chile
    Posts
    3

    Arrow ??

    but, Linux don't have support for access, so the last chance it's mysql o postresql or not?

  10. #10
    Member
    Join Date
    Dec 2003
    Location
    Roanoke, VA, US
    Posts
    24

    Default

    Does anyone know if you install Apache :: ASP if cpanel will overwrite it, thus requiring a reinstall, the next time apache is updated by cpanel?

  11. #11
    Registered User
    Join Date
    Sep 2003
    Posts
    2

    Default apache dont start after install.

    after i did the guide up there ^
    apache wouldnt start again.
    only way to get it back again is to undo the changes.
    why is that?

    and since apache wont start i cant get asp to work.
    Last edited by garanterad; 03-20-2004 at 08:00 AM.

  12. #12
    Member
    Join Date
    Aug 2003
    Posts
    16

    Default

    Syntax error on line 442 of /usr/local/apache/conf/httpd.conf:
    Can't locate Apache/ASP.pm in @INC (@INC contains: /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 3) line 3.


    i get that...

  13. #13
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2004
    Posts
    55

    Default

    I got this:
    /etc/init.d/httpd restart: configuration broken, ignoring restart
    /etc/init.d/httpd restart: (run 'apachectl configtest' for details)

  14. #14
    Member
    Join Date
    Apr 2003
    Posts
    35

    Default

    I get an internal server error. Anyone?

  15. #15
    OCX
    OCX is offline
    Member
    Join Date
    Sep 2003
    Posts
    246

    Default

    i mean this in the nice possiable way

    if you WANT ASP use a windows server..not a linux server..

    there are only a handfull of linux based asp scripts to use..

    where as windows server well..self explanitory..

Similar Threads & Tags
Similar threads

  1. Apache:ASP install on CPanel
    By rammizz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-09-2007, 01:54 PM
  2. How to install ASP apache and mod_mono
    By Tagor in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-05-2005, 11:48 PM
  3. How to install ASP on linux/Apache
    By correctsearch in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-25-2004, 11:12 AM
  4. Apache ASP v. Chilisoft ASP
    By casey in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-17-2003, 07:36 PM
  5. How to Install Apache::ASP Plug-In?
    By surfturtle in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-26-2002, 01:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube