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
Actions