httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 60976] New: AddHandler cgi-script .pl - files are executed
Date Wed, 12 Apr 2017 13:53:41 GMT

            Bug ID: 60976
           Summary: AddHandler cgi-script .pl - files are
           Product: Apache httpd-2
           Version: 2.4.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_mime
  Target Milestone: ---

I just uploaded a test site to local apache and got "500 Internal Server Error"
while loading static file "http://localhost/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:
For additional commands, e-mail:

View raw message