> I'd keep trying on the rewrite -- obviously this is a URL
> backward-compatibility hack, and mod_rewrite is good for
> that. What
> were you trying for your RewriteRule?
I was about to send this out, so I'll agree with Ian. Are
you using mod_rewrite to map your servlets as well (ie, is
that taking preference over this backwards compatibility
rule?) To expand, I would expect the rewrite rule to look
something like:
(Note: Querystring parsing is very mucky in mod_rewrite, so
I would suggest if it is possible for your new servlet to
accept the same get-variables? ie, in the servlet accept
'pmid' as an alternative to 'id'. If yes, then:)
RewriteRule ^/public/page\.html ^/public/de/otherpage [L,PT]
(If not, then perhaps.....)
RewriteCond %{QUERY_STRING} pmid=([^&]*)
RewriteRule ^/public/page\.html ^/public/de/otherpage?id=%1
[L,PT,QSA]
(Since %1 let's you refer to backreferences in the previous
RewriteCond, and RewriteCond let's you access the
QueryString. QSA flag forces it to let you modify the
QueryString in the RewriteRule and append instead of
overwrite.)
- Luke
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss