Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have a FreeBSD OS server, and use Apache hosting web page. I also intalled Perl_mod already in my PC. Now we want to host some *.asp web page, so I try to install apache-asp. It is itnroducted to use the way of: download the apache-asp source file form http://cpan.org/modules/by-modules/Apache/ then in the command line, do :

Sheel prompt> perl -MCPAN -e shell
cpan>install CPAN
cpan>install bundle::Apache::ASP
However, during the installation, the screen keep telling me to do :

install Net::FTP
and also tell me to do

install Bundle::libnet
etc, ......
And after above procedure , I put a test.asp document on the apache server, and the browser tells me: 500 internal server error. I guess my Apache::asp was not successfully installed. And I tried to do the above installation again, still the same problem. I wonder whether the mirror ftp CPAN I chose to download is down. And I understand once I choose the ftp site, the brower will stick to the same address for CPAN, so in this case how do I change the ftp site for install CPAN. Or what should I do to fix the above problem. If I am not describing my problem clearly, please do not hesitate to let me know.

Your early reply will be highly appreciated.

My email is jennifer@tevn.com

Jennifer Zhao

edited: Sat Feb 1 16:10:10 2003 by jeffa - formatting adjustments jeffa gives thumbs up to theorbtwo

Replies are listed 'Best First'.
Re: CPAN apache::apache installation
by theorbtwo (Prior) on Jan 31, 2003 at 09:21 UTC

    Welcome to Perl Monks, Jennifer. First off, let me explain some peices of ettiquite, and suchlike. Users' nodes are input as HTML, so use <p> tags for paragraphs. We extend HTML a little by adding a <code> tag for putting code in. It's also considered normal to put things that aren't code, but should be presented more or less like code, like transcripts, in code tags.

    Since you created this node as the annonymous monk, rather then creating a user, you can't go back and edit it. I just Considered the node for editing by our crack team of Editors; after it gains enough edit votes, one of them will add the missing formatting, and thus make this quite a bit easier to read.

    Also, we don't generaly email replies to you. Instead, you need to come back and look for updates to your nodes. If you'd written this as a registered user, the system would (optionaly) /msg you, so there'd be a message waiting for you (in the upper-right, at the top of the chatterbox), telling you there was a reply to one of your nodes, and giving a link. The Monastery is a public forum, nodes are (mostly) public, and archived for all time.

    Anyway, getting to your question. The suggestions to install Bundle::libnet, Net::FTP, etc, are just that: suggestions. CPAN will be faster and more reliable with them installed, but will fall-back on other methods to download if they are not available.

    In any case, your problem seems to be with installing Apache::ASP, not with perl. I suspect you aren't reading the installation instructions correctly, since they don't make sense as you give them -- the CPAN module will automaticly download the file you mentioned, and will not see the copy you downloaded manualy.


    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Re: CPAN apache::apache installation
by perrin (Chancellor) on Jan 31, 2003 at 15:25 UTC
    Is the file you're trying to run written in VBScript? Apache::ASP only runs ASP files written in Perl.