wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Problem setting HTTP headers in Apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Problem setting HTTP headers in Apache" Watch "Problem setting HTTP headers in Apache" New topic

Problem setting HTTP headers in Apache

Steve Watson
Ranch Hand

Joined: Apr 08, 2003
Posts: 38
I am trying to set HTTP headers in Apache 1.3. I am trying to use the module mod_headers. In httpd.conf I uncommented:
LoadModule headers_module modules/mod_headers.so
and then added the lines:
<IfModule headers_module>
Header add Some-header some-value
I have a servlet that shows all the HTTP headers and my new header does not show up. What might I be doing wrong?
Consider Paul's rocket mass heater.
subject: Problem setting HTTP headers in Apache
Similar Threads
Configuring Apache Web Server with Tomcat
Retrieving headers with pageContext request.headerNames
Using mod_cache & mod_proxy Apache 2.2.9
Multiple Weblogic instances in Apache1.3
<META http-equiv="Expect" content="100-continue">