Solved

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

Posted on 2014-04-24
2
320 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
2 Comments
 
LVL 24

Accepted Solution

by:
lenamtl earned 500 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now