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.

Files changed (70) hide show
  1. checksums.yaml +8 -8
  2. checksums.yaml.gz.asc +7 -7
  3. data.tar.gz.asc +7 -7
  4. data/CHANGELOG +9 -0
  5. data/INSTALL.md +1 -1
  6. data/LICENSE +1 -1
  7. data/README.md +1 -1
  8. data/bin/passenger-install-apache2-module +6 -10
  9. data/bin/passenger-install-nginx-module +6 -9
  10. data/doc/CloudLicensingConfiguration.html +1 -216
  11. data/doc/CloudLicensingConfiguration.txt.md +1 -192
  12. data/doc/Design and Architecture.html +4 -4
  13. data/doc/Design and Architecture.txt +4 -4
  14. data/doc/ServerOptimizationGuide.html +1 -489
  15. data/doc/ServerOptimizationGuide.txt.md +1 -399
  16. data/doc/Users guide Apache.html +594 -6720
  17. data/doc/Users guide Apache.idmap.txt +15 -12
  18. data/doc/Users guide Apache.txt +113 -2047
  19. data/doc/Users guide Nginx.html +565 -6720
  20. data/doc/Users guide Nginx.idmap.txt +15 -12
  21. data/doc/Users guide Nginx.txt +94 -1862
  22. data/doc/Users guide Standalone.html +53 -2183
  23. data/doc/Users guide Standalone.idmap.txt +9 -6
  24. data/doc/Users guide Standalone.txt +16 -360
  25. data/doc/Users guide.html +3 -145
  26. data/doc/Users guide.txt +2 -54
  27. data/doc/users_guide_snippets/analysis_and_system_maintenance.txt +36 -175
  28. data/doc/users_guide_snippets/appendix_c_spawning_methods.txt +9 -215
  29. data/doc/users_guide_snippets/environment_variables.txt +11 -243
  30. data/doc/users_guide_snippets/installation.txt +66 -946
  31. data/doc/users_guide_snippets/rackup_specifications.txt +1 -75
  32. data/doc/users_guide_snippets/support_information.txt +1 -48
  33. data/doc/users_guide_snippets/tips.txt +103 -704
  34. data/doc/users_guide_snippets/troubleshooting/default.txt +16 -130
  35. data/doc/users_guide_snippets/troubleshooting/rails.txt +15 -12
  36. data/doc/users_guide_snippets/under_the_hood/relationship_with_ruby.txt +2 -113
  37. data/ext/apache2/Configuration.hpp +2 -2
  38. data/ext/apache2/Hooks.cpp +2 -2
  39. data/ext/common/AgentsStarter.h +18 -10
  40. data/ext/common/ApplicationPool2/ErrorRenderer.h +0 -3
  41. data/ext/common/ApplicationPool2/Options.h +8 -1
  42. data/ext/common/Constants.h +3 -9
  43. data/ext/common/agent/Core/RequestHandler/InitRequest.cpp +2 -0
  44. data/ext/common/agent/Watchdog/Main.cpp +1 -1
  45. data/ext/nginx/ContentHandler.c +2 -3
  46. data/ext/nginx/config +2 -2
  47. data/lib/phusion_passenger.rb +1 -22
  48. data/lib/phusion_passenger/abstract_installer.rb +10 -10
  49. data/lib/phusion_passenger/config/agent_compiler.rb +5 -5
  50. data/lib/phusion_passenger/config/nginx_engine_compiler.rb +4 -4
  51. data/lib/phusion_passenger/config/validate_install_command.rb +3 -3
  52. data/lib/phusion_passenger/constants.rb +1 -5
  53. data/lib/phusion_passenger/loader_shared_helpers.rb +16 -5
  54. data/lib/phusion_passenger/platform_info/apache_detector.rb +2 -2
  55. data/lib/phusion_passenger/public_api.rb +11 -2
  56. data/lib/phusion_passenger/request_handler/thread_handler.rb +2 -3
  57. data/lib/phusion_passenger/ruby_core_io_enhancements.rb +4 -1
  58. data/lib/phusion_passenger/standalone/start_command.rb +1 -1
  59. data/resources/oss-binaries.phusionpassenger.com.crt +124 -0
  60. data/resources/templates/apache2/deployment_example.txt.erb +5 -23
  61. data/resources/templates/apache2/installing_against_a_different_apache.txt.erb +3 -4
  62. data/resources/templates/apache2/possible_solutions_for_compilation_and_installation_problems.txt.erb +3 -3
  63. data/resources/templates/apache2/rpm_installation_recommended.txt.erb +1 -1
  64. data/resources/templates/installer_common/low_amount_of_memory_warning.txt.erb +4 -5
  65. data/resources/templates/nginx/deployment_example.txt.erb +5 -17
  66. data/resources/templates/nginx/possible_solutions_for_compilation_and_installation_problems.txt.erb +3 -3
  67. data/resources/templates/standalone/config.erb +1 -1
  68. data/resources/templates/undisclosed_error.html.template +4 -11
  69. metadata +2 -2
  70. metadata.gz.asc +7 -7
@@ -1,29 +1,11 @@
1
- <banner>Deploying a web application: an example</banner>
1
+ <banner>Deploying a web application</banner>
2
2
 
3
- Suppose you have a web application in <b>/somewhere</b>. Add a virtual host to your
4
- Apache configuration file and set its DocumentRoot to <b>/somewhere/public</b>:
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><%= @users_guide_path %></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 "Installation" section of the manual for
6
- installation troubleshooting:
5
+ You may also want to read the installation guide and the troubleshooting guide:
7
6
 
8
- <%= PhusionPassenger.apache2_doc_path %>
9
- <%= APACHE2_DOC_URL %>
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 Users guide for troubleshooting tips:
3
+ Please read our documentation for troubleshooting tips:
4
4
 
5
- <b><%= @users_guide_path %></b>
6
- <b><%= @users_guide_url %></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><%= APACHE2_DOC_URL %>#installing_or_upgrading_on_red_hat</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 Phusion Passenger through
17
- DEB/RPM packages. For more information, please refer to the manual, section
18
- "Installation":
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
- <%= @doc_path %>
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: an example</banner>
1
+ <banner>Deploying a web application</banner>
2
2
 
3
- Suppose you have a web application in <b>/somewhere</b>. Add a <b>server</b> block
4
- to your Nginx configuration file, set its <b>root</b> to <b>/somewhere/public</b>, and set
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><%= @users_guide_path %></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.
@@ -1,9 +1,9 @@
1
1
  <red>It looks like something went wrong</red>
2
2
 
3
- Please read our Users guide for troubleshooting tips:
3
+ Please read our documentation for troubleshooting tips:
4
4
 
5
- <b><%= @users_guide_path %></b>
6
- <b><%= @users_guide_url %></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 web server error log to find the details of the error.</strong>
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="{{NGINX_DOC_URL|raw}}#PassengerFriendlyErrorPages">Nginx integration mode</a></li>
50
- <li><a href="{{APACHE2_DOC_URL|raw}}#PassengerFriendlyErrorPages">Apache integration mode</a></li>
51
- <li>Standalone mode: pass the <code>--friendly-error-pages</code> parameter to the <code>passenger</code> command.</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.14
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-15 00:00:00.000000000 Z
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
- iQEcBAABAgAGBQJVpfw1AAoJECrHRaUKISqMdgUIAKy+YhJ/5jPmrfbgQikv7w6i
6
- 0oIP8NPv7Wo213leBFScsYtbt5KLGCFAKRryfCevlzVLRLG/id+cmP/gjoV0T/v/
7
- cibFLMmbcR+lDzgda9xxsKiG38JmV2wU0QMOKuqfYFNNo5XY3VK8sCOXtlZYX9uw
8
- p+9ZGJciq7xxd8QhN0zYWdf7vyFHPONYv3cPsaRUGwJAP4ntxz7pa+/0opxbkYxs
9
- K+IrBNqyGnu8C8RBx0HtzPKfBvA/V9eSrrat3LS+UsB/y+93ZMQKIF1RUx65Hub0
10
- +s6r+cR5Zs/CtIAproOGHofw+/r7w778kO5n7/IU0Bso5NykUY+712XzGmz2cqA=
11
- =DFtv
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-----