我在我的 Fedora 服务器上安装了 Bugzilla。我想使用 Rest Api,但找不到如何激活它。有人能帮我吗?
最佳答案
这个问题可以通过安装一些被列为可选的 Perl 模块来解决。对我有用的是启用 mod_rewrite 并安装与 Bugzilla API 有关的可选模块。确保您安装的所有模块都是最新的。您还需要确保启用 mod_rewrite 以便您可以在 URL 中联系/rest/而不是/rest.cgi/
为 Windows 启用 mod_rewrite 的示例:
https://tomelliott.com/php/mod_rewrite-windows-apache-url-rewriting
模块列表(必需和可选):
https://www.bugzilla.org/releases/5.0/release-notes.html
仔细查看可选模块的表格。在“启用功能”功能下,您将看到 API 运行需要这两个 perl 模块。
JSON::RPC (Any) JSON-RPC Interface, REST Interface
Test::Taint 1.06 JSON-RPC Interface, XML-RPC Interface, REST Interface
请注意,如果您使用不同的操作系统,或者想要升级不同的版本,您可能需要查看不同的页面。
关于rest - Bugzilla rest api 激活,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10357621/