Solved

Internal Server Error when saving document unchanged

Posted on 2015-01-28
5
87 Views
Last Modified: 2015-01-31
I edit a file in filezilla and when I upload it i get:  
Internal Server Error

What could cause this?  The website works perfectly.  I
I open the file locally and make no changes to it
I save it and filezilla saves the unchanged file to the server.
I go to that same url and it's not working.  

Is there anything that might cause this?
0
Comment
Question by:vrosas_03
[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
  • 3
  • 2
5 Comments
 
LVL 2

Assisted Solution

by:Uwe Degenhardt
Uwe Degenhardt earned 500 total points
ID: 40577315
This could be caused by a permission problem.
Did you have a look in the Webserver-Logfile ?
0
 

Author Comment

by:vrosas_03
ID: 40578430
If I change the index.php to index.html it works.

there are php pages on there already though but they only work if they remain on the server.  I can change the name and change it back and they will still work.

I checked the permissions and they are the same for pages that work as for pages that don't.  
What directory would the log file be in?  
Would it be in the site folder in a multisite website.  
Which directory:
var
usr
tmp
sys
srv
sbin
bin
mnt
?
There are other directories it could be in but if you know a common directory where the log file would be located that would help a lot.
0
 
LVL 2

Accepted Solution

by:
Uwe Degenhardt earned 500 total points
ID: 40578518
Check in /etc/httpd/conf/... (CentOS) or in /etc/apache2/sites-enabled/000-default (default) (Debian/Ubuntu)
if you can see any virtualhost giving you the actual physical document-root directory
either in: /var/www/ or /home/... or /srv/www
Most of the times (95%) it is somewhere in these three directory trees.
If you have the DocumentRoot path it should be solvable. If you have no virtualhosts go and check apache2.conf or http.conf
There you can the the webservers document-root as well.
0
 

Author Closing Comment

by:vrosas_03
ID: 40581139
I think it's caused by being the wrong owner.   The files i upload have a different owner than the ones that are there already.
0
 
LVL 2

Expert Comment

by:Uwe Degenhardt
ID: 40581936
Yes. Thank you for your points. Then try to change the umask and/or the standard user of the ftp-user logging in.
Also add the user to the group-file under /etc/group
After that begin with umask 022 and the new ownership delivery in the group and all should be fine.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

696 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