0

My current environment is: Debian, apache2 & php5.

When I browse "http://localhost/index", the "http://localhost/index.php" script is executed.

If I don't want to do this, do I need to change apache's configuration? If yes, how I can do that?

1
  • Can you post your virtualhost or .htaccess file for localhost (default domain)? Commented Apr 30, 2011 at 10:41

1 Answer 1

1

This is caused by apache's MultiViews directive. Refer to the documentation here: http://httpd.apache.org/docs/2.0/content-negotiation.html#multiviews

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.