Problems with apache 2.4 on Windows

I had used to use Apache 2.2. I have now moved to version 2.4

After spending the day trying to overtake the "access denied" point – which I discover as being due to the new "require everything granted" option in the Directory option, I have encountered a "problem" & # 39; 39; strange

In my virtual host, if I run:
http://example.com/cgi-bin/env-vars.pl, everything is fine (Using a classic script known to work)

But … if I run http://example.com/cgi-bin/NamedFolder/env-vars.pl, I get "end of the script before the headers" ALWAYS

Is there a new setting that I need to set in the virtual host or does it look like uppercase in the folder names?

I'm leaving for the next day after 8am, so I'll see if this issue sheds light tomorrow!