[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: can't run CGI scripts!
did you try changing come settings in the httpd.conf file ?
The fact that you see source code instead of executed code means that apache
doesnt know how to execute the perl file. This may be becuase the perl
executable is not configured , either its not in the path, check if its
really in /usr/bin/ or /usr/local/bin or somewhere else.
when you say localhost, it will load the default index file in the
As for geocities, they will give you the info as to where to place the
Hope that helps.
Subject: [linux-delhi] can't run CGI scripts!
Date: 20 Sep 2000 01:55:06 -0700
Help me out on this one:
I have tried running the following CGI script but it just doesn't in either
Lynx or Netscape:
print"Content type: text/html\n\n";
I name it try.cgi
Whenever I try to open try.cgi in the browser window it just displays the
source code instead of Hi There.
I've tried moving the try.cgi file to /home/httpd/cgi-bin also to
/usr/cgi-bin as root. but no luck!
one more thing whenever i try to open localhost in the browser window, the
"It Worked" message from apache comes.
If I can get a CGI script to work can I execute it from my home page at
Thanx in advance.
123India.com - India's Premier Portal
Get your Free Email Account at http://www.123india.com
An alpha version of a web based tool to manage
your subscription with this mailing list is at
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at