Re: Specific kind of 404 handling

2022-03-28 Thread Andrew Smalley
Hi Shawn Thank you for your response saying you got everything working with default errorfiles on a 404 error. . Happy to see that resolved the issues for you. Andruw Smalley Loadbalancer.org Ltd. www.loadbalancer.org +1 888 867 9504 / +44 (0)330 380 1064 asmal...@loadbalancer.org Leave a

Re: Specific kind of 404 handling

2022-03-28 Thread Shawn Heisey
On 3/28/22 03:21, Andrew Smalley wrote: Now the unknown host header,, you want this.com and the user requests that.com and now what do we do? add a host header? reject by host header Handling invalid host headers like I want was already done, by the default virtualhost in Apache. I managed

Re: Specific kind of 404 handling

2022-03-28 Thread Andrew Smalley
Hi Shawn If I read your question right then you wan to serve other content on an error, say 404 as a not found,. haproxy has the ability to serve either error files of its own or use_server or use_backend on error as an ACL Below is an example error file and these need to be crafted, ill add a