Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Jean-Philippe Lang
- Tue, 21 Nov 2006 19:09:40
Show More
0
redmine/public/dispatch.cgi
redmine/public/dispatch.cgi
+1
-1
@@
-1,10
+1,10
1
#!e:/ruby/bin/ruby
1
#!/us r/bin/ruby
2
2
3
3
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
4
4
5
5
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
6
6
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
7
7
require "dispatcher"
8
8
9
9
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
10
10
Dispatcher.dispatch
No newline at end of file
0
redmine/public/dispatch.fcgi
redmine/public/dispatch.fcgi
+1
-1
@@
-1,24
+1,24
1
#!e:/ruby/bin/ruby
1
#!/us r/bin/ruby
2
2
#
3
3
# You may specify the path to the FastCGI crash log (a log of unhandled
4
4
# exceptions which forced the FastCGI instance to exit, great for debugging)
5
5
# and the number of requests to process before running garbage collection.
6
6
#
7
7
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
8
8
# and the GC period is nil (turned off). A reasonable number of requests
9
9
# could range from 10-100 depending on the memory footprint of your app.
10
10
#
11
11
# Example:
12
12
# # Default log path, normal GC behavior.
13
13
# RailsFCGIHandler.process!
14
14
#
15
15
# # Default log path, 50 requests between GC.
16
16
# RailsFCGIHandler.process! nil, 50
17
17
#
18
18
# # Custom log path, normal GC behavior.
19
19
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
20
20
#
21
21
require File.dirname(__FILE__) + "/../config/environment"
22
22
require 'fcgi_handler'
23
23
24
24
RailsFCGIHandler.process!
0
redmine/public/dispatch.rb
redmine/public/dispatch.rb
+1
-1
@@
-1,10
+1,10
1
#!e:/ruby/bin/ruby
1
#!/us r/bin/ruby
2
2
3
3
require File . dirname ( __FILE__ ) + "/../config/environment" unless defined? ( RAILS_ROOT )
4
4
5
5
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
6
6
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
7
7
require "dispatcher"
8
8
9
9
ADDITIONAL_LOAD_PATHS . reverse . each { | dir | $: . unshift ( dir ) if File . directory? ( dir ) } if defined? ( Apache :: RubyRun )
10
10
Dispatcher . dispatch
No newline at end of file
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages