Making my web2py site use a default_application other than welcome on WebFaction.

Here are the steps on webfaction.

  1. $ cd ~/your_path_to_web2py/web2py
  2. $ cp routes.example.py routes.py #there is no routes.py at first
  3. [edit routes.py as follows
        line was: default_application = ‘init’    # ordinarily set in base routes.py
        line now: default_application = ‘other’   # ordinarily set in base routes.py
  4. $ cd ../apache2/bin
  5. $ ./restart