GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 19-Jul-2006, 02:55
alanchz alanchz is offline
New Member
 
Join Date: Jul 2006
Posts: 1
alanchz is on a distinguished road

How to Remove some special HTTP Headers by module?


My purpose is to write a apache module to remove all the default HTTP headers. I tried to use mod_headers, but some specific headers still can't be removed, [Server] [Date] [Content-Length] [Content-Type]. So could anyone please tell me a way to do so?

ps. I have successfully add a "MyHeader" using mod_headers.

My apache web server version is 2.0.58

below is what I have done:

~in httpd.conf~
....
LoadModule headers_module modules/mod_headers.so
....
<Location /chz>
Header unset Server
Header unset Date
</Location>

Thanks for your response : )
 
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User defined headers davis Miscellaneous Programming Forum 6 16-Feb-2006 18:40

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:30.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.