Rendering extension-less files with php creates 404 errors when accessing the directory index
- by ojcar
I'm trying to render all files in a directory as php files. These files don't have any extension. I do this by adding the following .htaccess file:
SetHandler application/x-httpd-php5
DirectoryIndex index index.php index.html
The problem is that I'm getting 404 errors when accessing the index file on a url. For instance http://foo.com/mydir/…