Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 382
- Log:
Remove PATH_PREFIX stuff, since Apache+Passenger doesn't need it.
- Author:
- rool
- Date:
- Mon Mar 21 14:09:15 +0000 2011
- Size:
- 2301 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 | # Rails Gem Version |
8 | RAILS_GEM_VERSION = '1.2.6' unless defined? RAILS_GEM_VERSION |
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 = '/viewer' |
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 | # Skip frameworks that are not used. |
36 | |
37 | # config.frameworks -= [ :action_web_service, :action_mailer, :active_record ] |
38 | config.frameworks -= [ :action_web_service, :action_mailer ] |
39 | |
40 | # Force all environments to use the same logger level |
41 | # (by default production uses :info, the others :debug). |
42 | |
43 | config.log_level = :warn |
44 | end |
45 | |
46 | # Allow multiple Rails applications by giving the session cookie a |
47 | # unique prefix. In this application the ApplicationController class |
48 | # turns sessions off (at the time of writing, 22-Aug-2006) anyway, |
49 | # but in future sessions may be used again in which case the line |
50 | # below will be important. |
51 | |
52 | ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = 'rcvswebapp_session_id' |