GeeCON Prague 2014*
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


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Problem setting HTTP headers in Apache" Watch "Problem setting HTTP headers in Apache" New topic
Author

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
</IfModule>
I have a servlet that shows all the HTTP headers and my new header does not show up. What might I be doing wrong?
Steve
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem setting HTTP headers in Apache