![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Nov 2004
Posts: 36
OS: WinXP 5.1 Build 2600
|
Looking for someone that can try and help me out with a problem on a server my website and messageboard reside on. Seems like everytime someone uploads an CGI file or makes any changes to one on the server, we get internal server error 500s. I have checked the simple things myself, like permissions, paths to PERL, etc.... Anyone HAVE any idea what would be causing this? Server Software: Apache/2.0.53 (Unix) mod_ssl/2.0.53 OpenSSL/0.9.7f DAV/2 FrontPage/5.0.2.2635 PHP/4.4.1 Perl Version: 5.008006 Server Platform Linux 2.6.15-1.1833_FC4 A buddy of mine seems to think something like this: <Nick>someone tried to edit this file on a windows box. <Nick> normally you can catch that **** <Nick> but it didn't show up at all <Nick> until we did some FM on the file.. <Nick> basicall, windows throws extra characters, a line file with a carriage return and unix only needs the carriage return char. <Nick> But that should show up in an editor as ^M but it wasn't If he IS correct, why is it doing that? The people that are uploading the CGI files say they upload to different type servers ALL the time and do not have this problem. Thanks guys, love the support here. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Manager, Alternative Comp
|
Look at the error_log that apache writes when you try to access that particular CGI file. That should give you some info on what's going on. On my server, I would do "tail -f /usr/local/apache/logs/error_log" and then try to access the CGI. Using "tail -f" will print new entries to the log file as they happen.
As far as the LF/CR issue, I do know that there are some Windows editors (usually the more advanced ones) that can be set to use LF/CR or just CR. However, I've never used CGI's that had a LF/CR so I don't know if this causes an issue.
__________________
|
|
|
|
![]() |
| Thread Tools | |
|
|