Results 1 to 2 of 2
  1. #1


    Member Since
    Nov 22, 2006
    Posts
    33
    Enabling Perl CGI Scripts
    Hi,

    Can someone help me to get this to work? I'm doing some testing of Perl CGI Scripts for my website, but I don't know how to enable CGI Scripting. I found this website

    http://www.cgi101.com/book/connect/mac.html

    but I can't modify my httpd.conf file. It seems like I don't have the proper permissions to make changes to this file, and chmod doesn't work for some reason.

    Thanks,

    Dan

  2. #2

    cazabam's Avatar
    Member Since
    Jun 06, 2006
    Posts
    1,153
    Specs:
    MacBook 2.0GHz White, 512MB RAM, 60GB HDD
    You need to use sudo to give yourself admin privileges temporarily, like this:


    sudo nano httpd.conf

    It will ask for your password, then open httpd.conf in nano which is fairly self explanatory.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. perl scripts and forms
    By lovemymacbook67 in forum Web Design and Hosting
    Replies: 0
    Last Post: 07-23-2008, 10:37 AM
  2. Can't run Perl scripts in Leopard
    By mscoxoh in forum OS X - Development and Darwin
    Replies: 4
    Last Post: 05-10-2008, 02:56 PM
  3. CGI Scripts
    By danimal in forum Switcher Hangout
    Replies: 0
    Last Post: 12-08-2006, 05:06 PM
  4. CGI Scripts
    By danimal in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 12-04-2006, 11:19 PM
  5. Using perl scripts to track stolen computers
    By NanoBite in forum Schweb's Lounge
    Replies: 1
    Last Post: 08-29-2006, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •