Search code examples
pythonweb-applicationsweb2py

How to rename "/admin" to other URL in web2py?


web2py application administration is by default located on:

http://127.0.0.1:8000/admin/default/site

Is it possible to change "admin" to be something else (for example):

http://127.0.0.1:8000/appadmin/default/site

and if it is possible how that is achieved?


Solution

  • admin is just an app.

    On windows open windows explorer and go to \web2py\applications\ right click on "admin" folder an then click in rename.

    On Linux.

    cd path/to/web2py/applications
    mv admin newadmin