For the remarks see below:

> -----Ursprüngliche Nachricht-----
> Von: Tassilo Pilati [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 17. April 2001 17:47
> An: [EMAIL PROTECTED]
> Betreff: Tomcat with Apache/URLRewritting and mod_rewrite
<snip/>
> <IfModule mod_rewrite.c>
>   RewriteEngine On
>   RewriteRule  ^(/.*;jsessionid=.*)$  $1  [T=jserv-servlet]
> </IfModule>
<snip/>
The mod_rewrite must be loaded to enable the rule. (e.g.: 
LoadModule rewrite_module /usr/local/apache/lib/mod_rewrite.so)

<snip/>
> I also was wondering what the [T=jserv-servlet] means ?
<snip/>

>From the mod_rewrite documentation:

'type|T=MIME-type' (force MIME type)
  Force the MIME-type of the target file to be MIME-type. For 
  instance, this can be used to simulate the mod_alias directive 
  ScriptAlias which internally forces all files inside the 
  mapped directory to have a MIME type of 
  ''application/x-httpd-cgi''. 

Reply via email to