Actions
Bug #12077
closedBug #11836: sharedfile_to_node reports repaired even if it fails
In some cases the shared-file API returns 405 instead of 404
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
When we issue a HEAD on the shared-file api, we sometimes get a 405 error.
This is due to the version of mod_wsgi
mod_wsgi rewrites HEAD request to GET in some cases (don't know exactly when, but it depends on apache output filter, and breaks centos7 and not ubuntu 16)
Broken with wod_wsgi 3.4, works with mod_wsgi 4.3.0
GET requests here a rewritten HEAD, Real GET while be send at another location by a rewrite (cond and rule in rudder-apache-relay-ssl.conf file)
Some explanation: http://blog.dscpl.com.au/2009/10/wsgi-issues-with-http-head-requests.html
Some workaround: https://github.com/GrahamDumpleton/mod_wsgi/issues/2
We fixed the problem for the shared folder we must do the same for the shared-file api
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1491
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|299c2c4f1e6ed00d3994efd0160b6e0aa82b9b96.
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.
- 4.1.10: Announce Changelog
- 4.2.4: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions