Basically, what I want is to instruct web2py that <absolute/path/to/ folder> should be treated as if it were <web2pyroot/applications/ someapp>, so i would be able to use the admin interface and run that app in the web server without the need to store the applicacion files into the applications web2py path.
I see that routes.py has configurable parameters to make "URL rewrite", but i believe it cannot be used to change the application system folder On 15 dic, 11:16, lyn2py <[email protected]> wrote: > Have you looked at > routes.py?http://web2py.com/book/default/chapter/04#URL-Rewrite > > Or did I misunderstand your question? > > On Dec 15, 8:47 pm, Alan Etkin <[email protected]> wrote: > > > I was looking in the book for an option to change the default path of > > a web2py application folder, so when using appadmin to modify it or > > requesting actions from a browser makes web2py use another folder than > > the original /.../applications/app path. > > > I found the "Execution environment" section but i think it's not > > appropiate for the case (it is inteded to run actions from other apps, > > for example, but I don't think it can be used for changing the app > > default folder) > > > Is there any feature that can help changing the default app's path?. > > > In other thread Massimo suggested to use symbolic links, but my > > application is intended for an audience with Windows machines, and > > creating symbolic links from Python i believe is not supported for > > that systems. Also there is the possibility to call system commands > > within the python script to create that symbolic link, but i am trying > > to avoid using that method so the app is more portable (i.e. it can be > > easily installed in different machines). > > > I would appreciate any advice or suggestions on this matter. > >

