I checked Version 1.62.0 (2009-05-18 01:35:01) - look perfectly fine to me (and my proxy). Thank you !
To split a hair :-) I didn't see "routes.example.py" in the distribution zipfile. On 18 Mai, 01:53, mdipierro <mdipie...@cs.depaul.edu> wrote: > thanks for reporting this. I fixed it. The problem was indeed > > from gluon.tools import * > > was reimporting the wrong URL. It is fixed in google.code abd I am > trying to upload the fix on launchpad. I seem to have a problem > logging it today. Must be a problem on their side. > > Massimo > > On May 17, 5:38 pm, Bernd das Brot <b.b...@gmx.at> wrote: > > > > > applications/welcome/views/default/index.html: > > <a href='/admin'>{{=T("click here for the administrative interface")}} > > <br /> > > <a href='/examples'>{{=T("click here for online examples")}} > > > is definitly a bug. But > > > applications/welcome/views/default/users.html or > > welcome/views/web2py_ajax.html > > > look ok on the other hand, but do not seem to work - as if routes.py > > would be ignored: > > > The line in web2py_ajax.html goes: > > > <script src="{{=URL(r=request,c='static',f='jquery.js')}}" type="text/ > > javascript"></script> > > > but becomes > > > <script src="/welcome/static/jquery.js" type="text/javascript"></ > > script> > > > instead of > > > <script src="/prefix/welcome/static/jquery.js" type="text/ > > javascript"></script> > > > (using the routes.py from previous post). > > BTW - I just found a post "tools.py does not use rewrite.py wrapped URL > > ()" > > Could this be the same problem ? > > > On 17 Mai, 18:00, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > On May 17, 2:39 am, Bernd das Brot <b.b...@gmx.at> wrote: > > > > > Hello, > > > > I checked web2py Version 1.62 rc4 (2009-05-15 15:41:03) for my issue > > > > > "web2py alongside other applications, > > > > mod_proxy"http://groups.google.at/group/web2py/browse_thread/thread/c49124199d8... > > > > > to find it fixed (big thank you !) EXCEPT in the (new and cool) > > > > "welcome" application. It has lots of absolute URLs like href="/admin" > > > > in it - > > > > I do not see this anywhere. Can you please point me to it? > > > > > so if you use "routes.py" with a prefix: > > > > > routes_in = (('/prefix/(?P<a>.*)','/\g<a>'),) > > > > routes_out = (('/(?P<a>.*)','/prefix/\g<a>'),) > > > > > it completely breaks (it does not even find it' s Stylesheets...), the > > > > "admin"-Application looks fine, for example. > > > > > The safest way to test it is a proxy environment, if you directly > > > > connect to "localhost:8000/prefix/" you have to look carefully for > > > > URLs that > > > > do not start with /prefix (and so break). > > > > > On 15 Mai, 22:43, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > BTW... you can test the latest at > > > > > >http://www.web2py.com/examples/static/1.62rc2/web2py_src.ziphttp://ww... > > > > > > On May 15, 3:40 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > > Except for the web2py-as-windows as service issue, is there anything > > > > > > else I fogot to fix?- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---