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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 04-08-2006, 12:43 PM   #1 (permalink)
Registered User
 
Join Date: Nov 2004
Posts: 36
OS: WinXP 5.1 Build 2600


Confused Help with PERL, CGI-BIN, Apache, etc....



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.
R_Willis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 04-18-2006, 11:02 AM   #2 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

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.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 09:15 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85