Hi Erick,On Tue, Dec 16, 2003 at 09:57:54AM +0000, Erick Paperdin wrote: > hi, > > i have this in my htdig.conf: > url_rewrite_rules: (.*)PHPSESSID=(.*) \\1 > > this just rejects all the URLs outright! if i change > that to the following, which is more correct: > url_rewrite_rules: (.*)\?PHPSESSID=(.*) \\1 > > then i get 15 different URLs of the SAME page with > different PHPSESSIDs! What are you trying? Do you want to a) get the URL from the beginning up to PHPSESSID or b) get the PHP session IDs? For a) it works for me like this: (try it with sed) sed -e "s/\(^.*\)PHPSESSID.*$/\1/" < $URL Yours, Martin -- -------------------------------------------------------- arago AG, Institut fuer komplexes Datenmanagement Am Niddatal 3, 60488 Frankfurt/Main, [EMAIL PROTECTED] Tel. 069/405680, Fax 069/40568111, http://www.arago.de --------------------------------------------------------
pgp00000.pgp
Description: PGP signature

