Apache Forwarding Requests To Crowd Reports Error Code 417
症状
Apache server is forwarding application requests to Crowd. However the requests fail with the following error:
ERROR [xfire.transport.http.HttpChannel] Server returned error code = 417 for URI : https://your_domain/crowd/services/SecurityServer. Check server logs for details
原因
The Apache server does not support the HTTP header Expect
, which was added by the client application to the requests.
ソリューション
Use mod_header to remove the Expect
header from the requests:
1. Edit your Apache configuration file (usually the httpd.conf
file) by adding the following line:
LoadModule headers_module modules/mod_headers.so
2. Add the following lines to the same configuration file:
<IfModule mod_headers.c>
RequestHeader unset Expect early
</IfModule>
Last modified on Mar 16, 2015
Powered by Confluence and Scroll Viewport.