Mohit Anchlia wrote:
On Tue, Aug 9, 2011 at 1:30 AM, Pid <p...@pidster.com> wrote:
On 08/08/2011 20:36, Mohit Anchlia wrote:
I need to re-write URL using some Http Headers. Can I use any headers?
Or only the one listed here?
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
Is HTTP_HOST always set? I printed headers of my servlet and this is
what I see. I used getHeaders and iterate over it:
Is this a Tomcat or an HTTPD question?
tomcat. As I understand tomcat support URL Rewriting similar to mod_rewrite.
No. Strictly speaking, it does not.
You can write code yourself to do that, the tools exist in Tomcat.
Or you can use external software add-ons, like at http://www.tuckey.org, to do
that.
But this is not Tomcat code.
mod_rewrite on the other hand, is a module that is integral to Apache httpd (which is not
Tomcat). And you should understand this pretty well, considering the URL
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
to which you refer above.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org