Re: [users@httpd] ErrorDocument not read with fcgid

2015-12-24 Thread Rose, John B
You may want to look at ... ProxyErrorOverride On Sent from my iPad > On Dec 24, 2015, at 11:17 AM, Xavier wrote: > >> On 24/12/2015 14:12, Luca Toscano wrote: >> Hi Xavier, >> >> mod_proxy shows a similar behaviour for HTTP error status codes >> (corrected >> by https://httpd.apache.org/doc

Re: [users@httpd] ErrorDocument not read with fcgid

2015-12-24 Thread Xavier
On 24/12/2015 14:12, Luca Toscano wrote: > Hi Xavier, > > mod_proxy shows a similar behaviour for HTTP error status codes > (corrected > by https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxyerroroverride). > > I believe that when the 403 is generated by fcgi and not by Apache > itself th

Re: [users@httpd] ErrorDocument not read with fcgid

2015-12-24 Thread Luca Toscano
Hi Xavier, mod_proxy shows a similar behaviour for HTTP error status codes (corrected by https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxyerroroverride ). I believe that when the 403 is generated by fcgi and not by Apache itself then the ErrorDocument is not used to avoid interfering wit

Re: [users@httpd] ErrorDocument not read with fcgid

2015-12-23 Thread Xavier
Hi, When fcgi file returns a 403 error, the error is displayed by Apache without redirection. When an error is detected on other files (missing file in static for example), the redirection acts perfectly. On 23/12/2015 17:06, Luca Toscano wrote: > Hi Xavier, > > what is the exact problem that yo

Re: [users@httpd] ErrorDocument not read with fcgid

2015-12-23 Thread Luca Toscano
Hi Xavier, what is the exact problem that you are seeing and what are you trying to achieve? The two error document directives should issue an HTTP redirect (to auth.example.com) according to https://httpd.apache.org/docs/2.4/custom-error.html#configuration, but given the port number I guess that

[users@httpd] ErrorDocument not read with fcgid

2015-12-22 Thread Xavier
Hi all, I'm trying to use ErrorDocument directive with mod_fcgid but it is not interpreted as it works fine for static documents. Here is my virtualhost conf: ErrorDocument 403 http://auth.example.com:19876/?lmError=403 ErrorDocument 404 http://auth.example.com:19876/?lmError=404 ServerNam