Bugzilla Rest API激活 [英] Bugzilla rest api activation

查看:210
本文介绍了Bugzilla Rest API激活的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在fedora服务器上安装了Bugzilla.我想使用Rest Api,但找不到如何激活它.有人可以帮我吗?

I install Bugzilla on my fedora server. I want to use Rest Api, but can't find how to activate it. Can someone help me?

推荐答案

可以通过安装一些列为可选的Perl模块来解决此问题.对我有用的是启用mod_rewrite并安装与Bugzilla API有关的可选模块.确保已安装的所有模块都是最新的.您还需要确保启用mod_rewrite,以便您可以在URL中与/rest/而不是/rest.cgi/

This issue can be fixed by installing some Perl modules that were listed as optional. What worked for me was enabling mod_rewrite and also installing optional modules pertaining to the Bugzilla API. Make sure that all of the modules you have installed are up to date. You will also want to make sure you enable mod_rewrite so that you can contact /rest/ in your URL instead of /rest.cgi/

为Windows启用mod_rewrite的示例: https://tomelliott.com/php/mod_rewrite-windows-apache-url-重写

Example of enabling mod_rewrite for Windows: https://tomelliott.com/php/mod_rewrite-windows-apache-url-rewriting

模块列表(必需和可选): https://www.bugzilla.org/releases/5.0/release-notes. html

List of modules (required and optional): https://www.bugzilla.org/releases/5.0/release-notes.html

仔细查看下表中的可选模块.在启用功能"功能下,您将看到这两个Perl模块是API起作用所必需的.

Take a close look at the table for optional modules. Under the "Enables Feature" function, you will see these two perl modules are required for the API to function.

JSON::RPC   (Any)   JSON-RPC Interface, REST Interface

Test::Taint 1.06    JSON-RPC Interface, XML-RPC Interface, REST Interface

请注意,如果您使用的是其他操作系统,或者要升级其他版本,则可能需要查看不同的页面.

Note that you may need to look at different pages if you're on a different OS, or want to upgrade a different version.

这篇关于Bugzilla Rest API激活的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆