Hi,
this is Bernd, the guy with "routes.py" like
routes_in = (('/prefix/(?P<a>.*)','/\g<a>'),)
routes_out = (('/(?P<a>.*)','/prefix/\g<a>'),)
to have web2py alongside other web applications - and therefore
finding "dirty" URLs ;-)
The very cool "Ajax Shell" from http://mdp.cti.depaul.edu/appliances
works fine after
changing <application>/views/default/index.html:
OLD:
<script type="text/javascript" src="/{{=request.application}}/static/
terminal.js"></script>
<script type="text/javascript" src="/{{=request.application}}/static/
jsterm.js"></script>
NEW:
<script type="text/javascript" src="{{=URL
(r=request,c='static',f='terminal.js')}}"></script>
<script type="text/javascript" src="{{=URL
(r=request,c='static',f='jsterm.js')}}"></script>
Have fun, Bernd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---