basic cgi questions-

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • huh?
    Junior Member
    • Apr 2004
    • 12

    #1

    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, 07:19 PM.
  • Buddha
    Senior Member
    • Mar 2004
    • 825

    #2
    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, 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

    Comment

    • huh?
      Junior Member
      • Apr 2004
      • 12

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

      Comment

      Working...