-
Notifications
You must be signed in to change notification settings - Fork 544
/
Users guide Apache.idmap.txt
428 lines (220 loc) · 17.2 KB
/
Users guide Apache.idmap.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
###### Autogenerated by Mizuho, DO NOT EDIT ######
# This file maps section names to IDs so that the commenting system knows which
# comments belong to which section. Section names may be changed at will but
# IDs always stay the same, allowing one to retain old comments even if you
# rename a section.
#
# This file is autogenerated but is not a cache; you MUST NOT DELETE this
# file and you must check it into your version control system. If you lose
# this file you may lose the ability to identity old comments.
#
# Entries marked with "fuzzy" indicate that the section title has changed
# and that Mizuho has found an ID which appears to be associated with that
# section. You should check whether it is correct, and if not, fix it.
1. Support information => support-information-zkewk3
1.1. Supported operating systems => supported-operating-systems-rhbg35
1.2. Where to get support => where-to-get-support-f3pbrb
2. Installation => installing-upgrading-and-uninstalling-phusion-passenger-laryvs
2.1. Synopsis => synopsis-l0om5d
2.2. Installing or upgrading on Mac OS X with Homebrew => installing-or-upgrading-on-mac-os-x-with-homebrew-1pia1cx
2.3. Installing or upgrading on Debian or Ubuntu => installing-or-upgrading-on-ubuntu-1xg22xs
2.3.1. Adding our APT repository => adding-our-apt-repository-1l8plxk
2.3.2. Installing packages => installing-packages-1jxn722
2.4. Installing or upgrading on Red Hat, Fedora, CentOS or ScientificLinux => installing-or-upgrading-on-red-hat-fedora-centos-or-scientificlinux-1y5ie8b
2.5. Generic installation, upgrade and downgrade method: via RubyGems => installing-via-the-gem-39jw1u
2.6. Generic installation, upgrade and downgrade method: via tarball => installing-via-the-source-tarball-1cgxrqc
2.7. Upgrading from open source to Enterprise => upgrading-from-open-source-to-enterprise-b17h8g
2.8. Cryptographic verification of installation files => cryptographic-verification-of-installation-files-ed3r9v
2.8.1. Synopsis => synopsis-uwnz2o
2.8.2. Importing the Phusion Software Signing key => importing-the-phusion-software-signing-key-1x0rhv
2.8.3. Verifying the Phusion Software Signing key => verifying-the-phusion-software-signing-key-10430lg
2.8.4. Verifying the gem and tarball => verifying-the-gem-and-tarball-1nf0uov
2.8.5. Verifying Git signatures => verifying-git-signatures-oaafwd
2.8.6. Verifying DEB and RPM packages => verifying-deb-and-rpm-packages-vgtv04
2.8.7. Revocation => revocation-4o01n2
2.9. Non-interactive, automatic, headless installs or upgrades => non-interactive-automatic-headless-installs-or-upgrades-1arnxii
2.10. Customizing the compilation process => customizing-the-compilation-process-1sds3od
2.10.1. Setting the compiler => setting-the-compiler-1symq7h
2.10.2. Adding additional compiler or linker flags => adding-additional-compiler-or-linker-flags-wzu0ey
2.10.3. Forcing location of command line tools and dependencies => forcing-location-of-certain-command-line-tools-1hym30u
2.11. Working with the Apache configuration file => locating-the-apache-configuration-file-1fterqv
2.12. Disabling without uninstalling => unloading-disabling-phusion-passenger-from-apache-without-uninstalling-it-s1axnx
2.13. Uninstalling => uninstalling-phusion-passenger-1qb4ssq
2.14. Moving to a different directory => moving-to-a-different-directory-1n0gkwh
3. Deploying a Ruby on Rails 1.x or 2.x (but NOT Rails >= 3.x) application => deploying-a-ruby-on-rails-1-x-or-2-x-but-not-rails-3-x-application-9r92hi
3.1. Deploying to a virtual host’s root => deploying-to-a-virtual-host-s-root-ab4zj6
3.2. Deploying to a sub URI => deploying-to-a-sub-uri-13rfygg
3.3. Redeploying (restarting the Ruby on Rails application) => redeploying-restarting-the-ruby-on-rails-application--m5zqc6
3.4. Migrations => migrations-15238b4
3.5. Capistrano integration => capistrano-integration-1o4cbyq
4. Deploying a Rack-based Ruby application (including Rails >= 3) => deploying-a-rack-based-ruby-application-including-rails-3--hcs66f
4.1. Tutorial/example: writing and deploying a Hello World Rack application => tutorial-example-writing-and-deploying-a-hello-world-rack-application-axp5z5
4.2. Deploying to a virtual host’s root => deploying-to-a-virtual-host-s-root-u9bfax
4.3. Deploying to a sub URI => deploying-to-a-sub-uri-zekba6
4.4. Redeploying (restarting the Rack application) => redeploying-restarting-the-rack-application--18m41m1
4.5. Rackup specifications for various web frameworks => rackup-specifications-for-various-web-frameworks-ndsqc2
4.5.1. Camping => camping-1kxexk0
4.5.2. Halcyon => halcyon-1ghnpmz
4.5.3. Mack => mack-miht6b
4.5.4. Merb => merb-iyj7qy
4.5.5. Ramaze => ramaze-boddtj
4.5.6. Sinatra => sinatra-1hubto4
5. Deploying a WSGI (Python) application => deploying-a-wsgi-python-application-7aygdl
5.1. Tutorial/example: writing and deploying a Hello World WSGI application => tutorial-example-writing-and-deploying-a-hello-world-wsgi-application-9ziqy8
5.2. Deploying to a virtual host’s root => deploying-to-a-virtual-host-s-root-zzo4v7
5.3. Deploying to a sub URI => deploying-to-a-sub-uri-ayqz96
5.4. Redeploying (restarting the WSGI application) => redeploying-restarting-the-wsgi-application--na7pmf
6. Deploying a Node.js application => deploying-a-node-js-application-882ecy
7. Deploying a Meteor application => deploying-a-meteor-application-mxfmir
8. Configuring Phusion Passenger => configuring-phusion-passenger-11oztoe
8.1. PassengerRoot <directory> => passengerroot-directory--sere8l
8.2. PassengerDefaultRuby <filename> => passengerdefaultruby-and-passengerruby-7zblp8
8.3. Deployment options => deployment-options-1unzrll
8.3.1. PassengerEnabled <on|off> => passengerenabled-on-off--74rzth
8.3.2. PassengerRuby <filename> => passengerruby-filename--1r3fv73
8.3.3. PassengerPython <filename> => passengerpython-filename--1ssesv3
8.3.4. PassengerNodejs <filename> => passengernodejs-filename--2mjb1j
8.3.5. PassengerAppEnv <string> => passengerappenv-string--s3ojlc
8.3.6. RailsEnv <string> => railsenv-string--1b0xxvu
8.3.7. RackEnv <string> => rackenv-string--vve9py
8.3.8. PassengerAppRoot <path/to/root> => passengerapproot-path-to-root--uf24yd
8.3.9. PassengerBaseURI <uri> => passengerbaseuri-uri--97i9mm
8.3.10. PassengerRestartDir <directory> => passengerrestartdir-directory--1fmhmv0
8.3.11. PassengerRollingRestarts <on|off> => passengerrollingrestarts
8.3.12. PassengerResistDeploymentErrors <on|off> => passengerresistdeploymenterrors
8.4. Process spawning options => process-spawning-options-v2vscm
8.4.1. PassengerSpawnMethod <string> => passengerspawnmethod-string--sodg2y
8.4.2. PassengerLoadShellEnvvars <on|off> => passengerloadshellenvvars-on-off--1290yz1
8.5. Security options => security-options-1pb75ho
8.5.1. PassengerUserSwitching <on|off> => passengeruserswitching
8.5.2. PassengerUser <username> => passengeruser
8.5.3. PassengerGroup <group name> => passengergroup
8.5.4. PassengerDefaultUser <username> => passengerdefaultuser
8.5.5. PassengerDefaultGroup <group name> => passengerdefaultgroup
8.5.6. PassengerFriendlyErrorPages <on|off> => passengerfriendlyerrorpages
8.6. Resource control and optimization options => resource-control-and-optimization-options-zu2f7u
8.6.1. PassengerMaxPoolSize <integer> => passengermaxpoolsize-integer--am64q8
8.6.2. PassengerMinInstances <integer> => passengermininstances-integer--wegq6b
8.6.3. PassengerMaxInstances <integer> => passengermaxinstances
8.6.4. PassengerMaxInstancesPerApp <integer> => passengermaxinstancesperapp
8.6.5. PassengerPoolIdleTime <integer> => passengerpoolidletime-integer--a3gunq
8.6.6. PassengerMaxPreloaderIdleTime <integer> => railsappspawneridletime-integer--1awgog1
8.6.7. PassengerStartTimeout <seconds> => passengerstarttimeout-seconds--ihnfku
8.6.8. PassengerConcurrencyModel <process|thread> => passengerconcurrencymodel-process-thread--1eipofj
8.6.9. PassengerThreadCount <number> => passengerthreadcount-number--10jl64a
8.6.10. PassengerMaxRequests <integer> => passengermaxrequests-integer--17qkw9n
8.6.11. PassengerMaxRequestTime <seconds> => passengermaxrequesttime-seconds--127v1i2
8.6.12. PassengerMemoryLimit <integer> => passengermemorylimit-integer--18irza1
8.6.13. PassengerStatThrottleRate <integer> => passengerstatthrottlerate-integer--1dcfda3
8.6.14. PassengerPreStart <url> => passengerprestart-url--1utb57k
8.6.15. PassengerHighPerformance <on|off> => passengerhighperformance-on-off--nvfa86
8.7. Connection handling options => connection-handling-options-1k3zd1a
8.7.1. PassengerBufferUpload <on|off> => passengerbufferupload-on-off--1lsjr93
8.7.2. PassengerBufferResponse <on|off> => passengerbufferresponse-on-off--1y7ilka
8.7.3. PassengerErrorOverride <on|off> => passengererroroverride-on-off--1pq9nez
8.7.4. PassengerMaxRequestQueueSize <number> => passenger-max-request-queue-size-number--1f1uocd
8.8. Compatibility options => compatibility-options-8jve5a
8.8.1. PassengerResolveSymlinksInDocumentRoot <on|off> => passengerresolvesymlinksindocumentroot-on-off--1r0qcp8
8.8.2. PassengerAllowEncodedSlashes <on|off> => passengerallowencodedslashes-on-off--1y3s1ww
8.9. Logging and debugging options => logging-and-debugging-options-el2cuc
8.9.1. PassengerLogLevel <integer> => passengerloglevel-integer--s3kbil
8.9.2. PassengerDebugLogFile <filename> => passengerdebuglogfile-filename--1wjm2j1
8.9.3. PassengerDebugger <on|off> => passengerdebugger-on-off--19you7e
8.10. Advanced options => advanced-options-1ab1jkq
8.10.1. PassengerTempDir <directory> => passengertempdir-directory--68h2ng
8.10.2. PassengerUploadBufferDir <directory> => passengeruploadbufferdir-directory--kdr8at
8.11. Deprecated or removed options => deprecated-options-pm9m57
8.11.1. RailsRuby => railsruby-ht09ei
8.11.2. RailsBaseURI and RackBaseURI => railsbaseuri-uri--1txrw3k
8.11.3. RailsUserSwitching => railsuserswitching-1npx8y4
8.11.4. RailsDefaultUser => railsdefaultuser-19j7n3m
8.11.5. RailsAllowModRewrite => railsallowmodrewrite-1vkziro
8.11.6. RailsSpawnMethod => railsspawnmethod-1aljgpa
8.11.7. RailsAutoDetect, RackAutoDetect and WsgiAutoDetect => railsautodetect-rackautodetect-and-wsgiautodetect-1qgakzs
8.11.8. RailsAppSpawnerIdleTime => railsappspawneridletime-heh41r
8.11.9. RailsFrameworkSpawnerIdleTime => railsframeworkspawneridletime-adcf9k
9. Troubleshooting => troubleshooting-2ihihi
9.1. Generic troubleshooting tips => generic-troubleshooting-tips-130iuhe
9.2. Why does the first request take a long time? => why-does-the-first-request-take-a-long-time--12mg452
9.3. OS X: The installer cannot locate MAMP’s Apache => macos-x-the-installer-cannot-locate-mamp-s-apache-or908n
9.4. Apache reports a "403 Forbidden" error => apache-reports-a-403-forbidden-error-140tb4p
9.5. Static assets such as images and stylesheets aren’t being displayed => static-assets-such-as-images-and-stylesheets-aren-t-being-displayed-uaptpi
9.6. The Apache error log says that the spawn manager script does not exist, or that it does not have permission to execute it => the-apache-error-log-says-that-the-spawn-manager-script-does-not-exist-or-that-it-does-not-have-permission-to-execute-it-1fmoozk
9.7. The application thinks its not on SSL even though it is => the-application-thinks-its-not-on-ssl-even-though-it-is-u9fcp1
9.8. Ruby on Rails-specific troubleshooting => ruby-on-rails-specific-problems-6umss5
9.8.1. The "About your application’s environment" link does not work => the-about-your-application-s-environment-link-does-not-work-7k4tlm
9.8.2. The Rails application reports that it’s unable to start because of a permission error => the-rails-application-reports-that-it-s-unable-to-start-because-of-a-permission-error-v53i6s
9.8.3. The Rails application’s log file is not being written to => my-rails-application-s-log-file-is-not-being-written-to-3i747l
9.9. Conflicting Apache modules => conflicting-apache-modules-1uwpixk
9.9.1. mod_userdir => mod-userdir-x5e2te
9.9.2. MultiViews (mod_negotiation) => multiviews-mod-negotiation--zchfg0
9.9.3. VirtualDocumentRoot => virtualdocumentroot-14cwd7l
10. Analysis and system maintenance => analysis-and-system-maintenance-qvkwzr
10.1. Inspecting memory usage => inspecting-memory-usage-1bkis6i
10.2. Inspecting Phusion Passenger’s internal status => inspecting-phusion-passenger-s-internal-status-ukekf7
10.3. Debugging frozen applications => debugging-frozen-applications-1qsjqq7
10.4. Accessing individual application processes => accessing-individual-application-processes-1p0j4jb
10.5. Attaching an IRB console to an application process => attaching-an-irb-console-to-an-application-process-1cma32j
11. Tips => tips-19cwwf7
11.1. User Switching (security feature) => user-switching-security--8njx1x
11.1.1. Requirements => requirements-yxvtxo
11.1.2. Effects => effects-1lko7vo
11.1.3. Caveats & troubleshooting => caveats-troubleshooting-161hgge
11.1.4. Finding out what user an application is running as => finding-out-what-user-an-application-is-running-as-7uwrol
11.2. Copy-on-write memory support (reducing memory consumption of Ruby applications) => reducing-memory-consumption-of-ruby-on-rails-applications-by-33--1ubxnq0
11.3. Capistrano recipe => capistrano-recipe-syzgo7
11.4. Bundler support => bundler-support-cf72ih
11.4.1. Does Phusion Passenger itself need to be added to the Gemfile? => does-phusion-passenger-itself-need-to-be-added-to-the-gemfile--17whimp
11.5. Installing multiple Ruby on Rails versions => installing-multiple-ruby-on-rails-versions-mi5j14
11.6. Making the application restart after each request => making-the-application-restart-after-each-request-183bezx
11.7. How to fix broken images/CSS/JavaScript URIs in sub-URI deployments => how-to-fix-broken-images-css-javascript-uris-in-sub-uri-deployments-a63b6r
11.8. Out-of-Band Work and Out-of-Band Garbage Collection => out-of-band-work-and-out-of-band-garbage-collection-kav2p8
11.9. Hooks => hooks-bcltgp
11.9.1. Example => example-icjf0z
11.9.2. Environment => environment-1amls4v
11.9.3. Blocking and concurrency => blocking-and-concurrency-cxpbyu
11.9.4. Error handling => error-handling-1a1uvod
11.9.5. Compatibility => compatibility-18tl6g3
11.9.6. Available hooks => available-hooks-159anc3
11.10. Flying Passenger => flying-passenger-q916f7
11.10.1. Requirements => requirements-1ntkin3
11.10.2. Basic usage => basic-usage-joifsk
11.10.3. Configuring Flying Passenger => configuring-flying-passenger-1v35vgg
11.10.4. Managing the Flying Passenger daemon => managing-the-flying-passenger-daemon-1bng2bu
11.10.5. Using Flying Passenger with MRI 1.8 or JRuby => using-flying-passenger-with-mri-1-8-or-jruby-f5tbvs
11.10.6. Caveats and limitations => caveats-and-limitations-lz3rbb
11.11. X-Sendfile support => x-sendfile-support-1cgyykw
11.12. Upload progress => upload-progress-71cyl7
12. Under the hood => under-the-hood-21ue5t
12.1. Page caching support => page-caching-support-kwq9b9
12.2. Phusion Passenger and its relationship with Ruby => phusion-passenger-and-its-relationship-with-ruby-1eq08ff
12.2.1. How Ruby is used => how-ruby-is-used-14r83nr
12.2.2. When the system has multiple Ruby interpreters => when-the-system-has-multiple-ruby-interpreters-10tm1fq
12.3. Static assets serving => static-assets-serving-wo2d9v
12.4. How Phusion Passenger detects whether a virtual host is a web application => how-phusion-passenger-detects-whether-a-virtual-host-is-a-web-application-179mp8m
13. Appendix A: About this document => appendix-a-about-this-document-103toqs
14. Appendix B: Terminology => appendix-b-terminology-h4eaf4
14.1. Application root => application-root-otx6xf
14.2. Idle process => idle-process-potb6g
14.3. Inactive process => inactive-process-16gjv2e
15. Appendix C: Spawning methods explained => appendix-c-spawning-methods-explained-owghi9
15.1. The most straightforward and traditional way: direct spawning => the-most-straightforward-and-traditional-way-conservative-spawning-1ybbli2
15.2. The smart spawning method => the-smart-spawning-method-1cvu9dd
15.2.1. How it works => how-it-works-672zja
15.2.2. Summary of benefits => summary-of-benefits-1yrihfb
15.3. Smart spawning gotcha #1: unintentional file descriptor sharing => smart-spawning-gotcha-1-unintentional-file-descriptor-sharing-z1y55l
15.3.1. Example 1: Memcached connection sharing (harmful) => example-1-memcached-connection-sharing-harmful--c71wqw
15.3.2. Example 2: Log file sharing (not harmful) => example-2-log-file-sharing-not-harmful--1p2yuol
15.4. Smart spawning gotcha #2: the need to revive threads => smart-spawning-gotcha-2-the-need-to-revive-threads-1k6cj7d
15.5. Smart spawning gotcha #3: code load order => smart-spawning-gotcha-3-code-load-order-nkotiy
16. Appendix D: About environment variables => appendix-d-about-environment-variables-1lebv1u
16.1. Working with environment variables => working-with-environment-variables-85e6aa
16.2. The PATH environment variable => the-path-environment-variable-p8e32r
16.2.1. Adding Phusion Passenger’s administration tools to PATH => adding-phusion-passenger-s-administration-tools-to-path-xwppud
16.3. Making environment variables permanent => making-environment-variables-permanent-13x0l4h
16.3.1. bash => bash-1pktn63
16.3.2. Apache => apache-15zqjvi
16.3.3. Nginx => nginx-l7ztbb
16.3.4. cron => cron-1kjp7ck
16.3.5. Phusion Passenger-served apps => phusion-passenger-served-apps-478vyt
16.4. Environment variables and sudo => environment-variables-and-sudo-1odzcpz