Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Perl and CGI.pm
Date:   2001-12-10 14:07:08
From:   cochella
Response to: Perl and CGI.pm

I would like to see info on using CPAN to install CGI.pm, libnet.pm, and DBI/DBD.


I have tried to do this and gotten stuck because the OSX Perl install is "non-standard" according to the CPAN module.


Also, with respect to PHP it would be nice to see some info on compiling PHP with different options (MySQL, PDF, XML, DOM,...) for different user/virtual host directories.


I hope this helps guide the future.


Good article! Clear, concise and it works. Many articles do not workout.


Chris

Main Topics Newest First

Showing messages 1 through 1 of 1.

  • Perl and CGI.pm
    2002-01-13 11:39:55  dtr [View]

    I like the first informative installment and am looking forward to more. It took me a while to see that I needed to turn on sharing to serve localhost documents. You'll probably save people a lot of time.

    I had the same problem with CPAN.

    What I'd like to see is a simple set of directions for getting setup for a typical web use from OSX default. (Obviously, easier said than done). I'm trying to tackle getting perl scripts to run in a browser first.

    For example, my httpd.conf was definitely not configured properly to start with. I thnk I've actually made things worse. All I need is a properly configured httpd.conf that does what it's supposed to--like run the printenv script that the computer was shipped with and which apparently worked out of the box for some people.

    I still can't access the CGI-Execuatables directory from a browser, even though I reset the permissions and tried a few other thing, but I can access any html files fine. For a while, I was getting it to display the perl scripts as text (instead of executing), but allowing it to handle cgi somehow messed that up, too.

    It just seems unnecessarilly messy that it didn't ship configured to do common things, and I am (obviously) frustrated. I don't mind learning how to configure things. In fact, I probably shoud. It just seems a bit still that everyone using it should have to.

    Thanks for any straightforward help you can provide!