[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RaQ 550 easy questions: CGI, e-mail files, hom e directories
- Subject: RE: [cobalt-users] RaQ 550 easy questions: CGI, e-mail files, hom e directories
- From: BSmith@xxxxxxxxxxx
- Date: Mon Jul 14 11:46:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
3) Here`s the big one...can`t get any CGIs to run, at all. Here is the
resultant error message through a browser:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request. Your administrator may not have enabled CGI access
for this directory."
I`ve looked through the mailing list archives for almost four hours
straight, so as to not pester people with questions already answered. None
of the answers I found, however, seem to help me at all here. I have set up
and run Apache perfectly fine before, on several Linux flavours (including
an old Cobalt RaQ 1), and never had this problem. Apache documentation is
not helping, I think I`m following it to the letter but it doesn`t help.
Cobalt`s documentation only seems to cover the graphical interface.
----------------------------------------------------------------------------
-
Probably the most common problem when trying to run perl scripts.
#1 - Make sure that it is executable!
[root pass]# ls -l
-rwxr-xr-x 1 brian site44 9937 Jul 8 12:44 passman.pl
(That is the +x), if not .. chmod +x passman.pl
#2 - Trying running it locally, just to make sure it works:
[root pass]# ./passman.pl
(offline mode: enter name=value pairs on standard input)
If it says the above, try the below:
[root pass]# ./passman.pl d=d
Content-Type: text/html
* :: snip :: *
#3 - Make sure the file is OWNED by the site's admin! (see above ex.).
brian is the site admin of the box, and via the cgi-wrapper is allowed
to run it.
If 1-3 pass just fine, next check your error logs, and see what it is
complaining about!
tail -f /var/log/httpd/error
Refresh your browser, and read through the logs.
Following these steps should assist you in figuring out what is wrong with
your script!
Thanks,
Brian