Results 1 to 3 of 3

Thread: basic cgi questions-

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    san francisco
    Posts
    12

    Default basic cgi questions-

    Installed a couple of cgi progs hoping to add meta-search to a site. Some success with one, but no luck so far with another. (Getting an "Internal Server Error")

    (1) Does a cgi file HAVE to reside in the cgi-bin or can it be in a sub-dir of cgi-bin?

    (2) Can't seem to find a server error log (which it appears from some reading might provide a clue).

    (3) Do I have Telnet access to my Dathorn sites? (It also appears that running scripts from the command line might help)

    (4) Anyone recommend a good source to acquire some background in this stuff? (While I don't expect to be able to write a complex script, I'd really like to know some of the mechanics that make it work).

    Anyone know of a good usable script to offer meta-search?

    Thanks
    Last edited by huh?; 08-23-2004 at 07:19 PM.

  2. #2
    Senior Member Buddha's Avatar
    Join Date
    Mar 2004
    Location
    Florida USA
    Posts
    825

    Default

    1. Try adding the following to your htaccess file:

    Code:
    Options +ExecCGI
    AddHandler cgi-script cgi pl
    2. Look for "Error Log" in cPanel.

    3. Better you have SSH access. Telnet with security ... sort of.

    4. http://www.htmlhelp.com/faq/cgifaq.html

    Be careful you don't hammer the server indexing your site. Indexing should really be done off line if possible.
    Last edited by Buddha; 08-24-2004 at 05:39 AM.
    "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Location
    san francisco
    Posts
    12

    Default

    Thanks Buddha! -haven't gotten it to run yet but that deffinitely put me on the road.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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