Re: [users@httpd] Oddity using FallbackResource in PHP development

2018-06-08 Thread Benjamin Smith
That was it, thanks! Now, in my /etc/httpd/conf.d/site.conf I have: SetHandler None SetHandler application/x-httpd-php # blah blah other stuff wrote: > Do you have

Re: [users@httpd] Oddity using FallbackResource in PHP development

2018-06-08 Thread Daniel Gruno
Do you have a handler configured for .php that might interfere here? If you have something like mod_php or fpm handling .php extensions, that may take over from the generic file handler (which is what FallbackResource works for) and try to serve it instead. A solution, if this is the case, wou

[users@httpd] Oddity using FallbackResource in PHP development

2018-06-08 Thread Benjamin Smith
Apache is returning 404 when an invalid PHP script is called, even though FallbackResource is configured and working fine for invalid scripts without the .php extension. Said another way, when I use FallbackResource, with a PHP file as the target, it works fine only when I don't reference an inval