Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2394 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

Configuration value "base_config.serve_static" sthould be set in *.ini files rather than in "app_cfg.py" file

Reported by: martin.vejmelka Owned by:
Priority: normal Milestone: 2.1b2
Component: TurboGears Version: 2.0.3
Severity: normal Keywords:


The configuration value "base_config.serve_static" can be set in app_cfg.py file. This option is rather deployment specific than application configuration specific.

Use case: I am developing my application on my computer and don't want to set up Apache alias for my working 'public' directory (have multiple branches, etc...), so I am using paster server. Than I want to install my application to production machine, which is set up to have served static files by Apache (for performance reasons).

Change History

comment:1 Changed 10 years ago by jorge.vargas

  • Milestone changed from __unclassified__ to 2.1

comment:2 Changed 9 years ago by percious

  • Milestone changed from 2.1 to 2.1b2

comment:3 Changed 9 years ago by percious

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.