Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 158
- Log:
Reconfigured all applications for use in the ROOL account with its
new layout. All files are set up for the development branch of the
filesystem. Caught up in this changeset is an unrelated modification
to the directory listing routine in Radiant, which now sorts the
entries alphabetically.
- Author:
- rool
- Date:
- Sun Dec 10 19:28:59 +0000 2006
- Size:
- 2522 Bytes
1 | # Be sure to restart your web server when you modify this file. |
2 | |
3 | # Uncomment below to force Rails into production mode when |
4 | # you don't control web/app server and can't set it the proper way |
5 | # ENV['RAILS_ENV'] ||= 'production' |
6 | |
7 | # Specifies gem version of Rails to use when vendor/rails is not present |
8 | #RAILS_GEM_VERSION = '1.1.5' |
9 | |
10 | # Bootstrap the Rails environment, frameworks, and default configuration |
11 | require File.join(File.dirname(__FILE__), 'boot') |
12 | |
13 | # Location of application relative to document root in terms of |
14 | # URLs (i.e. according to the web server configuration, not the |
15 | # filesystem location) and location in the filesystem, rather than |
16 | # according to the Web server, of the CVSweb and CVShistory scripts. |
17 | # Next up is the filesystem location of CVSLog2Web output and the |
18 | # path to use for URLs for CVShistory - the bit up to and including |
19 | # the ".cgi", before the query string is appended, excluding the |
20 | # host. The host is taken from ENV['SERVER_ADDR']. If the request |
21 | # uses port DEVEL_HTTPS_PORT, it is switched to DEVEL_HTTP_PORT for |
22 | # a normal HTTP request. If the port is already DEVEL_HTTP_PORT it |
23 | # is left alone, again for a normal HTTP request. Otherwise, the |
24 | # port is reset to 80. |
25 | |
26 | PATH_PREFIX = ENV['RAILS_RELATIVE_URL_ROOT'] |
27 | CVSWEB_LOCATION = '/home/rool/devel/perl/cvsweb/cvsweb.cgi' |
28 | CVSHISTORY_LOCATION = '/home/rool/devel/python/cvshistory/cvshistory.cgi' |
29 | CVSLOG2WEB_OUTPUT = '/home/rool/devel/python/cvslog2web/public' |
30 | CVSLOG2WEB_PREFIX = '/python/cvshistory/cvshistory.cgi' |
31 | DEVEL_HTTP_PORT = '25080' |
32 | DEVEL_HTTPS_PORT = '25081' |
33 | |
34 | Rails::Initializer.run do |config| |
35 | # We don't run in the document root, so images etc. must come from |
36 | # a non-root location too. Hijack the 'asset host' facility to get |
37 | # helper-based links pointing in the right place. |
38 | |
39 | config.action_controller.asset_host = PATH_PREFIX |
40 | |
41 | # Skip frameworks that are not used. |
42 | |
43 | config.frameworks -= [ :action_web_service, :action_mailer, :active_record ] |
44 | |
45 | # Force all environments to use the same logger level |
46 | # (by default production uses :info, the others :debug). |
47 | |
48 | config.log_level = :warn |
49 | end |
50 | |
51 | # Allow multiple Rails applications by giving the session cookie a |
52 | # unique prefix. In this application the ApplicationController class |
53 | # turns sessions off (at the time of writing, 22-Aug-2006) anyway, |
54 | # but in future sessions may be used again in which case the line |
55 | # below will be important. |
56 | |
57 | ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = 'rcvswebapp_session_id' |