Results 1 to 3 of 3

Thread: CGI Scripts

  1. #1


    Member Since
    Nov 22, 2006
    Posts
    33
    CGI Scripts
    Hi all,

    I setup my httpd.conf file following the directions on this site:

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

    I am able to view .html pages hosted in my "Sites" directory, but I can't view .pl or .cgi files.
    When I try to open a .pl file in my web browser, it says "Forbidden. You don't have permission to access /~hsujd/printenv.pl on this server."
    I checked the permissions of my .pl file, and it is world executable.
    I checked the apache error log, and it says that "Options ExecCGI is off in this directory: /Users/hsujd/Sites/printenv.pl"
    In my httpd.conf file, I have the line "Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI"

    Could someone please help me?

    Thanks,
    Dan

  2. #2

    novicew's Avatar
    Member Since
    Jan 04, 2006
    Location
    Hamburg, Germany
    Posts
    1,385
    Specs:
    MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)
    Did you check whether the CGI module in active in /etc/httpd/httpd.conf ? Just in case

    LoadModule cgi_module libexec/httpd/mod_cgi.so

  3. #3


    Member Since
    Nov 22, 2006
    Posts
    33
    Yes, this module is active, but thanks I was unaware of it.

    Quote Originally Posted by novicew View Post
    Did you check whether the CGI module in active in /etc/httpd/httpd.conf ? Just in case

    LoadModule cgi_module libexec/httpd/mod_cgi.so

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with cgi apache error
    By Jimmy_1020 in forum Web Design and Hosting
    Replies: 0
    Last Post: 05-27-2011, 11:12 PM
  2. CGI Proxy??
    By robbieboy in forum Web Design and Hosting
    Replies: 1
    Last Post: 11-28-2007, 09:20 AM
  3. What program should I use to learn CGI
    By space_invader64 in forum Movies and Video
    Replies: 3
    Last Post: 11-23-2007, 05:06 AM
  4. CGI Scripts
    By danimal in forum Switcher Hangout
    Replies: 0
    Last Post: 12-08-2006, 06:06 PM
  5. Enabling Perl CGI Scripts
    By danimal in forum Web Design and Hosting
    Replies: 1
    Last Post: 12-04-2006, 05:19 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
  •