According to S�bastien GALLET:
> I've got some problems indexing my dynamic pages ...
> After looking at mail archives, i think i must use the url_rewrite_rules 
> configuration parameter ...
> But all my attempts fails
> 
> My pages looks like
> http://tomcat.ibonet:8180/gallet.info/package/index.do;jsessionid=2156C65C9250CFAF16DC14B79A2B100E
> http://tomcat.ibonet:8180/gallet.info/package/index.do;jsessionid=7BAEAE82E9C4E292008273DF159524F8?section=info&deb=pool/main/sarge/samba3/samba3_3.0.4-29_i386.deb
> 
> and i want to remove the jsessionid=XXXXXXXXXXXXX
> How can i do that ?

This attribute setting should do the trick...

url_rewrite_rules:  (.*)jsessionid=[0-9A-Fa-f]*(.*)   \\1\\2

This assumes you want to keep the semi-colon in place in the URL.  If you
want to strip that out too, just add it to the line above, just before
"jsessionid".  Note that url_rewrite_rules rewrites URLs before they are
fetched by htdig, so this will work only if your dynamic pages can be
downloaded by htdig without any session ID in the URL.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to