Http headers modification using Apache
Author Message
Posted : Sun, 27 April 2008 13:36:39
Subject : Http headers modification using Apache
Greetings, I want to create and change several heeders on http response, so I started dig in to it and I found that apache has module that can help me - mod_headers it was just what need and it looked very simple. After several “hurreeyyyy” I tried it and I saw that finally I can create my own headers! Then I wanted to change existing headers, and there I had some problems… and I don’t understand why. Is there anyone here that can help me? Lest say for example that I want to change the “Content-Length” this is what added in the conf file: header set Content-Length “100” and it didn’t help, I cant also to unset others headers… can anyone help me? Im working on fedora core 7 and apache 2.2.4
Shashank Sharma
Posted : Mon, 05 May 2008 09:46:09
Subject : Http headers modification using Apache
Why didn't you use "edit" instead of "set". I guess this should be more helpful: http://httpd.apache.org/docs/2.2/mod/mod_headers.html Cheers!
Peter
Posted : Fri, 16 May 2008 14:04:53
Subject : Re: Http headers modification using Apache
[quote]im working on fedora core 7 and apache 2.2.4[...][/quote] just a little note... fedora is no longer "core". As of version 7 it started to be just Fedora. =) ~ R [Modified by: rothschild on May 16, 2008 02:05 PM]