How to fix Apache server error for jquery-1.11.1.js

How to fix Apache server error for jquery-1.11.1.js

We are getting an Apache server error shown below when I try to use jquery-1.11.js in my python javascript program. When I use the following line, I get a Internal Servor Error message in the Google Chrome Browser Inspect Element window. 

       print '<script type="text/javascript" src="https://eecsappsrv.mit.edu/cgi-bin-secure/lib/jquery-1.11.1.js"></script>'

However, when I use instead the following line, everything works okay.

     print '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>'


Here are two error diagnostic details. 

1.

eecsappsrv ftchang % pwd 

/usr/eecs/apache/app-secure-server/cgi-bin-secure/lib

eecsappsrv ftchang % ls -l

total 284

-rwxr-xr-x 1 webuser www 282766 Aug 25 17:21 jquery-1.11.1.js

2.

> Failed to load resource: the server responded with a status of 500 (Internal Server Error)  https://eecsappsrv.mit.edu/cgi-bin-secure/lib/jquery-1.11.1.js

> 781019:[Tue Aug 26 15:15:45 2014] [error] [client 18.62.24.71] (8)Exec

> format error: exec of '/usr/eecs/apache/app-secure-server/cgi-bin-secure/lib/jquery-1.11.1.j s' failed, referer:

> https://eecsappsrv.mit.edu/cgi-bin-secure/questionnaire/survey.cgi

> 781020:[Tue Aug 26 15:15:45 2014] [error] [client 18.62.24.71] Premature end of script headers: jquery-1.11.1.js, referer:

> https://eecsappsrv.mit.edu/cgi-bin-secure/questionnaire/survey.cgi


Is it possible there is something wrong with our copy of the file query-1.11.1.j s? Specifically do we need to convert DOS newlines to UNIX newlines or is it something more complex.

Thank you very much.

          Frank