Bug 28350

Summary: REST API no more working
Product: Infrastructure Reporter: Manuel Hiebel <manuel.mageia>
Component: BugzillaAssignee: Sysadmin Team <sysadmin-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: LpSolit, sysadmin-bugs
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

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.