tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: mod_headers and .htaccess for P3P policy
Date Wed, 07 Jan 2009 18:16:58 GMT
On Wed, Jan 7, 2009 at 5:49 AM, Sergio Arrighi
<sergio.arrighi@iminholding.com> wrote:

> I'm using apache 6 on a Windows server machine.

> I've read on the internet that this is possible using .htaccess file in the
> webapp directory.

You've read wrong :-)  '.htaccess' files are used with Apache httpd,
/not/ Apache Tomcat.

However, you can add headers via code in your JSPs, servlets, or
cover the whole app with a Filter.

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message