Ticket #2394 (closed defect: fixed)
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: | |
| Cc: |
Description
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
Note: See
TracTickets for help on using
tickets.