Oops!! Stuck with Apache 404 error on a file that exists? We can help you.
A 404 error page indicates that the page we are trying to access is not able to locate. It is also known as the File Not Found page.
At Bobcares, we often get requests regarding Apache errors, as a part of our Server Management Services.
Today, let’s see how our Support Engineers fix Apache error for our customers.
Why does the 404 Error happen?
This error may occur due to various reasons. Some of them are when:
- The site content moved to another URL.
- The files or images of a file are either moved or deleted.
- The server on which the site hosted is not running
Today, we are going to discuss on Apache 404 not found error occurring on a file that exists. Let’s see, how our Engineers find a fix for this error.
How we fix Apache 404 error on a file that exists?
Recently, one of our customers approached us with a 404 error.
The customer mentioned that he was using Proftpd and getting a 404 Not Found error when he is trying to access even when the files exist on the server.
Our Support Engineers first checked the Apache error log and found the following as shown in the image.
So, we checked in detail and found that the file is located at home>user.
When we inquired, the customer said that he was not able to upload files to /var/www because the USER he was using had no Permission to /var/www.
So, we added the permission for the user to upload the file to /var/www.
Then, uploaded the files to /var/www/.
This fixed the problem.
Also, we handled a situation where the customers approached us with the same error.
When checked, we found that it was a typo problem. That is instead of giving ‘logins’ he was using ‘login’ in URL to access the site.
Even such small mistakes can lead to a 404 error.
[Need any assistance with Apache errors? – We’ll help you]
Conclusion
In short, today we discussed in detail on Apache 404 error on a file that exists and saw how our Support Engineers find the fix for this error.
0 Comments