https://bz.apache.org/bugzilla/show_bug.cgi?id=60976
Bug ID: 60976
Summary: AddHandler cgi-script .pl - something.pl.js files are
executed
Product: Apache httpd-2
Version: 2.4.23
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_mime
Assignee: bugs@httpd.apache.org
Reporter: apache_org@dlk.pl
Target Milestone: ---
I just uploaded a test site to local apache and got "500 Internal Server Error"
while loading static file "http://localhost/js/bootstrap-datepicker.pl.js". (pl
as a language code)
The file was wrongly parsed/executed by the server as a perl script.
The only way to fix this was to comment:
# AddHandler cgi-script .cgi .pl
or remove .pl as it was wrongly matched with ".pl.js" file
Using Apache (lampp) on Arch
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org