?
Solved

linux web hosting - editing a file corrupts it on hostgator using their cpanel file manager

Posted on 2014-04-24
2
Medium Priority
?
336 Views
Last Modified: 2014-04-25
I have an index.cgi file on my hosting with HostGator.  it lets me set shortcuts in that file so I can type something like acrobat.mydomain.com and that will take me to the ninite acrobat installed.

so I have dozens of these entries, the file is index.cgi

it's set up and works ok.  

if I log into my cpanel in hostgator, go into file manager or even legacy file manager and edit the file - add a space, then delete it (so effectively no changes to the file) and save it, I then get a 500 error - somehow saving the file saves it in a way that the server can't run that cgi file.

If I use filezilla, download / edit the file, save and then upload the index.cgi  back to the server, it works fine.

Any idea why Host Gator's own system corrupts the index.cgi but filezilla doesn't?  Their tech support hasn't been able to help.
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Accepted Solution

by:
lenamtl earned 2000 total points
ID: 40022458
Probably an encoding issue
Some file need ASCII other Binary type
0
 

Author Closing Comment

by:BeGentleWithMe-INeedHelp
ID: 40022485
THANKS!
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question