1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

CGI problem

Discussion in 'Software Development' started by Vadim, Jan 16, 2002.

Thread Status:
Not open for further replies.
  1. Vadim

    Vadim Thread Starter

    Joined:
    Jan 16, 2002
    Messages:
    15
    Hi,
    I have 2 cgi programs but none of them is working. Actually I don't know what's wrong. One is a counter and the other – news updater.
    The files .pl are working. For example, when I address .../cgi-bin/news/news.pl ecerything's OK and the news can be added but I can't see the news on the web-page where (as said in the instructions) I should add the following line '<!--#include virtual="/cgi-bin/news/news.pl"-->'. I have changed file attributes of .pl files into 755.
    Could you help me to solve the problem, please.
    Actually I'm really bad at cgi so the problem can be anything even obvious for you :)
     
  2. TechGuy

    TechGuy Administrator

    Joined:
    Feb 12, 1999
    Messages:
    14,262
    First Name:
    Mike
    If you're using it in an HTML page, try renaming it to .SHTML

    Also, make sure your host allows SSI.
     
  3. Vadim

    Vadim Thread Starter

    Joined:
    Jan 16, 2002
    Messages:
    15
    :( The thing is that it turns out that my host does NOT support # commands (SSI). Isn't it stupid to support CGI and don't support SSI??

    Anyway thanks for reply
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/65100

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice