+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2000
    Location
    Hervey Bay, Queensland Australia
    Posts
    2,005

    Turning on Perl CGI

    I've set up a Linux server (Debian distro) and installed some Perl programs but they don't run. Where do I turn on CGI and Perl scripts, please.

    ------------------
    The answer is 42!

  2. #2
    Join Date
    Jun 2000
    Location
    Bethlehem, PA, USA
    Posts
    646
    Do you have PERL installed?

    Are you trying to run these apps via a web server? If so, do you have them in the specified directory for apache to run cgi-scripts? I am not sure where debian installs apache, but if it is in something line /usr/local/apache you should see a directory in there titled cgi-bin. Put your cgi scripts in there.

    To learn more about where these directories are or to add more, less through the httpd.conf file. You will have to restart apache if you make any changes.

  3. #3
    Join Date
    Jan 2000
    Location
    Hervey Bay, Queensland Australia
    Posts
    2,005
    Hi Danns

    Yes Perl is installed, Debian puts it in /usr/bin/ and I found apache httpd.conf file and discovered that the cgi-bin directory is under /usr/lib/

    Thanks for that. How do I remotely stop and restart apache? Please

    Cheers BF

    ------------------
    The answer is 42!

  4. #4
    Join Date
    Jun 2000
    Location
    Bethlehem, PA, USA
    Posts
    646
    find out where apachectl is located and issue this command:

    apachectl restart

    You'll have to be root to do this.

  5. #5
    Join Date
    Jan 2000
    Location
    Hervey Bay, Queensland Australia
    Posts
    2,005
    Hi Danns
    Thanks for that, all is working well now. Thanks for your help

    ------------------
    The answer is 42!

Thread Information

Users Browsing this Thread

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

     

Bookmarks

Posting Permissions

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