ntang (ntang) wrote,

Tech question - webservers

So, here's a question. We've modified the apache source on some of our servers to strip down the Content-type: header from this:

Content-type: text/html; charset=ISO-8990


Content-type: text/html

Is that a.) a problem in any way, and b.) is there a way to do it without modifying the source? I know some things (like keepalives) are very touchy about what headers you modify; we couldn't find anything that seemed to require the charset option for Content-type, but there's also no easy way (that I could find) to remove it - so that might indicate that you aren't supposed to remove it.

(For instance, you can remove a lot of the other stuff by adding "ServerTokens Prod" to your apache conf file, so I wonder why there's no way to strip the charset out - or did I just miss it?)

  • Where I am nowadays

    I haven't updated this in a million years... in case you're wondering why, it's because I've mostly moved on to other places. You can find my…

  • DSL

    I've been a loyal Megapath customer for years. (Something like 8 or 10, crazy, in that range...) They've had great service (and a great service -…

  • MySQL failover

    So we're running some MySQL at work, which is a little unusual for us, but is probably long overdue. (Specifically, it's for some Wordpress…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded