Re: [users@httpd] HTTP Server header

2012-04-09 Thread Igor Cicimov
Ah looks like it's not possible actually to completely switch this header off: ServerTokens Major|Minor|Min|Prod|OS|Full So the most you can get from it is the Prod option which gives you Server: Apache instead of Server: Apache/2.4.1 (Unix) OpenSSL /1.0.0-fips when the value is set to Full.

Re: [users@httpd] HTTP Server header

2012-04-09 Thread Igor Cicimov
Switch off the ServerTokens in your configuration. On Mon, Apr 9, 2012 at 8:58 PM, Evgeny Shvidky wrote: > Hi, > > ** ** > > I am trying to set a "Server" http header to my value in > "request->headers_out" field but after http response is transmitted I see > that Apache changed "Server" h

Re: [users@httpd] design of authentication pages in http server

2012-04-09 Thread Sivaraman V
Tom Evans-3 wrote: > > On Mon, Mar 26, 2012 at 8:42 PM, Sivaraman V wrote: >> >> Dear All, >> >> I am trying to create a java web application in which the authentication >> part should be handled purely by apache http server. >> >> On opening the front page of the application, the content shou

Re: [users@httpd] How to set the http response code for an error message

2012-04-09 Thread Jeff Trawick
On Mon, Apr 9, 2012 at 10:05 AM, Evgeny Shvidky wrote: > Hi, > > I want to generate a new HTTP error code. > I set in request->status a new opcode and I added in conf file next line " > ErrorDocument 449 /449.html" > Error 449 is MS-ActiveSync protocol error. > But... I receive next error from Ap

Re: [users@httpd] Serving pre-compressed static content using httpd 2.2.x

2012-04-09 Thread Rainer Jung
Hi Chris, On 28.03.2012 23:10, Christopher Schultz wrote: All, Replying to see if I can get a response. Anyone? Thanks, -chris On 3/22/12 3:10 PM, Christopher Schultz wrote: ... If I don't use content-negotiation, I can use mod_rewrite to fake it: it's a lot easier to just look for Accept-

RE: [users@httpd] How to set the http response code for an error message

2012-04-09 Thread Evgeny Shvidky
Hi, I want to generate a new HTTP error code. I set in request->status a new opcode and I added in conf file next line " ErrorDocument 449 /449.html" Error 449 is MS-ActiveSync protocol error. But... I receive next error from Apache "Unsupported HTTP response code 449". Thanks, Evgeny -Orig

Re: [users@httpd] How to set the http response code for an error message

2012-04-09 Thread Eric Covener
On Mon, Apr 9, 2012 at 8:12 AM, Evgeny Shvidky wrote: > I have a custom error message that I set into the request by "ap_rputs" > function. set r->status to the status code and continue to return OK. - To unsubscribe, e-mail: us

[users@httpd] How to set the http response code for an error message

2012-04-09 Thread Evgeny Shvidky
Hi, I have a custom error message that I set into the request by "ap_rputs" function. Stillthe page returns http 200. How do I set it to a specific error code? Thanks, Evgeny

Re: [users@httpd] How to enable deflate content-encoding with Apache2 mod_deflate?

2012-04-09 Thread Eric Covener
On Mon, Apr 9, 2012 at 2:43 AM, howard chen wrote: > No matter how I test using different value of Accept-Encoding, it > always returned as gzip. > > > curl -I -H  'Accept-Encoding: gzip' http://www.example.com > Content-Encoding: gzip > > > curl -I -H  'Accept-Encoding: deflate' http://www.exampl

[users@httpd] HTTP Server header

2012-04-09 Thread Evgeny Shvidky
Hi, I am trying to set a "Server" http header to my value in "request->headers_out" field but after http response is transmitted I see that Apache changed "Server" header value to "Apache/2.4.1 (Unix) OpenSSL /1.0.0-fips". How can I configure Apache server not to set its own "Server" header? T