Re: [Resin-interest] Conditionalizing rewrite rules based on file/directory?

2010-03-22 Thread Aaron Freeman
On this link there is resin:IfFileExists tag, but I am thinking what you want to do is more simple than that, if you want to elaborate: http://caucho.com/resin-4.0/admin/http-rewrite.xtp Aaron On 3/21/2010 3:03 PM, Rick Mann wrote: With my WordPress installation, I need to redirect some

[Resin-interest] Conditionalizing rewrite rules based on file/directory?

2010-03-21 Thread Rick Mann
With my WordPress installation, I need to redirect some kinds of posts to /index.php. I currently have these two rules: forward regexp=[0-9]+/.* target=/index.php/ forward regexp=^/about/? target=/index.php/ The first redirects URIs that match /year/month/post-name The second