rest - Bugzilla rest api 激活

标签 rest fedora bugzilla

我在我的 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/

相关文章:

jquery - 我怎样才能像C语言一样编写jQuery?

android - Linux:启动 Android SDK 或 Android Emulator

linux - gvimrc 和 vimrc 放在哪里?

java - XmlRpcClientException : An invalid XML character (Unicode: 0x8) was found

javascript - 在 Application.js 中推迟加载商店

azure - 步骤引用版本 1.152.1 的 InvokeRESTAPI 任务,该任务对于给定作业目标无效

bugzilla - 从bugzilla网址获取xml数据

'bug reports summary to individuals' 的 bugzilla 插件/扩展

Django Rest Framework Postman token 认证

php - 有没有办法设置引用交易 Paypal 的其余API