Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CGI ap on NetworkSolutions host

34 views
Skip to first unread message

Vance E. Neff

unread,
Apr 8, 2009, 10:12:06 AM4/8/09
to beginn...@perl.org
Hello,

has anyone had experience getting a CGI application to work on a
NetworkSolutions unix host?

I have a CGI program under cgi-bin called Login.CGI and a html page
under htdocs.
When the html page attempts to post a form to ../cgi-bin/Login.CGI, I
get a non-description error:
500 internal server error

Any clues?
Is there a server error log for my site that I can check?

Note that this application was tested on my computer using an Apache
server and ActivePerl. Also note that I have not loaded any of the .pm
modules onto the NetworkSolutions site yet.

Thanks for any help!
Vance

Gunnar Hjalmarsson

unread,
Apr 8, 2009, 11:43:51 AM4/8/09
to beginn...@perl.org
Vance E. Neff wrote:
> I have a CGI program under cgi-bin called Login.CGI and a html page
> under htdocs.
> When the html page attempts to post a form to ../cgi-bin/Login.CGI, I
> get a non-description error:
> 500 internal server error

Try adding

use CGI::Carp 'fatalsToBrowser';

near the top of Login.CGI.

Even if Login.CGI works on Windows, maybe you ought to rename the file
to Login.cgi (Unix is case sensitive).

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Jay Savage

unread,
Apr 8, 2009, 2:37:10 PM4/8/09
to Vance E. Neff, beginn...@perl.org
On Wed, Apr 8, 2009 at 10:12 AM, Vance E. Neff <ven...@intouchmi.com> wrote:
> Hello,
>
> has anyone had experience getting a CGI application to work on a
> NetworkSolutions unix host?
>
> I have a CGI program under cgi-bin called Login.CGI and a html page under
> htdocs.
> When the html page attempts to post a form to ../cgi-bin/Login.CGI, I get a
> non-description error:
> 500 internal server error
>

Permissions problems are often the source of 500 errors. Check to make
sure that the file is executable by the user/group that cgi scripts
run as. In most cases, it isn't you. Also make sure that the
permissions comply with whatever the site's security policy is. Many
servers won't execute scripts that are world-readable, for instance.

HTH,

-- jay
--------------------------------------------------
This email and attachment(s): [ ] blogable; [ x ] ask first; [ ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com http://www.downloadsquad.com http://www.engatiki.org

values of β will give rise to dom!

Vance E. Neff

unread,
Apr 8, 2009, 3:06:23 PM4/8/09
to beginn...@perl.org
Jay,

That was the problem. The file was not set to be executable. Plus I
removed the public readable and all writables.

Vance

> values of οΏ½ will give rise to dom!
>
>

0 new messages