[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Problem executing CGI
- Subject: Re: [cobalt-users] Problem executing CGI
- From: Liz <daldog@xxxxxxxx>
- Date: Thu Mar 30 03:52:30 2000
On Thursday - 03/30/2000 (10:53 AM) - Bob Whiting wrote...
Thanks for the tips on running an X application on the RaQ3. I am one step
closer to getting things up and running.
However, I now am unable to execute my script.
Bob,
Did you "chmod 755 script.cgi" ..?
I have a file /cgi-bin/script
Actually, you're not really required to put your cgi scripts in
specifically a "cgi-bin" directory. You can execute them in any /web
directory for a virtual site. Since you didn't include a file extension
I'll take a stab here and say that the script won't execute because it
doesn't have a file extension. For all web page based stuff I usually give
a cgi script the ".cgi" extension. ".pl" stuff I use for shell scripts,
but that's my own personal preference.
This file was placed on the machine by telnetting in. Ownership is now
httpd.
Have you tried changing ownership with "chown username script.cgi" in
telnet for a user name of that particular virtual site??
The FAQs at Apache's web site cover most of your questions. :-)
http://www.apache.org
Liz