Re: [users@httpd] Re: Customizing the HTTP Reason Phrase

2021-03-06 Thread Lars Bruun-Hansen
Solved it ! The module was not loaded. This fixed it: LoadModule asis_modulemodules/mod_asis.so In my (feeble) defense I think I would have expected some warnings/errors in the log when referring to an unknown handler. (i.e. in SetHandler, AddHandler or in RewriteRule with "H" flag). For e

Re: [users@httpd] Re: Customizing the HTTP Reason Phrase

2021-03-05 Thread Tatsuki Makino
In most cases, mod_asis in httpd.conf will probably remain commented out. Everyone's favorite :), mod_cgi and mod_cgid, will be set to use it. Both mod_asis and mod_cgi use ap_scan_script_header_*, so the response code will change depending on the Status header. The special consideration of the S

Re: [users@httpd] Re: Customizing the HTTP Reason Phrase

2021-03-05 Thread Eric Covener
> > > < HTTP/1.1 200 OK > < Date: Fri, 05 Mar 2021 17:38:08 GMT > < Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips > < Last-Modified: Fri, 05 Mar 2021 17:38:04 GMT > < ETag: "99-5bccd8bdbc707" > < Accept-Ranges: bytes > < Content-Length: 153 > < Content-Type: text/html; charset=UTF-8 > < > Statu

[users@httpd] Re: Customizing the HTTP Reason Phrase

2021-03-05 Thread Lars Bruun-Hansen
Thank you for answering, Christophe. Appreciated. The ErrorDocument directive changes the *body* of an error message. This is not what I want. I want to change what is known in the HTTP protocol as "reason phrase". I'm not sure your Perl test is testing the right thing, but I have to admit that m

[users@httpd] Re: Customizing the HTTP Reason Phrase

2021-03-04 Thread Christophe JAILLET
Le 04/03/2021 à 21:15, Christophe JAILLET a écrit : Le 04/03/2021 à 08:20, Lars Bruun-Hansen a écrit : How do I customize the HTTP Reason Phrase ? Definition: The Reason Phrase is sent in an HTTP response on the very first line immediately following the status code, for example such line may

[users@httpd] Re: Customizing the HTTP Reason Phrase

2021-03-04 Thread Christophe JAILLET
Le 04/03/2021 à 08:20, Lars Bruun-Hansen a écrit : How do I customize the HTTP Reason Phrase ? Definition: The Reason Phrase is sent in an HTTP response on the very first line immediately following the status code, for example such line may look like this: HTTP/1.1 401 Unauthorized In this