“Page Not Found”,YOU, AGAIN :@

So you have moved to a new machine and have setup everything correctly, all your LAMP settings are correct and your virtual host or localhost is setup as it should be.

But you still get 404 errors on your projects. Your first hunch would be to see if your URL is correct. Assuming it is, you move onto checking if your application uses mod_rewrite (i.e. it uses Apache rewriting)If it does, you will enable it or check if it is already enabled. Assuming once more, that it is enabled and working, you will most definitely wonder what’s wrong and before it comes down to pulling your hair out, let me suggest something else to try because i have been through this scenario so many times and it has always been the same culprit!

So i have missed it so many times and i thought like, no buddy not this time 😀 . By the way, this line goes something like this in your apache configuration.

This overrides default Apache configuration for the specific directory. You can also put it inside your virtual host configuration file.

alexey

Application developer, movie buff, occasional reader and a huge Manchester United fan.
alexey
Share

Application developer, movie buff, occasional reader and a huge Manchester United fan.