October 3rd, 2013, 09:29 AM
Why index without .php is directing to index.php
I have put a project on a live server has Ubuntu Server 12.0.4 LTS. I have in the project folder the directories as below:
When I go to the domain like: http://mydomain.com/index, it directs me to the website (but with missing AJAX call to load) instead of giving me error 404 - page not found. When I go to http://mydomain.com/WERQ, I get page not found.
But when I go to the domain like: http://mydomain.com/index.php, it works fine!
I tried on my windows WAMP, but this doesn't happen there!
Could you please advise me how to check this problem?
October 5th, 2013, 06:09 AM
I don't have any folder called "index". I am really so curious why this happen and can't find any error in Apache2 error log! Would appreciate your hints.
October 5th, 2013, 10:46 AM
October 5th, 2013, 12:54 PM
I would suspect that it is probably due to Content Negotiation from the MultiViews option. Try disabling that using
in your .htaccess and see if the problem is still present.
Recycle your old CD's, don't just trash them
If I helped you out, show some love with some reputation, or tip with Bitcoins to 1N645HfYf63UbcvxajLKiSKpYHAq2Zxud
October 6th, 2013, 06:31 PM
Thanks! I solved this by removing it from sites-available
Originally Posted by kicken