Bug 28350 - REST API no more working
Summary: REST API no more working
Status: RESOLVED FIXED
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: unspecified
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-11 21:44 CET by Manuel Hiebel
Modified: 2021-02-11 23:35 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Manuel Hiebel 2021-02-11 21:44:58 CET
the tchat irc bot [mbot use the rest API to get status, assigned, etc
https://bugs.mageia.org/rest/bug/25000

But looks between 05/02 and 09/02 it stopped working

related to the issue we got at this time with webserver ?
Manuel Hiebel 2021-02-11 21:45:14 CET

CC: (none) => LpSolit

Comment 1 Frédéric "LpSolit" Buclin 2021-02-11 21:51:19 CET
Looks like Apache ignores .htaccess in the bugzilla/ root directory:

  RewriteRule ^rest/(.*)$ rest.cgi/$1 [NE]


This URL works:

https://bugs.mageia.org/rest.cgi/bug/25000


Maybe httpd.conf has not been updated correctly to read .htaccess files from Bugzilla. A sysadmin is needed to check this.
Comment 2 Frédéric "LpSolit" Buclin 2021-02-11 22:24:59 CET
Fixed

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 3 Thomas Backlund 2021-02-11 22:31:21 CET
sorry, 
when I synced data and re-mounted /usr/share/bugzilla on new disks I forgot to sync .htaccess
Comment 4 Frédéric "LpSolit" Buclin 2021-02-11 23:35:43 CET
But now another problem is visible: all labels are missing in front of fields. The log shows problems with permissions to access templates. No idea why.

Note You need to log in before you can comment on or make changes to this bug.