On Fri, 2003-04-04 at 09:18, Stefan Schwarzer wrote:
> A note: I meant, the "official" target URL should be /public/de/news/1 .
> Then there's an internal rewrite with
> 
>     RewriteRule 
> ^(/(public|user)/(de|en)/(institution|news|event|image|rawimage))/(.*) \
>                 $1?id=$5 [L,PT]
> 
> which works without problems.
> 
> > 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?
> 
> As a test - without the rewrite rule above - I tried
> 
> RewriteRule ^/(public|user)/zeige_pm.html /$1/de/news [L,PT]
> 
> This should do a first internal forward; news?pmid=1 would then send a
> redirect to location /$1/de/news/1 .

Are you trying to chain these two rules?  In that case you shouldn't
have an L option, and you should make sure the second rewrite rule comes
before the first.

  Ian




-------------------------------------------------------
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

Reply via email to