Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I'm getting the '500 Interna

Status
Not open for further replies.

hip

Instructor
Oct 27, 2002
4
ES
Hi,

I'm getting the '500 Internal Server Error' when calling any CGI in my local Apache server.

I'm using the default 'c:/apache/cgi-bin/' path in the httpd.conf (according to its actual path):

ScriptAlias /cgi-bin/ "c:/apache/cgi-bin/"

<Directory &quot;c:/apache/cgi-bin&quot;>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

As I understand from apache.org support files I don't need to set the 'AddHandler cgi-script .cgi' for it to work. But even setting it up I still get the same 500 error.

It looks so simple in tutorials that I can't get to know what can be going wrong.

Any help is welcome.

Thanx,
hip

 
Try setting the cgi script permissions to 0755. It generally solves the 500 Internal Error issue...

Did you upload the files from another machine? If so, did you make sure to do it in ASCII?
 
Thanx

I just installed a Perl interpreter from its binary. (somo 'perl' called folders here and there).

I just got it to wor right now, though it does not accept no extension for CGI files. I'll work on it.

I don't think it may be a permissions matter cause I'm working locally. But anything can be. I'm just getting in touch with all this for the 1st time.

Thanx,
hip
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top