Hello Thorsten,
As you suggested, I added the following to my .htaccess file.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteOptions inherit
RewriteRule ^rest/(.*)$ rest.cgi/$1 [NE]
</IfModule>
Typing this URL in my browser
http://10.1.1.128/rest/bug
I get this:
Not Found
The requested URL /rest/bug was not found on this server.
Apache/2.4.7 (Ubuntu) Server at 10.1.1.128 Port 80
If I type in:
http://10.1.1.128/rest.cgi/bug
it works fine.
Any thoughts on how-to be able to use Bugzilla RESTFUL URI syntax (omitting .cgi extension) ?
1. Help to understand (R.Srinivasan)
2. Re: Help to understand (Thorsten Sch?ning)
3. Re: Bugzilla: Help with setting up RestAPI in ver 5.0.2
(Chris Rose)
4. Re: Bugzilla: Help with setting up RestAPI in ver 5.0.2
(Thorsten Sch?ning)
5. Blocking users to raise a bugs - Help required
(Vinoth Natarajan -X (vinnatar - WIPRO LIMITED at Cisco))
6. Re: Blocking users to raise a bugs - Help required
(Thorsten Sch?ning)
----------------------------------------------------------------------
Message: 1
Date: Tue, 26 Apr 2016 16:43:40 +0530
From: "R.Srinivasan" <
rsrin...@ebtech.biz>
To: <
support-...@lists.mozilla.org>
Subject: Help to understand
Message-ID: <005101d19fac$b3430440$19c90cc0$@
ebtech.biz>
Content-Type: text/plain; charset="us-ascii"
Dear Sir
I was trying to install and configure the Bugzilla for a demo to my management. Is the apache server is to be installed on the system in order to install the Bugzilla application. My Windows operating system is Windows
2008 with workgroup edition. Is the apache server can be installed. Can you kindly help.
Thanks & Regards
R.Srinivasan
Head-Resources (Human and Infrastructure)
cid:image0...@01CD518B.18635740
Enterprise Business Technologies Pvt. Ltd.
MUMBAI || DUBAI
13 & 14, Samruddhi Venture Park, 1st Floor, Central MIDC Road, MIDC - Andheri (East),Mumbai 400093, INDIA.
||
+91-22-67257310
||
http://www.seeklogo.com/images/S/Skype-logo-3966BB87B0-seeklogo.com.gi
||f
rsrinivsan||Web: <
http://www.ebtech.biz/>
www.ebtech.biz ||
Description: Description: Description: Description:
cid:image0...@01CC5D92.09553810 Description: Description: Description:
Description: cid:image0...@01CC5D92.09553810
cid:image0...@01CFED4A.7B94DCF0
http://www.ebtech.biz/images/partners/logo_elva.jpg
Infosoft-Nav-HospitalityPlatinum_White logo email
P Please consider the environment before printing this email This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which it is addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named.
If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Disclaimer:- Computer viruses can be transmitted by email.
Recipients should check this email for the presence of any viruses.
Enterprise Business Technologies Pvt. Ltd Will not accept any liability for any damage caused by any virus transmitted by this email.
------------------------------
Message: 2
Date: Tue, 26 Apr 2016 17:49:43 +0200
Subject: Re: Help to understand
Message-ID: <
559009856.20...@am-soft.de>
Content-Type: text/plain; charset=windows-1250
Guten Tag R.Srinivasan,
am Dienstag, 26. April 2016 um 13:13 schrieben Sie:
> I was trying to install and configure the Bugzilla for a demo to my
> management.
Demo system are available online as well:
http://landfill.bugzilla.org
> Is the apache server is to be installed on the system in order to
> install the Bugzilla application.
If this is a question: Yes.
https://bugzilla.readthedocs.org/en/5.0/installing/index.html
Mit freundlichen Gr??en,
Thorsten Sch?ning
--
Thorsten Sch?ning E-Mail: Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme
http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Gesch?ftsf?hrer: Andreas Muchow
------------------------------
Message: 3
Date: Tue, 26 Apr 2016 09:37:47 -0700
From: Chris Rose <
cr...@haascnc.com>
To: "
support-...@lists.mozilla.org"
<
support-...@lists.mozilla.org>
Cc: "
tscho...@am-soft.de" <
tscho...@am-soft.de>
Subject: Re: Bugzilla: Help with setting up RestAPI in ver 5.0.2
Message-ID:
<5BFAB0E355DD7945B0E21...@HAASEXMB.haasauto.local>
Content-Type: text/plain; charset="us-ascii"
Guten Tag Chris Rose,
am Montag, 25. April 2016 um 20:52 schrieben Sie:
> I just want to get the REST API working whatever I have to install.
Then simply install all optional modules.
> Again, all I need is the commands to type in at an Ubuntu command line
> to get the REST API setup correctly so it responds as I indicated above.
"sudo apt-get install ...", where ... is the name of the optional module
checksetup.pl tells you is missing. If apt doesn't provide a optional module,
checksetup.pl will tell you an alternative using
install-module.pl. Which name exactly you need per module is something you need to find using your search engine of choice, I don't know how the needed packages are named under your Ubuntu.
> So, when you say "you currently need to look at
> Bugzilla::Install::Requirements::OPTIONAL_MODULES for those needed for REST support".
You need to look there only if you don't want or are able to install all optional modules, simply because
checksetup.pl doesn't tell you which optional module is used for what currently. It only provides a list of optional modules without their purpose.
> And please have someone update the Bugzilla documentation
https://www.bugzilla.org/developers/reporting_bugs.html
> as not to confuse someone when it
> says the new REST API is the one to use; don't use BzAPI as it will be
> deprecated soon. Then in the following paragraph say the new REST API
> has not been shipped with new Bugzilla, and to use BzAPI. What!?
I can't read such statements from the docs, those are clearly saying to use the REST API and only additionally mention that a version 2 is under development currently.
https://bugzilla.readthedocs.org/en/5.0/integrating/apis.html#rest-v2
Mit freundlichen Gr??en,
Thorsten Sch?ning
--
Thorsten Sch?ning E-Mail: Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme
http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
------------------------------
Message: 4
Date: Tue, 26 Apr 2016 19:18:30 +0200
Message-ID: <
102572306.20...@am-soft.de>
Content-Type: text/plain; charset=windows-1250
Guten Tag Chris Rose,
am Dienstag, 26. April 2016 um 18:37 schrieben Sie:
> So the remaining problem
> Is how to setup rewrite on Ubuntu so when I type a URI without the
> 'CGI' extension it will work.? At least now I am able to issue GET requests.
That shouldn't be necessary, have a look at the bottom of the .htaccess file in your Bugzilla installation dir. Your web server only needs to provide mod_rewrite.
> However,, when I perform a PUT operation on a bug, the data is not
> updated even though Bugzilla RESTAPI reports no error: Do you know why
> this might be?
No, what does "not updated" mean? Do you don't get the expected return value or are no changes applied tot he DB?
> Currently, some fields are not tracked in changes: comment,
> comment_is_private, and work_time. This means that they will not show
> up in the return value even if they were successfully updated.
> This may change in a future version of Bugzilla.
https://bugzilla.readthedocs.org/en/5.0/api/core/v1/bug.html#update-bug
If the DB isn't updated, have a look at the web server logs, if there's nothing printed you need to debug Bugzilla's code path. Which isn't that easy because I think it still doesn't use any logging facility currently.
> Also, are they supported for Custom fields?
Not if it's not documented.
https://bugzilla.readthedocs.org/en/5.0/api/index.html#apis
Mit freundlichen Gr??en,
Thorsten Sch?ning
--
Thorsten Sch?ning E-Mail: Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme
http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Gesch?ftsf?hrer: Andreas Muchow
------------------------------
Message: 5
Date: Wed, 27 Apr 2016 09:47:08 +0000
From: "Vinoth Natarajan -X (vinnatar - WIPRO LIMITED at Cisco)"
<
vinn...@cisco.com>
To: "
support-...@lists.mozilla.org"
<
support-...@lists.mozilla.org>
Cc: "Satyavrat Prabhune \(prabhune\)" <
prab...@cisco.com>
Subject: Blocking users to raise a bugs - Help required
Message-ID: <
c601f6f376634050...@XCH-RCD-009.cisco.com>
Content-Type: text/plain; charset="us-ascii"
Hello,
We use Bugzilla as a bug tracking tool for our Cisco TMS, TMSXE, TMSPE and TMSXE products.
Our requirement now is to block users from raising bugs for this product in Bugzilla. May be a banner or label need to appear if a user selects any of these products.
Can you please help on this. I can provide any more details required.
Thanks,
Vinoth N
Release Manager | Cisco Video Infrastructure |
------------------------------
Message: 6
Date: Wed, 27 Apr 2016 12:03:20 +0200
Subject: Re: Blocking users to raise a bugs - Help required
Message-ID: <
853935024.20...@am-soft.de>
Content-Type: text/plain; charset=windows-1250
Guten Tag Vinoth Natarajan -X (vinnatar - WIPRO LIMITED at Cisco), am Mittwoch, 27. April 2016 um 11:47 schrieben Sie:
> Our requirement now is to block users from raising bugs for this
> product in Bugzilla.
https://bugzilla.readthedocs.org/en/5.0/administering/parameters.html#group-security
https://bugzilla.readthedocs.org/en/5.0/administering/groups.html
Mit freundlichen Gr??en,
Thorsten Sch?ning
--
Thorsten Sch?ning E-Mail: Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme
http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Gesch?ftsf?hrer: Andreas Muchow
End of support-bugzilla Digest, Vol 124, Issue 19
*************************************************