Solved

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

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

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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
What You Need to Know when Searching for a Webhost Provider
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

688 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