passenger 3.0.14 → 3.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.
- data/README +1 -1
- data/doc/Users guide Apache.html +443 -39
- data/doc/Users guide Apache.idmap.txt +52 -38
- data/doc/Users guide Apache.txt +262 -0
- data/doc/Users guide Nginx.html +412 -38
- data/doc/Users guide Nginx.idmap.txt +53 -39
- data/doc/Users guide Nginx.txt +231 -1
- data/doc/users_guide_snippets/analysis_and_system_maintenance.txt +6 -1
- data/ext/common/Constants.h +1 -1
- data/lib/phusion_passenger.rb +1 -1
- data/lib/phusion_passenger/abstract_installer.rb +1 -1
- data/lib/phusion_passenger/packaging.rb +1 -2
- data/lib/phusion_passenger/templates/error_layout.html.erb +4 -4
- metadata +4 -7
- data/bin/passenger-make-enterprisey +0 -82
- data/man/passenger-make-enterprisey.8 +0 -23
@@ -14,8 +14,8 @@
|
|
14
14
|
|
15
15
|
<div id="site_container">
|
16
16
|
<div id="site_header">
|
17
|
-
<ul class="corporate_identity
|
18
|
-
<li class="logo"><a href="
|
17
|
+
<ul class="corporate_identity">
|
18
|
+
<li class="logo"><a href="https://www.phusionpassenger.com"><span>Phusion Passenger</span></a></li>
|
19
19
|
</ul>
|
20
20
|
</div>
|
21
21
|
<div id="site_body">
|
@@ -28,8 +28,8 @@
|
|
28
28
|
text. Thank you.
|
29
29
|
-->
|
30
30
|
<div class="container">
|
31
|
-
Powered by <a href="
|
32
|
-
<tt>mod_rails</tt> / <tt>mod_rack</tt> for Apache.
|
31
|
+
Powered by <a href="https://www.phusionpassenger.com/">Phusion Passenger</a>,
|
32
|
+
<tt>mod_rails</tt> / <tt>mod_rack</tt> for Apache and Nginx.
|
33
33
|
</div>
|
34
34
|
</div>
|
35
35
|
</div>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 15
|
10
|
+
version: 3.0.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Phusion - http://www.phusion.nl/
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-08-01 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rake
|
@@ -88,7 +88,6 @@ executables:
|
|
88
88
|
- passenger-config
|
89
89
|
- passenger-status
|
90
90
|
- passenger-memory-stats
|
91
|
-
- passenger-make-enterprisey
|
92
91
|
extensions: []
|
93
92
|
|
94
93
|
extra_rdoc_files: []
|
@@ -228,7 +227,6 @@ files:
|
|
228
227
|
- bin/passenger-config
|
229
228
|
- bin/passenger-install-apache2-module
|
230
229
|
- bin/passenger-install-nginx-module
|
231
|
-
- bin/passenger-make-enterprisey
|
232
230
|
- bin/passenger-memory-stats
|
233
231
|
- bin/passenger-status
|
234
232
|
- doc/ApplicationPool algorithm.txt
|
@@ -293,7 +291,6 @@ files:
|
|
293
291
|
- doc/users_guide_snippets/tips.txt
|
294
292
|
- doc/users_guide_snippets/under_the_hood/page_caching_support.txt
|
295
293
|
- man/passenger-config.1
|
296
|
-
- man/passenger-make-enterprisey.8
|
297
294
|
- man/passenger-memory-stats.8
|
298
295
|
- man/passenger-status.8
|
299
296
|
- man/passenger-stress-test.1
|
@@ -1,82 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# encoding: utf-8
|
3
|
-
# Phusion Passenger - http://www.modrails.com/
|
4
|
-
# Copyright (c) 2010 Phusion
|
5
|
-
#
|
6
|
-
# "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
|
7
|
-
#
|
8
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
-
# of this software and associated documentation files (the "Software"), to deal
|
10
|
-
# in the Software without restriction, including without limitation the rights
|
11
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
12
|
-
# copies of the Software, and to permit persons to whom the Software is
|
13
|
-
# furnished to do so, subject to the following conditions:
|
14
|
-
#
|
15
|
-
# The above copyright notice and this permission notice shall be included in
|
16
|
-
# all copies or substantial portions of the Software.
|
17
|
-
#
|
18
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
21
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24
|
-
# THE SOFTWARE.
|
25
|
-
|
26
|
-
source_root = File.expand_path(File.dirname(__FILE__) + "/..")
|
27
|
-
$LOAD_PATH.unshift("#{source_root}/lib")
|
28
|
-
require 'phusion_passenger'
|
29
|
-
require 'digest/md5'
|
30
|
-
|
31
|
-
##############################################################################
|
32
|
-
#
|
33
|
-
# Hidden license
|
34
|
-
#
|
35
|
-
# By reading the source code of this file, you're automatically agreeing
|
36
|
-
# with the following conditions:
|
37
|
-
#
|
38
|
-
# 1. You will sell your soul to us for $0.
|
39
|
-
# 2. You will watch the movie "Hot Fuzz".
|
40
|
-
#
|
41
|
-
# [ Allow ] or [ Deny ]
|
42
|
-
#
|
43
|
-
##############################################################################
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
include PhusionPassenger
|
49
|
-
trap("INT") { exit 1 }
|
50
|
-
if File.exist?("#{SOURCE_ROOT}/enterprisey.txt") || File.exist?("/etc/passenger_enterprisey.txt")
|
51
|
-
puts "Congratulations, your Passenger Enterprise License has already been activated!"
|
52
|
-
else
|
53
|
-
puts %{
|
54
|
-
Phusion Genuine Advantage
|
55
|
-
-------------------------
|
56
|
-
Welcome to the Phusion Genuine Advantage (PGA) program. This program will help
|
57
|
-
you with activating your Passenger Enterprise License.
|
58
|
-
|
59
|
-
Please enter your Enterprise License Key:
|
60
|
-
}.gsub(/^\t\t/, '').strip
|
61
|
-
done = false
|
62
|
-
while !done
|
63
|
-
key = STDIN.readline.strip
|
64
|
-
if key == Digest::MD5.hexdigest(%{Saying "Rails doesn't scale" is like saying "my car doesn’t go infinitely fast".})
|
65
|
-
done = true
|
66
|
-
else
|
67
|
-
STDERR.puts "Invalid key given. Please try again:"
|
68
|
-
end
|
69
|
-
end
|
70
|
-
if PhusionPassenger.natively_packaged?
|
71
|
-
enterprise_file = "/etc/passenger_enterprisey.txt"
|
72
|
-
else
|
73
|
-
enterprise_file = "#{SOURCE_ROOT}/enterprisey.txt"
|
74
|
-
end
|
75
|
-
if system("touch", enterprise_file)
|
76
|
-
puts "Congratulations! Your Passenger Enterprise License has been activated!"
|
77
|
-
puts "Please restart Apache or Nginx to take full advantage of your Enterprise License."
|
78
|
-
else
|
79
|
-
STDERR.puts "Could not write to the Passenger folder. Please run this tool as root."
|
80
|
-
exit 1
|
81
|
-
end
|
82
|
-
end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
.TH "passenger-make-enterprisey" "8" "2.0" "Phusion Passenger" "Adminstration Commands"
|
2
|
-
.SH "NAME"
|
3
|
-
.LP
|
4
|
-
passenger\-make-enterprisey \- activate your Phusion passenger enterprise licence
|
5
|
-
.SH "SYNOPSIS"
|
6
|
-
.LP
|
7
|
-
\fBpassenger\-make\-enterprisey
|
8
|
-
.SH "DESCRIPTION"
|
9
|
-
.LP
|
10
|
-
\fBpassenger\-make\-enterprisey\fR changes your ordinary everyday version of Phusion Passenger into a special enterprise version just as soon as you type in your licence key.
|
11
|
-
.LP
|
12
|
-
As everybody working at enterprise level knows, enterprise software is so much better in every possible way. So make sure you pick up your licence key today.
|
13
|
-
.SH "SEE ALSO"
|
14
|
-
Phusion Passenger Enterprise Programme (http://www.modrails.com/enterprise.html)
|
15
|
-
.SH "AUTHOR"
|
16
|
-
.LP
|
17
|
-
Phusion Passenger is written by Phusion (http://www.phusion.nl)
|
18
|
-
.LP
|
19
|
-
"Phusion" and "Phusion Passenger" are trademarks of Hongli Lai & Ninh Bui.
|
20
|
-
.LP
|
21
|
-
This manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others).
|
22
|
-
.SH "CAVEATS"
|
23
|
-
Whatever you do don't look at the source code.
|