You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by elsergio <se...@telefonica.net> on 2008/08/08 13:47:11 UTC

[users@httpd] Changing headers with mod_headers

Hi,

Do you know if it is possible to modify http and https headers with the
mod_headers module ??

Thanks a lot,

Sergio
-- 
View this message in context: http://www.nabble.com/Changing-headers-with-mod_headers-tp18890471p18890471.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Changing headers with mod_headers

Posted by Rich Schumacher <ri...@gmail.com>.
>
> Hi,
>
> Do you know if it is possible to modify http and https headers with the
> mod_headers module ??
>
> Thanks a lot,
>
> Sergio
>

Yes, that is exactly what this module was created for.  I've recently used
this mod in conjunction with mod_rewrite to do some A/B testing with
different DocumentRoots.

For Apache 2.0, see
http://httpd.apache.org/docs/2.0/mod/mod_headers.htmlfor more
information.  The Apache 2.2 docs (
http://httpd.apache.org/docs/2.2/mod/mod_headers.html) have slightly more
information, but most of it is identical.

Cheers,
Rich