Hey Salih, You should use mod_headers. http://httpd.apache.org/docs/2.2/mod/mod_headers.html
Cheers, Christian -----Ursprüngliche Nachricht----- Von: Mohammed Salih [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. April 2008 14:09 An: users@httpd.apache.org Betreff: [EMAIL PROTECTED] Adding a Header to the httpd response Hi All, How can I add a header, if it is not set by the application. I want to add Cache-Control header to all http responses, if it is not set by the back-end application like PHP or application server like tomcat. I tried a combination of SetEnvIf and Header, but SetEnvIf is only fused for requests. Can any one please guide me in the right path? (Sorrmy English is poor) Thanks in advance. Salih --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]