Solved

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

Posted on 2014-04-24
2
323 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
listing all functions in JavaScript 19 173
.htaccess file settings 4 54
How search webpage "viewable text" only 1 61
move widget title down 4 0
Read about why website design really matters in today's demanding market.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

914 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

21 Experts available now in Live!

Get 1:1 Help Now