I've been having a reoccurring issue with my VPS since I moved to a new company and I'm trying to figure out what the issue is. There are a few different things going on (I believe they are all connected) --
- When you visit a page that doesn't exist, instead of throwing a 404 error, it shows a page which looks like the index.php file in the respective directory you are in.
- The bigger issue, is that when I'm uploading new files through FTP, they are successful but when I visit the page in the browser, nothing has changed. In fact, I've tried clearing the browsers cache and I've even visited the site in three browsers (Safari, Firefox, & Chrome) to make sure it wasn't something specific to one of them. In all cases, the same (old) page displays. I've also noticed a similar behavior when you log in to the site. As it's setup you are shown a login link if you're not logged in, upon logging in, the link changes to show your username. I'mm logging in (and it's updating a timestamp on the database which is working correctly) but it doesn't show me logged in at the top of the screen. It still shows the Login option.
#1 I have no clue on so any help would be appreciated. As for #2 I am thinking the host is doing some sort of caching on their side that's causing this error? Of course, I'm no expert either so if you all have some ideas please let me know.
Specs: I'm running a Xen Linux VPS. Apache 2.2.19, PHP 5.3.6, mySQL 5.1.56, and cPanel/WHM are all installed and running.