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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s