[Resin-interest] Resin 4.0 equivalent for notfound
I know this is obvious and I am just overlooking it, but what would be the Resin 4.0 equivalent to the Resin 3.0 rewrite-dispatch not-found regexp=^.*/\.svn/.*$//not-found /rewrite-dispatch syntax? I don't see a resin:NotFound option. I don't want to resin:Deny because I don't even want people knowing we are using subversion. Thanks, Aaron ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 4.0 equivalent for notfound
On 08/09/2011 08:43 AM, Aaron Freeman wrote: I know this is obvious and I am just overlooking it, but what would be the Resin 4.0 equivalent to the Resin 3.0 rewrite-dispatch not-found regexp=^.*/\.svn/.*$//not-found /rewrite-dispatch syntax? I don't see a resin:NotFound option. I don't want to resin:Deny because I don't even want people knowing we are using subversion. I've added it as a bug report at http://bugs.caucho.com/view.php?id=4705. You should be able to work around this with resin:SendError code=404/ -- Scott ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 4.0 equivalent for notfound
On 8/9/2011 11:09 AM, Scott Ferguson wrote: resin:SendError code=404/ Oh cool, I'll give that a go. I should have updated to teh Resin 4.0 equivalents long ago! An interesting point ... if you still have rewrite-dispatch.../rewrite-dispatch it can completely take precedence over the resin:... rules if you aren't careful -- causing the resin: rules not to work properly even if they come before the rewrite-dispatch rules. I just ran into that .. not a single one of the resin: stuff would work, then when I commented out all of my rewrite-dispatch rules suddenly ALL the resin: rules started working properly. I think it was just matching on the rewrite-dispatch stuff first regardless of whether there were resin: rules before or after it and I have a catch-all in the rewrite-dispatch rules. -a ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest