passenger 5.0.14 → 5.0.15
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- checksums.yaml +8 -8
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/CHANGELOG +9 -0
- data/INSTALL.md +1 -1
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/bin/passenger-install-apache2-module +6 -10
- data/bin/passenger-install-nginx-module +6 -9
- data/doc/CloudLicensingConfiguration.html +1 -216
- data/doc/CloudLicensingConfiguration.txt.md +1 -192
- data/doc/Design and Architecture.html +4 -4
- data/doc/Design and Architecture.txt +4 -4
- data/doc/ServerOptimizationGuide.html +1 -489
- data/doc/ServerOptimizationGuide.txt.md +1 -399
- data/doc/Users guide Apache.html +594 -6720
- data/doc/Users guide Apache.idmap.txt +15 -12
- data/doc/Users guide Apache.txt +113 -2047
- data/doc/Users guide Nginx.html +565 -6720
- data/doc/Users guide Nginx.idmap.txt +15 -12
- data/doc/Users guide Nginx.txt +94 -1862
- data/doc/Users guide Standalone.html +53 -2183
- data/doc/Users guide Standalone.idmap.txt +9 -6
- data/doc/Users guide Standalone.txt +16 -360
- data/doc/Users guide.html +3 -145
- data/doc/Users guide.txt +2 -54
- data/doc/users_guide_snippets/analysis_and_system_maintenance.txt +36 -175
- data/doc/users_guide_snippets/appendix_c_spawning_methods.txt +9 -215
- data/doc/users_guide_snippets/environment_variables.txt +11 -243
- data/doc/users_guide_snippets/installation.txt +66 -946
- data/doc/users_guide_snippets/rackup_specifications.txt +1 -75
- data/doc/users_guide_snippets/support_information.txt +1 -48
- data/doc/users_guide_snippets/tips.txt +103 -704
- data/doc/users_guide_snippets/troubleshooting/default.txt +16 -130
- data/doc/users_guide_snippets/troubleshooting/rails.txt +15 -12
- data/doc/users_guide_snippets/under_the_hood/relationship_with_ruby.txt +2 -113
- data/ext/apache2/Configuration.hpp +2 -2
- data/ext/apache2/Hooks.cpp +2 -2
- data/ext/common/AgentsStarter.h +18 -10
- data/ext/common/ApplicationPool2/ErrorRenderer.h +0 -3
- data/ext/common/ApplicationPool2/Options.h +8 -1
- data/ext/common/Constants.h +3 -9
- data/ext/common/agent/Core/RequestHandler/InitRequest.cpp +2 -0
- data/ext/common/agent/Watchdog/Main.cpp +1 -1
- data/ext/nginx/ContentHandler.c +2 -3
- data/ext/nginx/config +2 -2
- data/lib/phusion_passenger.rb +1 -22
- data/lib/phusion_passenger/abstract_installer.rb +10 -10
- data/lib/phusion_passenger/config/agent_compiler.rb +5 -5
- data/lib/phusion_passenger/config/nginx_engine_compiler.rb +4 -4
- data/lib/phusion_passenger/config/validate_install_command.rb +3 -3
- data/lib/phusion_passenger/constants.rb +1 -5
- data/lib/phusion_passenger/loader_shared_helpers.rb +16 -5
- data/lib/phusion_passenger/platform_info/apache_detector.rb +2 -2
- data/lib/phusion_passenger/public_api.rb +11 -2
- data/lib/phusion_passenger/request_handler/thread_handler.rb +2 -3
- data/lib/phusion_passenger/ruby_core_io_enhancements.rb +4 -1
- data/lib/phusion_passenger/standalone/start_command.rb +1 -1
- data/resources/oss-binaries.phusionpassenger.com.crt +124 -0
- data/resources/templates/apache2/deployment_example.txt.erb +5 -23
- data/resources/templates/apache2/installing_against_a_different_apache.txt.erb +3 -4
- data/resources/templates/apache2/possible_solutions_for_compilation_and_installation_problems.txt.erb +3 -3
- data/resources/templates/apache2/rpm_installation_recommended.txt.erb +1 -1
- data/resources/templates/installer_common/low_amount_of_memory_warning.txt.erb +4 -5
- data/resources/templates/nginx/deployment_example.txt.erb +5 -17
- data/resources/templates/nginx/possible_solutions_for_compilation_and_installation_problems.txt.erb +3 -3
- data/resources/templates/standalone/config.erb +1 -1
- data/resources/templates/undisclosed_error.html.template +4 -11
- metadata +2 -2
- metadata.gz.asc +7 -7
@@ -1,29 +1,11 @@
|
|
1
|
-
<banner>Deploying a web application
|
1
|
+
<banner>Deploying a web application</banner>
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
<b>
|
6
|
-
<VirtualHost *:80>
|
7
|
-
ServerName www.yourhost.com
|
8
|
-
# !!! Be sure to point DocumentRoot to 'public'!
|
9
|
-
DocumentRoot /somewhere/public
|
10
|
-
<Directory /somewhere/public>
|
11
|
-
# This relaxes Apache security settings.
|
12
|
-
AllowOverride all
|
13
|
-
# MultiViews must be turned off.
|
14
|
-
Options -MultiViews
|
15
|
-
# Uncomment this if you're on Apache >= 2.4:
|
16
|
-
#Require all granted
|
17
|
-
</Directory>
|
18
|
-
</VirtualHost>
|
19
|
-
</b>
|
20
|
-
And that's it! You may also want to check the Users Guide for security and
|
21
|
-
optimization tips, troubleshooting and other useful information:
|
3
|
+
To learn how to deploy a web app on Passenger, please follow the deployment
|
4
|
+
guide:
|
22
5
|
|
23
|
-
<yellow><%= @
|
24
|
-
<yellow><%= @users_guide_url %></yellow>
|
6
|
+
<yellow><%= @deployment_guide_url %></yellow>
|
25
7
|
|
26
8
|
Enjoy Phusion Passenger, a product of Phusion (<b><%= @phusion_website %></b>) :-)
|
27
9
|
<b><%= @passenger_website %></b>
|
28
10
|
|
29
|
-
Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.
|
11
|
+
Phusion Passenger is a registered trademark of Hongli Lai & Ninh Bui.
|
@@ -2,11 +2,10 @@
|
|
2
2
|
* To compile against <yellow>Apache <%= result.version %> (<%= result.apxs2 %>)</yellow>:
|
3
3
|
Re-run this installer with: <b>--apxs2-path "<%= result.apxs2 %>"</b>
|
4
4
|
<% end %>
|
5
|
-
You may also want to read the
|
6
|
-
installation troubleshooting:
|
5
|
+
You may also want to read the installation guide and the troubleshooting guide:
|
7
6
|
|
8
|
-
|
9
|
-
|
7
|
+
https://www.phusionpassenger.com/library/install/apache/
|
8
|
+
https://www.phusionpassenger.com/library/admin/apache/troubleshooting/
|
10
9
|
|
11
10
|
If you keep having problems installing, please visit the following website for
|
12
11
|
support:
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<red>It looks like something went wrong</red>
|
2
2
|
|
3
|
-
Please read our
|
3
|
+
Please read our documentation for troubleshooting tips:
|
4
4
|
|
5
|
-
<b
|
6
|
-
<b
|
5
|
+
<b>https://www.phusionpassenger.com/library/install/apache/</b>
|
6
|
+
<b>https://www.phusionpassenger.com/library/admin/apache/troubleshooting/</b>
|
7
7
|
|
8
8
|
If that doesn't help, please use our support facilities. We'll do our best to help you.
|
9
9
|
|
@@ -10,7 +10,7 @@ include any SELinux configuration. Therefore, we recommend that you:
|
|
10
10
|
|
11
11
|
1. Uninstall your current <%= SHORT_PROGRAM_NAME %> install.
|
12
12
|
2. Reinstall <%= SHORT_PROGRAM_NAME %> through the RPMs that we provide:
|
13
|
-
<yellow
|
13
|
+
<yellow>https://www.phusionpassenger.com/library/install/apache/yum_repo/</yellow>
|
14
14
|
|
15
15
|
What would you like to do?
|
16
16
|
|
@@ -13,12 +13,11 @@ See also <b>https://wiki.archlinux.org/index.php/Swap</b> for more information a
|
|
13
13
|
the swap file on Linux.
|
14
14
|
|
15
15
|
If you cannot activate a swap file (e.g. because you're on OpenVZ, or if you
|
16
|
-
don't have root privileges) then you should install
|
17
|
-
DEB/RPM packages. For more information, please refer to
|
18
|
-
|
16
|
+
don't have root privileges) then you should install <%= PROGRAM_NAME %> through
|
17
|
+
DEB/RPM packages. For more information, please refer to our installation
|
18
|
+
documentation:
|
19
19
|
|
20
|
-
<%= @
|
21
|
-
<%= @doc_url %>
|
20
|
+
<%= @install_doc_url %>
|
22
21
|
|
23
22
|
<b>Press Ctrl-C to abort this installer (recommended).</b>
|
24
23
|
<b>Press Enter if you want to continue with installation anyway.</b>
|
@@ -1,23 +1,11 @@
|
|
1
|
-
<banner>Deploying a web application
|
1
|
+
<banner>Deploying a web application</banner>
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
<b>'passenger_enabled on'</b>, like this:
|
6
|
-
<b>
|
7
|
-
server {
|
8
|
-
listen 80;
|
9
|
-
server_name www.yourhost.com;
|
10
|
-
root /somewhere/public; # <--- be sure to point to 'public'!
|
11
|
-
passenger_enabled on;
|
12
|
-
}
|
13
|
-
</b>
|
14
|
-
And that's it! You may also want to check the Users Guide for security and
|
15
|
-
optimization tips and other useful information:
|
3
|
+
To learn how to deploy a web app on Passenger, please follow the deployment
|
4
|
+
guide:
|
16
5
|
|
17
|
-
<yellow><%= @
|
18
|
-
<yellow><%= @users_guide_url %></yellow>
|
6
|
+
<yellow><%= @deployment_guide_url %></yellow>
|
19
7
|
|
20
8
|
Enjoy Phusion Passenger, a product of Phusion (<b><%= @phusion_website %></b>) :-)
|
21
9
|
<b><%= @passenger_website %></b>
|
22
10
|
|
23
|
-
Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.
|
11
|
+
Phusion Passenger is a registered trademark of Hongli Lai & Ninh Bui.
|
data/resources/templates/nginx/possible_solutions_for_compilation_and_installation_problems.txt.erb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
<red>It looks like something went wrong</red>
|
2
2
|
|
3
|
-
Please read our
|
3
|
+
Please read our documentation for troubleshooting tips:
|
4
4
|
|
5
|
-
<b
|
6
|
-
<b
|
5
|
+
<b>https://www.phusionpassenger.com/library/install/nginx/</b>
|
6
|
+
<b>https://www.phusionpassenger.com/library/admin/nginx/troubleshooting/</b>
|
7
7
|
|
8
8
|
If that doesn't help, please use our support facilities. We'll do our best to help you.
|
9
9
|
|
@@ -176,7 +176,7 @@ http {
|
|
176
176
|
<% end %>
|
177
177
|
|
178
178
|
# Rails asset pipeline support.
|
179
|
-
location ~ "^/assets/.+-[0-9a-f]{32}\..+" {
|
179
|
+
location ~ "^/assets/.+-([0-9a-f]{32}|[0-9a-f]{64})\..+" {
|
180
180
|
error_page 490 = @static_asset;
|
181
181
|
error_page 491 = @dynamic_request;
|
182
182
|
recursive_error_pages on;
|
@@ -35,20 +35,13 @@
|
|
35
35
|
<p>The {{PROGRAM_NAME}} application server encountered an error while starting your web application.
|
36
36
|
Because you are running this web application in staging or production mode, the details of the error
|
37
37
|
have been omitted from this web page for security reasons.</p>
|
38
|
-
<p><strong>Please read the
|
39
|
-
If you don't know where the web server error log is, read the troubleshooting documentation below.</p>
|
38
|
+
<p><strong>Please read <a href="https://www.phusionpassenger.com/library/admin/log_file/">the Passenger log file</a> to find the details of the error.</strong></p>
|
40
39
|
<p>Alternatively, you can turn on the "friendly error pages" feature (see below), which will make {{PROGRAM_NAME}} show many details about the error right in the browser.</p>
|
41
|
-
<p>{{PROGRAM_NAME}} troubleshooting documentation:</p>
|
42
|
-
<ul>
|
43
|
-
<li><a href="{{NGINX_DOC_URL|raw}}#troubleshooting">Nginx integration mode</a></li>
|
44
|
-
<li><a href="{{APACHE2_DOC_URL|raw}}#troubleshooting">Apache integration mode</a></li>
|
45
|
-
<li><a href="{{STANDALONE_DOC_URL|raw}}#troubleshooting">Standalone mode</a></li>
|
46
|
-
</ul>
|
47
40
|
<p>To turn on friendly error pages:</p>
|
48
41
|
<ul>
|
49
|
-
<li><a href="
|
50
|
-
<li><a href="
|
51
|
-
<li
|
42
|
+
<li><a href="https://www.phusionpassenger.com/library/config/nginx/reference/#passenger_friendly_error_pages">Nginx integration mode</a></li>
|
43
|
+
<li><a href="https://www.phusionpassenger.com/library/config/apache/reference/#passengerfriendlyerrorpages">Apache integration mode</a></li>
|
44
|
+
<li><a href="https://www.phusionpassenger.com/library/config/standalone/reference/#--friendly-error-pages---no-friendly-error-pages-friendly_error_pages">Standalone mode</a></li>
|
52
45
|
</ul>
|
53
46
|
</div>
|
54
47
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phusion - http://www.phusion.nl/
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
metadata.gz.asc
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
|
3
3
|
Comment: GPGTools - http://gpgtools.org
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
+
|
11
|
-
=
|
5
|
+
iQEcBAABAgAGBQJVuJ34AAoJECrHRaUKISqM/O4IAIa/7ugQ2b8Z7E8HLEd4cGp4
|
6
|
+
G7IKljKLCmV0U7mHHIpkMQn1MQbVfuJTOc1sZj2ffIPd70zZcHzVGL2o19GkotOy
|
7
|
+
+zvbNJSA9SwqddlZisyV7SwJvyQrcyav3jwqKNRABOcvmtCaZJ1R7z2iQoeNVQRC
|
8
|
+
fE7ETK3bJnQxy1iddA6JPwBeSk4HUXBga01juYuRdsPySBtY7bX4EHLPAdj0EEEj
|
9
|
+
ceX8cCsvCobB9P11OPupxPJ5RuoL+p+ZnqV3H+n2OEhvL9icaWSoLXvaGrd4mjO4
|
10
|
+
NjQjjwYhOv55eRmHyXnPqoeQ0dtDF1+qEc6UUi31229UI2ATVIXCkF0FSVJR9mI=
|
11
|
+
=Z6Wn
|
12
12
|
-----END PGP SIGNATURE-----
|