Implement a way to add a .cgi file in an extension, and document it

NEW
Unassigned

Status

()

Bugzilla
Extensions
5 years ago
4 years ago

People

(Reporter: Albert Ting, Unassigned)

Tracking

Details

(Reporter)

Description

5 years ago
I don't see a documented method to add a new cgi script in an extension.  Moreover, it appears the custom cgi must be installed in the top directory (as opposed to under the "web" extension subdir).

Currently, my Extension.pm auto-copies the cgi script into the top directory whenever the file changes or is missing.  But there ought to be a better way.

In addition, if the cgi process a template in the extension, then the t/004template.t runtests fails because the test doesn't look in the extension template directory.
Summary: Document how to add a cgi extension → Implement a way to add a .cgi file in an extension, and document it
You need to log in before you can comment on or make changes to this bug.