passenger 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +7 -4
- data/bin/passenger-install-apache2-module +3 -1
- data/doc/Users guide.html +1 -1
- data/doc/cxxapi/ApplicationPoolClientServer_8h-source.html +1 -1
- data/doc/cxxapi/ApplicationPoolServer_8h-source.html +497 -496
- data/doc/cxxapi/ApplicationPool_8h-source.html +1 -1
- data/doc/cxxapi/Application_8h-source.html +1 -1
- data/doc/cxxapi/Configuration_8h-source.html +2 -2
- data/doc/cxxapi/DummySpawnManager_8h-source.html +1 -1
- data/doc/cxxapi/Exceptions_8h-source.html +1 -1
- data/doc/cxxapi/Hooks_8h-source.html +1 -1
- data/doc/cxxapi/Logging_8h-source.html +1 -1
- data/doc/cxxapi/MessageChannel_8h-source.html +224 -198
- data/doc/cxxapi/SpawnManager_8h-source.html +1 -1
- data/doc/cxxapi/StandardApplicationPool_8h-source.html +1 -1
- data/doc/cxxapi/Utils_8h-source.html +1 -1
- data/doc/cxxapi/annotated.html +1 -1
- data/doc/cxxapi/classClient-members.html +1 -1
- data/doc/cxxapi/classClient.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1IOException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1IOException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1MessageChannel.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnManager.html +1 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SystemException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SystemException.html +1 -1
- data/doc/cxxapi/definitions_8h-source.html +1 -1
- data/doc/cxxapi/files.html +1 -1
- data/doc/cxxapi/functions.html +1 -1
- data/doc/cxxapi/functions_func.html +1 -1
- data/doc/cxxapi/functions_type.html +1 -1
- data/doc/cxxapi/graph_legend.html +1 -1
- data/doc/cxxapi/graph_legend.png +0 -0
- data/doc/cxxapi/group__Configuration.html +3 -3
- data/doc/cxxapi/group__Configuration.png +0 -0
- data/doc/cxxapi/group__Core.html +1 -1
- data/doc/cxxapi/group__Core.png +0 -0
- data/doc/cxxapi/group__Exceptions.html +1 -1
- data/doc/cxxapi/group__Hooks.html +1 -1
- data/doc/cxxapi/group__Hooks.png +0 -0
- data/doc/cxxapi/group__Support.html +1 -1
- data/doc/cxxapi/hierarchy.html +1 -1
- data/doc/cxxapi/inherit__graph__0.png +0 -0
- data/doc/cxxapi/inherit__graph__1.png +0 -0
- data/doc/cxxapi/inherit__graph__2.png +0 -0
- data/doc/cxxapi/inherit__graph__3.png +0 -0
- data/doc/cxxapi/inherit__graph__4.png +0 -0
- data/doc/cxxapi/inherit__graph__5.png +0 -0
- data/doc/cxxapi/inherit__graph__6.png +0 -0
- data/doc/cxxapi/inherit__graph__7.png +0 -0
- data/doc/cxxapi/inherit__graph__8.png +0 -0
- data/doc/cxxapi/inherit__graph__9.png +0 -0
- data/doc/cxxapi/inherits.html +1 -1
- data/doc/cxxapi/main.html +1 -1
- data/doc/cxxapi/modules.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +1 -1
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/DEVELOPERS_TXT.html +1 -1
- data/doc/rdoc/files/ext/passenger/native_support_c.html +1 -1
- data/doc/rdoc/files/lib/passenger/abstract_server_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/application_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/dependencies_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/framework_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/request_handler_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/spawn_manager_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/utils_rb.html +1 -1
- data/ext/apache2/Configuration.h +1 -1
- data/ext/apache2/MessageChannel.h +37 -11
- data/ext/passenger/native_support.c +36 -10
- data/lib/passenger/templates/app_exited_during_initialization.html.erb +3 -2
- data/lib/passenger/templates/welcome.txt.erb +1 -1
- data/misc/render_error_pages.rb +3 -0
- data/test/stub/{mycook → rails_apps/mycook}/config/environments/test.rb +0 -0
- metadata +12 -14
- data/test/stub/apache2/httpd.conf +0 -75
- data/test/stub/railsapp-without-version-spec/config/environments/test.rb +0 -22
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
ServerRoot "/home/hongli/Projects/mod_rails/test/stub/apache2"
|
|
2
|
-
Listen 127.0.0.1:64506
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
User ninh
|
|
6
|
-
Group ninh
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
LoadModule unique_id_module "/usr/lib/apache2/modules/mod_unique_id.so"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
LoadModule mime_module "/usr/lib/apache2/modules/mod_mime.so"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
LoadModule dir_module "/usr/lib/apache2/modules/mod_dir.so"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
LoadModule alias_module "/usr/lib/apache2/modules/mod_alias.so"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
LoadModule rewrite_module "/usr/lib/apache2/modules/mod_rewrite.so"
|
|
24
|
-
|
|
25
|
-
LoadModule passenger_module "/home/hongli/Projects/mod_rails/ext/apache2/mod_passenger.so"
|
|
26
|
-
|
|
27
|
-
RailsSpawnServer "/home/hongli/Projects/mod_rails/bin/passenger-spawn-server"
|
|
28
|
-
RailsRuby "/usr/bin/ruby1.8"
|
|
29
|
-
RailsEnv production
|
|
30
|
-
|
|
31
|
-
TypesConfig "/home/hongli/Projects/mod_rails/test/stub/apache2/mime.types"
|
|
32
|
-
<IfModule mpm_prefork_module>
|
|
33
|
-
StartServers 1
|
|
34
|
-
MinSpareServers 1
|
|
35
|
-
MaxSpareServers 3
|
|
36
|
-
MaxClients 50
|
|
37
|
-
MaxRequestsPerChild 50
|
|
38
|
-
</IfModule>
|
|
39
|
-
|
|
40
|
-
<Directory />
|
|
41
|
-
AllowOverride all
|
|
42
|
-
</Directory>
|
|
43
|
-
|
|
44
|
-
ServerAdmin admin@passenger.test
|
|
45
|
-
ServerName passenger.test
|
|
46
|
-
DocumentRoot "/home/hongli/Projects/mod_rails/test/stub/mycook/public"
|
|
47
|
-
|
|
48
|
-
LockFile /home/hongli/Projects/mod_rails/test/stub/apache2/httpd.lock
|
|
49
|
-
PidFile /home/hongli/Projects/mod_rails/test/stub/apache2/httpd.pid
|
|
50
|
-
ErrorLog /home/hongli/Projects/mod_rails/test/stub/apache2/errors.log
|
|
51
|
-
CustomLog /home/hongli/Projects/mod_rails/test/stub/apache2/access.log combined
|
|
52
|
-
|
|
53
|
-
NameVirtualHost *:64506
|
|
54
|
-
|
|
55
|
-
<VirtualHost *:64506>
|
|
56
|
-
ServerName mycook.passenger.test
|
|
57
|
-
DocumentRoot "/home/hongli/Projects/mod_rails/test/stub/mycook/public"
|
|
58
|
-
</VirtualHost>
|
|
59
|
-
|
|
60
|
-
<VirtualHost *:64506>
|
|
61
|
-
ServerName zsfa.passenger.test
|
|
62
|
-
DocumentRoot "/home/hongli/Projects/mod_rails/test/stub/zsfa"
|
|
63
|
-
RailsBaseURI /mycook
|
|
64
|
-
RailsBaseURI /foo
|
|
65
|
-
RailsBaseURI /app-with-nonexistant-rails-version
|
|
66
|
-
RailsBaseURI /app-that-crashes-during-startup
|
|
67
|
-
RailsBaseURI /app-with-crashing-vendor-rails
|
|
68
|
-
</VirtualHost>
|
|
69
|
-
|
|
70
|
-
<VirtualHost *:64506>
|
|
71
|
-
ServerName norails.passenger.test
|
|
72
|
-
DocumentRoot "/home/hongli/Projects/mod_rails/test/stub/mycook/public"
|
|
73
|
-
RailsAutoDetect off
|
|
74
|
-
</VirtualHost>
|
|
75
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Settings specified here will take precedence over those in config/environment.rb
|
|
2
|
-
|
|
3
|
-
# The test environment is used exclusively to run your application's
|
|
4
|
-
# test suite. You never need to work with it otherwise. Remember that
|
|
5
|
-
# your test database is "scratch space" for the test suite and is wiped
|
|
6
|
-
# and recreated between test runs. Don't rely on the data there!
|
|
7
|
-
config.cache_classes = true
|
|
8
|
-
|
|
9
|
-
# Log error messages when you accidentally call methods on nil.
|
|
10
|
-
config.whiny_nils = true
|
|
11
|
-
|
|
12
|
-
# Show full error reports and disable caching
|
|
13
|
-
config.action_controller.consider_all_requests_local = true
|
|
14
|
-
config.action_controller.perform_caching = false
|
|
15
|
-
|
|
16
|
-
# Disable request forgery protection in test environment
|
|
17
|
-
config.action_controller.allow_forgery_protection = false
|
|
18
|
-
|
|
19
|
-
# Tell ActionMailer not to deliver emails to the real world.
|
|
20
|
-
# The :test delivery method accumulates sent emails in the
|
|
21
|
-
# ActionMailer::Base.deliveries array.
|
|
22
|
-
config.action_mailer.delivery_method = :test
|