On Feb 24, 2011, at 12:30 AM, Kimmo wrote:
>
> So far I've only found one minor problem with this.
>
> In my example above, the links to other apps in the admin app wont
> work.
> For example clicking the app2 should redirect to www.myhost.com/subdir/app2,
> but it redirects to www.myhost.com/app2 and results to Not Found.
> Other than that, all editing works fine.
>
> I tried to edit routes.py for admin like this, but it didn't have any
> effect on the link.
> routes_out = (('/app2/$any', '/subdir/app2/$any'),)
Use $anything instead of $any.
(and remember to restart web2py after the change)