Using Apache 2.2 and PHP 5, what\'s the best way to run PHP without the .php extension? For example, I have a script called app.php and I like to i
An alternative is to use content negotiation. Turn on multiviews:
Options +MultiViews
If a named resource doesn't exist, Apache will glob for the file, then sort based on the media type and content encoding requirements send by the browser. If there's only one file (your PHP script), then that's what the URL resolves to.