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: [email protected]
          Reporter: [email protected]
  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to