Re: [users@httpd] Re: Overwriting redirect status code

2021-08-19 Thread alchemist vk
Hi Paul, Thanks for your note.. Sorry for the late reply as I was sick for few days. test_error_404.json is proper json file which gets responded whenever ErrorDocument 404 is executed. This I tested and verified. Only issue I am seeing is, when I make Redirect as 404 status code(*RewriteRule

Re: [users@httpd] Re: Overwriting redirect status code

2021-08-13 Thread Paul A
On 2021-08-13 9:59 a.m., alchemist vk wrote: Hi Eric, thanks for response. I dont think its getting generated from any other external redirect, as I have only this alone config in my apache configuration file. And regarding HTML response, I think this is standard HTML format from apache.

Re: [users@httpd] Re: Overwriting redirect status code

2021-08-13 Thread alchemist vk
Hi Eric, thanks for response. I dont think its getting generated from any other external redirect, as I have only this alone config in my apache configuration file. And regarding HTML response, I think this is standard HTML format from apache. On Fri, Aug 13, 2021 at 5:00 PM Eric Covener wrote:

Re: [users@httpd] Re: Overwriting redirect status code

2021-08-13 Thread Eric Covener
On Fri, Aug 13, 2021 at 12:54 AM alchemist vk wrote: > > Any suggestions on above query? I think the redirect comes from another part of the configuration. Neither R=404 nor ErrorDOcument /... generates an external redirect. -

[users@httpd] Re: Overwriting redirect status code

2021-08-12 Thread alchemist vk
Any suggestions on above query? On Wed, Aug 11, 2021 at 2:21 PM alchemist vk wrote: > Hi All, > As per https://httpd.apache.org/docs/2.4/rewrite/flags.html, [R] flag > can be used to redirect to new location, along with overwriting default 302 > status code. > I followed the same and with