Parse application/x-httpd-php in php7 without file extention

319 views Asked by At

Ran into this while moving some sites from a one server to another:

The .htaccess file only has this in certain directories:

SetHandler application/x-httpd-php

but it does not parse url's like:

domain.com/dir/filenameWithoutExtension/

where 'filenameWithoutExtension' contains the actual content. And should generate the page

The site is hosted on Ubuntu (Directadmin) with:

First PHP: PHP 7 php-fpm Second PHP: PHP 5.6 suphp Apache 2.4.33

Does anyone know how to manage this correctly?

0

There are 0 answers