passenger 2.0.3 → 2.0.4
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/Rakefile +8 -5
- data/bin/passenger-install-apache2-module +6 -1
- data/doc/ApplicationPool algorithm.txt +23 -5
- data/doc/Architectural overview.html +778 -0
- data/doc/Security of user switching support.html +1 -1
- data/doc/Users guide.html +113 -31
- data/doc/Users guide.txt +104 -10
- data/doc/cxxapi/ApplicationPoolServer_8h-source.html +683 -0
- data/doc/cxxapi/ApplicationPool_8h-source.html +224 -0
- data/doc/cxxapi/Application_8h-source.html +448 -0
- data/doc/cxxapi/Bucket_8h-source.html +61 -0
- data/doc/cxxapi/Configuration_8h-source.html +195 -0
- data/doc/cxxapi/DummySpawnManager_8h-source.html +126 -0
- data/doc/cxxapi/Exceptions_8h-source.html +244 -0
- data/doc/cxxapi/Hooks_8h-source.html +63 -0
- data/doc/cxxapi/Logging_8h-source.html +136 -0
- data/doc/cxxapi/MessageChannel_8h-source.html +524 -0
- data/doc/cxxapi/SpawnManager_8h-source.html +593 -0
- data/doc/cxxapi/StandardApplicationPool_8h-source.html +732 -0
- data/doc/cxxapi/System_8h-source.html +251 -0
- data/doc/cxxapi/Utils_8h-source.html +283 -0
- data/doc/cxxapi/annotated.html +59 -0
- data/doc/cxxapi/classClient-members.html +35 -0
- data/doc/cxxapi/classClient.html +117 -0
- data/doc/cxxapi/classDirectoryMapper-members.html +38 -0
- data/doc/cxxapi/classDirectoryMapper.html +203 -0
- data/doc/cxxapi/classHooks-members.html +33 -0
- data/doc/cxxapi/classHooks.html +43 -0
- data/doc/cxxapi/classPassenger_1_1Application-members.html +38 -0
- data/doc/cxxapi/classPassenger_1_1Application.html +229 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +41 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +359 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +36 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +225 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +43 -0
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +329 -0
- data/doc/cxxapi/classPassenger_1_1BusyException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1BusyException.html +47 -0
- data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +44 -0
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +51 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +51 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException-members.html +38 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException.html +61 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1IOException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1IOException.html +54 -0
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +47 -0
- data/doc/cxxapi/classPassenger_1_1MessageChannel.html +591 -0
- data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +35 -0
- data/doc/cxxapi/classPassenger_1_1SpawnException.html +77 -0
- data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +37 -0
- data/doc/cxxapi/classPassenger_1_1SpawnManager.html +255 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +43 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +400 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1SystemException-members.html +37 -0
- data/doc/cxxapi/classPassenger_1_1SystemException.html +154 -0
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1TempFile-members.html +36 -0
- data/doc/cxxapi/classPassenger_1_1TempFile.html +128 -0
- data/doc/cxxapi/classPassenger_1_1Thread-members.html +35 -0
- data/doc/cxxapi/classPassenger_1_1Thread.html +100 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1disable__syscall__interruption-members.html +33 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1disable__syscall__interruption.html +46 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1enable__syscall__interruption-members.html +33 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1enable__syscall__interruption.html +44 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1restore__syscall__interruption-members.html +33 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1restore__syscall__interruption.html +44 -0
- data/doc/cxxapi/definitions_8h-source.html +28 -0
- data/doc/cxxapi/doxygen.css +433 -0
- data/doc/cxxapi/doxygen.png +0 -0
- data/doc/cxxapi/files.html +42 -0
- data/doc/cxxapi/ftv2blank.png +0 -0
- data/doc/cxxapi/ftv2doc.png +0 -0
- data/doc/cxxapi/ftv2folderclosed.png +0 -0
- data/doc/cxxapi/ftv2folderopen.png +0 -0
- data/doc/cxxapi/ftv2lastnode.png +0 -0
- data/doc/cxxapi/ftv2link.png +0 -0
- data/doc/cxxapi/ftv2mlastnode.png +0 -0
- data/doc/cxxapi/ftv2mnode.png +0 -0
- data/doc/cxxapi/ftv2node.png +0 -0
- data/doc/cxxapi/ftv2plastnode.png +0 -0
- data/doc/cxxapi/ftv2pnode.png +0 -0
- data/doc/cxxapi/ftv2vertline.png +0 -0
- data/doc/cxxapi/functions.html +215 -0
- data/doc/cxxapi/functions_func.html +210 -0
- data/doc/cxxapi/functions_type.html +46 -0
- data/doc/cxxapi/functions_vars.html +48 -0
- data/doc/cxxapi/graph_legend.dot +22 -0
- data/doc/cxxapi/graph_legend.html +87 -0
- data/doc/cxxapi/graph_legend.png +0 -0
- data/doc/cxxapi/group__Configuration.html +236 -0
- data/doc/cxxapi/group__Configuration.png +0 -0
- data/doc/cxxapi/group__Core.html +51 -0
- data/doc/cxxapi/group__Core.png +0 -0
- data/doc/cxxapi/group__Exceptions.html +43 -0
- data/doc/cxxapi/group__Hooks.html +46 -0
- data/doc/cxxapi/group__Hooks.png +0 -0
- data/doc/cxxapi/group__Support.html +406 -0
- data/doc/cxxapi/hierarchy.html +67 -0
- data/doc/cxxapi/index.html +11 -0
- data/doc/cxxapi/inherit__graph__0.map +1 -0
- data/doc/cxxapi/inherit__graph__0.md5 +1 -0
- data/doc/cxxapi/inherit__graph__0.png +0 -0
- data/doc/cxxapi/inherit__graph__1.map +1 -0
- data/doc/cxxapi/inherit__graph__1.md5 +1 -0
- data/doc/cxxapi/inherit__graph__1.png +0 -0
- data/doc/cxxapi/inherit__graph__10.map +1 -0
- data/doc/cxxapi/inherit__graph__10.md5 +1 -0
- data/doc/cxxapi/inherit__graph__10.png +0 -0
- data/doc/cxxapi/inherit__graph__11.map +1 -0
- data/doc/cxxapi/inherit__graph__11.md5 +1 -0
- data/doc/cxxapi/inherit__graph__11.png +0 -0
- data/doc/cxxapi/inherit__graph__12.map +1 -0
- data/doc/cxxapi/inherit__graph__12.md5 +1 -0
- data/doc/cxxapi/inherit__graph__12.png +0 -0
- data/doc/cxxapi/inherit__graph__13.map +1 -0
- data/doc/cxxapi/inherit__graph__13.md5 +1 -0
- data/doc/cxxapi/inherit__graph__13.png +0 -0
- data/doc/cxxapi/inherit__graph__14.map +2 -0
- data/doc/cxxapi/inherit__graph__14.md5 +1 -0
- data/doc/cxxapi/inherit__graph__14.png +0 -0
- data/doc/cxxapi/inherit__graph__15.map +1 -0
- data/doc/cxxapi/inherit__graph__15.md5 +1 -0
- data/doc/cxxapi/inherit__graph__15.png +0 -0
- data/doc/cxxapi/inherit__graph__16.map +1 -0
- data/doc/cxxapi/inherit__graph__16.md5 +1 -0
- data/doc/cxxapi/inherit__graph__16.png +0 -0
- data/doc/cxxapi/inherit__graph__17.map +1 -0
- data/doc/cxxapi/inherit__graph__17.md5 +1 -0
- data/doc/cxxapi/inherit__graph__17.png +0 -0
- data/doc/cxxapi/inherit__graph__18.map +1 -0
- data/doc/cxxapi/inherit__graph__18.md5 +1 -0
- data/doc/cxxapi/inherit__graph__18.png +0 -0
- data/doc/cxxapi/inherit__graph__19.map +2 -0
- data/doc/cxxapi/inherit__graph__19.md5 +1 -0
- data/doc/cxxapi/inherit__graph__19.png +0 -0
- data/doc/cxxapi/inherit__graph__2.map +1 -0
- data/doc/cxxapi/inherit__graph__2.md5 +1 -0
- data/doc/cxxapi/inherit__graph__2.png +0 -0
- data/doc/cxxapi/inherit__graph__20.map +1 -0
- data/doc/cxxapi/inherit__graph__20.md5 +1 -0
- data/doc/cxxapi/inherit__graph__20.png +0 -0
- data/doc/cxxapi/inherit__graph__21.map +1 -0
- data/doc/cxxapi/inherit__graph__21.md5 +1 -0
- data/doc/cxxapi/inherit__graph__21.png +0 -0
- data/doc/cxxapi/inherit__graph__3.map +1 -0
- data/doc/cxxapi/inherit__graph__3.md5 +1 -0
- data/doc/cxxapi/inherit__graph__3.png +0 -0
- data/doc/cxxapi/inherit__graph__4.map +1 -0
- data/doc/cxxapi/inherit__graph__4.md5 +1 -0
- data/doc/cxxapi/inherit__graph__4.png +0 -0
- data/doc/cxxapi/inherit__graph__5.map +1 -0
- data/doc/cxxapi/inherit__graph__5.md5 +1 -0
- data/doc/cxxapi/inherit__graph__5.png +0 -0
- data/doc/cxxapi/inherit__graph__6.map +1 -0
- data/doc/cxxapi/inherit__graph__6.md5 +1 -0
- data/doc/cxxapi/inherit__graph__6.png +0 -0
- data/doc/cxxapi/inherit__graph__7.map +1 -0
- data/doc/cxxapi/inherit__graph__7.md5 +1 -0
- data/doc/cxxapi/inherit__graph__7.png +0 -0
- data/doc/cxxapi/inherit__graph__8.map +1 -0
- data/doc/cxxapi/inherit__graph__8.md5 +1 -0
- data/doc/cxxapi/inherit__graph__8.png +0 -0
- data/doc/cxxapi/inherit__graph__9.map +2 -0
- data/doc/cxxapi/inherit__graph__9.md5 +1 -0
- data/doc/cxxapi/inherit__graph__9.png +0 -0
- data/doc/cxxapi/inherits.html +102 -0
- data/doc/cxxapi/main.html +27 -0
- data/doc/cxxapi/modules.html +34 -0
- data/doc/cxxapi/namespacePassenger.html +208 -0
- data/doc/cxxapi/namespacePassenger_1_1InterruptableCalls.html +43 -0
- data/doc/cxxapi/namespacemembers.html +70 -0
- data/doc/cxxapi/namespacemembers_func.html +66 -0
- data/doc/cxxapi/namespacemembers_type.html +46 -0
- data/doc/cxxapi/namespaces.html +35 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +33 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString.html +49 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +33 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +49 -0
- data/doc/cxxapi/tab_b.gif +0 -0
- data/doc/cxxapi/tab_l.gif +0 -0
- data/doc/cxxapi/tab_r.gif +0 -0
- data/doc/cxxapi/tabs.css +102 -0
- data/doc/cxxapi/tree.html +167 -0
- data/doc/rdoc/classes/ConditionVariable.html +160 -0
- data/doc/rdoc/classes/Exception.html +120 -0
- data/doc/rdoc/classes/GC.html +113 -0
- data/doc/rdoc/classes/IO.html +150 -0
- data/doc/rdoc/classes/Passenger.html +136 -0
- data/doc/rdoc/classes/Passenger/AbstractRequestHandler.html +402 -0
- data/doc/rdoc/classes/Passenger/AbstractServer.html +649 -0
- data/doc/rdoc/classes/Passenger/AbstractServer/ServerAlreadyStarted.html +97 -0
- data/doc/rdoc/classes/Passenger/AbstractServer/ServerError.html +96 -0
- data/doc/rdoc/classes/Passenger/AbstractServer/ServerNotStarted.html +97 -0
- data/doc/rdoc/classes/Passenger/AbstractServer/UnknownMessage.html +96 -0
- data/doc/rdoc/classes/Passenger/AppInitError.html +137 -0
- data/doc/rdoc/classes/Passenger/Application.html +298 -0
- data/doc/rdoc/classes/Passenger/ConsoleTextTemplate.html +172 -0
- data/doc/rdoc/classes/Passenger/FrameworkInitError.html +143 -0
- data/doc/rdoc/classes/Passenger/HTMLTemplate.html +175 -0
- data/doc/rdoc/classes/Passenger/InitializationError.html +141 -0
- data/doc/rdoc/classes/Passenger/MessageChannel.html +488 -0
- data/doc/rdoc/classes/Passenger/NativeSupport.html +320 -0
- data/doc/rdoc/classes/Passenger/SpawnManager.html +375 -0
- data/doc/rdoc/classes/Passenger/UnknownError.html +125 -0
- data/doc/rdoc/classes/Passenger/Utils.html +578 -0
- data/doc/rdoc/classes/Passenger/VersionNotFound.html +140 -0
- data/doc/rdoc/classes/PlatformInfo.html +302 -0
- data/doc/rdoc/classes/RakeExtensions.html +197 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/files/DEVELOPERS_TXT.html +230 -0
- data/doc/rdoc/files/README.html +150 -0
- data/doc/rdoc/files/ext/passenger/native_support_c.html +92 -0
- data/doc/rdoc/files/lib/passenger/abstract_request_handler_rb.html +126 -0
- data/doc/rdoc/files/lib/passenger/abstract_server_rb.html +127 -0
- data/doc/rdoc/files/lib/passenger/application_rb.html +123 -0
- data/doc/rdoc/files/lib/passenger/console_text_template_rb.html +122 -0
- data/doc/rdoc/files/lib/passenger/constants_rb.html +114 -0
- data/doc/rdoc/files/lib/passenger/dependencies_rb.html +130 -0
- data/doc/rdoc/files/lib/passenger/exceptions_rb.html +118 -0
- data/doc/rdoc/files/lib/passenger/html_template_rb.html +122 -0
- data/doc/rdoc/files/lib/passenger/message_channel_rb.html +118 -0
- data/doc/rdoc/files/lib/passenger/platform_info_rb.html +122 -0
- data/doc/rdoc/files/lib/passenger/simple_benchmarking_rb.html +118 -0
- data/doc/rdoc/files/lib/passenger/spawn_manager_rb.html +139 -0
- data/doc/rdoc/files/lib/passenger/utils_rb.html +130 -0
- data/doc/rdoc/files/lib/rake/extensions_rb.html +122 -0
- data/doc/rdoc/fr_class_index.html +71 -0
- data/doc/rdoc/fr_file_index.html +63 -0
- data/doc/rdoc/fr_method_index.html +120 -0
- data/doc/rdoc/index.html +26 -0
- data/doc/rdoc/rdoc-style.css +187 -0
- data/ext/apache2/ApplicationPool.h +12 -0
- data/ext/apache2/ApplicationPoolServer.h +6 -0
- data/ext/apache2/ApplicationPoolServerExecutable.cpp +6 -0
- data/ext/apache2/Bucket.cpp +63 -69
- data/ext/apache2/Bucket.h +2 -0
- data/ext/apache2/Configuration.cpp +24 -0
- data/ext/apache2/Configuration.h +16 -1
- data/ext/apache2/Hooks.cpp +5 -3
- data/ext/apache2/StandardApplicationPool.h +30 -11
- data/lib/passenger/abstract_request_handler.rb +3 -0
- data/lib/passenger/abstract_server.rb +3 -3
- data/lib/passenger/application.rb +4 -2
- data/lib/passenger/dependencies.rb +10 -1
- data/lib/passenger/platform_info.rb +40 -1
- data/lib/passenger/rack/request_handler.rb +4 -2
- data/lib/passenger/railz/application_spawner.rb +7 -1
- data/lib/passenger/utils.rb +6 -8
- data/lib/rake/gempackagetask.rb +0 -6
- data/lib/rake/rdoctask.rb +84 -23
- data/test/ApplicationPoolTest.cpp +36 -0
- data/test/ruby/rails/minimal_spawner_spec.rb +8 -0
- data/test/ruby/utils_spec.rb +33 -0
- data/test/stub/rails_apps/foobar/config/environments/production.rb +0 -1
- metadata +262 -5
@@ -0,0 +1,59 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: Class List</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li class="current"><a href="annotated.html"><span>Class List</span></a></li>
|
21
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
22
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="contents">
|
27
|
+
<h1>Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
|
28
|
+
<tr><td class="indexkey"><a class="el" href="structPassenger_1_1AnythingToString.html">Passenger::AnythingToString< T ></a></td><td class="indexvalue">Used internally by <a class="el" href="group__Support.html#gf6fab368d70c18fdf16bf5a24f630407" title="Convert anything to a string.">toString()</a> </td></tr>
|
29
|
+
<tr><td class="indexkey"><a class="el" href="structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html">Passenger::Passenger::AnythingToString< vector< string > ></a></td><td class="indexvalue">Used internally by <a class="el" href="group__Support.html#gf6fab368d70c18fdf16bf5a24f630407" title="Convert anything to a string.">toString()</a> </td></tr>
|
30
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1Application.html">Passenger::Application</a></td><td class="indexvalue">Represents a single Ruby on Rails or Rack application instance </td></tr>
|
31
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1Application_1_1Session.html">Passenger::Application::Session</a></td><td class="indexvalue">Represents the life time of a single request/response pair of a Ruby on Rails or Rack application </td></tr>
|
32
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1ApplicationPool.html">Passenger::ApplicationPool</a></td><td class="indexvalue">A persistent pool of Applications </td></tr>
|
33
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1ApplicationPoolServer.html">Passenger::ApplicationPoolServer</a></td><td class="indexvalue">Multi-process usage support for <a class="el" href="classPassenger_1_1ApplicationPool.html" title="A persistent pool of Applications.">ApplicationPool</a> </td></tr>
|
34
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1BusyException.html">Passenger::BusyException</a></td><td class="indexvalue">The application pool is too busy and cannot fulfill a get() request </td></tr>
|
35
|
+
<tr><td class="indexkey"><a class="el" href="classClient.html">Client</a></td><td class="indexvalue">Represents a single ApplicationPool client, connected to this server </td></tr>
|
36
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1ConfigurationException.html">Passenger::ConfigurationException</a></td><td class="indexvalue">Thrown when an invalid configuration is given </td></tr>
|
37
|
+
<tr><td class="indexkey"><a class="el" href="classDirectoryMapper.html">DirectoryMapper</a></td><td class="indexvalue">Utility class for determining URI-to-Rails/Rack directory mappings </td></tr>
|
38
|
+
<tr><td class="indexkey"><a class="el" href="classboost_1_1this__thread_1_1disable__syscall__interruption.html">boost::this_thread::disable_syscall_interruption</a></td><td class="indexvalue">Create this struct on the stack to temporarily disable system call interruption, until the object goes out of scope </td></tr>
|
39
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1DummySpawnManager.html">Passenger::DummySpawnManager</a></td><td class="indexvalue">A dummy <a class="el" href="classPassenger_1_1SpawnManager.html" title="Spawning of Ruby on Rails/Rack application instances.">SpawnManager</a> replacement for testing/debugging purposes </td></tr>
|
40
|
+
<tr><td class="indexkey"><a class="el" href="classboost_1_1this__thread_1_1enable__syscall__interruption.html">boost::this_thread::enable_syscall_interruption</a></td><td class="indexvalue">Create this struct on the stack to temporarily enable system call interruption, until the object goes out of scope </td></tr>
|
41
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1FileNotFoundException.html">Passenger::FileNotFoundException</a></td><td class="indexvalue">Thrown when a certain file cannot be found </td></tr>
|
42
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1FileSystemException.html">Passenger::FileSystemException</a></td><td class="indexvalue">A filesystem error, as returned by the operating system </td></tr>
|
43
|
+
<tr><td class="indexkey"><a class="el" href="classHooks.html">Hooks</a></td><td class="indexvalue">Apache hook functions, wrapped in a class </td></tr>
|
44
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1IOException.html">Passenger::IOException</a></td><td class="indexvalue">Represents an error that occured during an I/O operation </td></tr>
|
45
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1MessageChannel.html">Passenger::MessageChannel</a></td><td class="indexvalue">Convenience class for I/O operations on file descriptors </td></tr>
|
46
|
+
<tr><td class="indexkey"><a class="el" href="classboost_1_1this__thread_1_1restore__syscall__interruption.html">boost::this_thread::restore_syscall_interruption</a></td><td class="indexvalue">Creating an object of this class on the stack will restore the system call interruption state to what it was before </td></tr>
|
47
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1SpawnException.html">Passenger::SpawnException</a></td><td class="indexvalue">Thrown when <a class="el" href="classPassenger_1_1SpawnManager.html" title="Spawning of Ruby on Rails/Rack application instances.">SpawnManager</a> or <a class="el" href="classPassenger_1_1ApplicationPool.html" title="A persistent pool of Applications.">ApplicationPool</a> fails to spawn an application instance </td></tr>
|
48
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1SpawnManager.html">Passenger::SpawnManager</a></td><td class="indexvalue">Spawning of Ruby on Rails/Rack application instances </td></tr>
|
49
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1StandardApplicationPool.html">Passenger::StandardApplicationPool</a></td><td class="indexvalue">A standard implementation of <a class="el" href="classPassenger_1_1ApplicationPool.html" title="A persistent pool of Applications.">ApplicationPool</a> for single-process environments </td></tr>
|
50
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1SystemException.html">Passenger::SystemException</a></td><td class="indexvalue">Represents an error returned by a system call or a standard library call </td></tr>
|
51
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1TempFile.html">Passenger::TempFile</a></td><td class="indexvalue">Represents a temporary file </td></tr>
|
52
|
+
<tr><td class="indexkey"><a class="el" href="classPassenger_1_1Thread.html">Passenger::Thread</a></td><td class="indexvalue"><a class="el" href="classPassenger_1_1Thread.html" title="Thread class with system call interruption support.">Thread</a> class with system call interruption support </td></tr>
|
53
|
+
</table>
|
54
|
+
</div>
|
55
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 1 14:27:22 2008 for Passenger by
|
56
|
+
<a href="http://www.doxygen.org/index.html">
|
57
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
58
|
+
</body>
|
59
|
+
</html>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: Member List</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
21
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
22
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="contents">
|
27
|
+
<h1>Client Member List</h1>This is the complete list of members for <a class="el" href="classClient.html">Client</a>, including all inherited members.<p><table>
|
28
|
+
<tr class="memlist"><td><a class="el" href="classClient.html#e625bb32c95bde75bfa4bdfdb8ee56db">Client</a>(Server &the_server, int connection)</td><td><a class="el" href="classClient.html">Client</a></td><td><code> [inline]</code></td></tr>
|
29
|
+
<tr class="memlist"><td><a class="el" href="classClient.html#c0a8dd9e23393c045064b109355a7daf">start</a>(const weak_ptr< Client > self)</td><td><a class="el" href="classClient.html">Client</a></td><td><code> [inline]</code></td></tr>
|
30
|
+
</table></div>
|
31
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 1 14:27:22 2008 for Passenger by
|
32
|
+
<a href="http://www.doxygen.org/index.html">
|
33
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
34
|
+
</body>
|
35
|
+
</html>
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: Client Class Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
21
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
22
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="contents">
|
27
|
+
<h1>Client Class Reference</h1><!-- doxytag: class="Client" -->
|
28
|
+
<p>
|
29
|
+
<a href="classClient-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
30
|
+
Represents a single ApplicationPool client, connected to this server.
|
31
|
+
<p>
|
32
|
+
<dl class="invariant" compact><dt><b>Invariant:</b></dt><dd>The life time of a <a class="el" href="classClient.html" title="Represents a single ApplicationPool client, connected to this server.">Client</a> object is guaranteed to be less than that of its associated Server object. </dd></dl>
|
33
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
34
|
+
<tr><td></td></tr>
|
35
|
+
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
36
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classClient.html#e625bb32c95bde75bfa4bdfdb8ee56db">Client</a> (Server &the_server, int connection)</td></tr>
|
37
|
+
|
38
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classClient.html" title="Represents a single ApplicationPool client, connected to this server.">Client</a> object. <a href="#e625bb32c95bde75bfa4bdfdb8ee56db"></a><br></td></tr>
|
39
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classClient.html#c0a8dd9e23393c045064b109355a7daf">start</a> (const weak_ptr< <a class="el" href="classClient.html">Client</a> > self)</td></tr>
|
40
|
+
|
41
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Start the thread for handling the connection with this client. <a href="#c0a8dd9e23393c045064b109355a7daf"></a><br></td></tr>
|
42
|
+
</table>
|
43
|
+
<hr><h2>Constructor & Destructor Documentation</h2>
|
44
|
+
<a class="anchor" name="e625bb32c95bde75bfa4bdfdb8ee56db"></a><!-- doxytag: member="Client::Client" ref="e625bb32c95bde75bfa4bdfdb8ee56db" args="(Server &the_server, int connection)" -->
|
45
|
+
<div class="memitem">
|
46
|
+
<div class="memproto">
|
47
|
+
<table class="memname">
|
48
|
+
<tr>
|
49
|
+
<td class="memname">Client::Client </td>
|
50
|
+
<td>(</td>
|
51
|
+
<td class="paramtype">Server & </td>
|
52
|
+
<td class="paramname"> <em>the_server</em>, </td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="paramkey"></td>
|
56
|
+
<td></td>
|
57
|
+
<td class="paramtype">int </td>
|
58
|
+
<td class="paramname"> <em>connection</em></td><td> </td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td></td>
|
62
|
+
<td>)</td>
|
63
|
+
<td></td><td></td><td width="100%"><code> [inline]</code></td>
|
64
|
+
</tr>
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<div class="memdoc">
|
68
|
+
|
69
|
+
<p>
|
70
|
+
Create a new <a class="el" href="classClient.html" title="Represents a single ApplicationPool client, connected to this server.">Client</a> object.
|
71
|
+
<p>
|
72
|
+
<dl compact><dt><b>Parameters:</b></dt><dd>
|
73
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
74
|
+
<tr><td valign="top"></td><td valign="top"><em>the_server</em> </td><td>The Server object that this <a class="el" href="classClient.html" title="Represents a single ApplicationPool client, connected to this server.">Client</a> belongs to. </td></tr>
|
75
|
+
<tr><td valign="top"></td><td valign="top"><em>connection</em> </td><td>The connection to the ApplicationPool client.</td></tr>
|
76
|
+
</table>
|
77
|
+
</dl>
|
78
|
+
<dl class="note" compact><dt><b>Note:</b></dt><dd><code>connection</code> will be closed upon destruction </dd></dl>
|
79
|
+
|
80
|
+
</div>
|
81
|
+
</div><p>
|
82
|
+
<hr><h2>Member Function Documentation</h2>
|
83
|
+
<a class="anchor" name="c0a8dd9e23393c045064b109355a7daf"></a><!-- doxytag: member="Client::start" ref="c0a8dd9e23393c045064b109355a7daf" args="(const weak_ptr< Client > self)" -->
|
84
|
+
<div class="memitem">
|
85
|
+
<div class="memproto">
|
86
|
+
<table class="memname">
|
87
|
+
<tr>
|
88
|
+
<td class="memname">void Client::start </td>
|
89
|
+
<td>(</td>
|
90
|
+
<td class="paramtype">const weak_ptr< <a class="el" href="classClient.html">Client</a> > </td>
|
91
|
+
<td class="paramname"> <em>self</em> </td>
|
92
|
+
<td> ) </td>
|
93
|
+
<td width="100%"><code> [inline]</code></td>
|
94
|
+
</tr>
|
95
|
+
</table>
|
96
|
+
</div>
|
97
|
+
<div class="memdoc">
|
98
|
+
|
99
|
+
<p>
|
100
|
+
Start the thread for handling the connection with this client.
|
101
|
+
<p>
|
102
|
+
<dl compact><dt><b>Parameters:</b></dt><dd>
|
103
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
104
|
+
<tr><td valign="top"></td><td valign="top"><em>self</em> </td><td>The iterator of this <a class="el" href="classClient.html" title="Represents a single ApplicationPool client, connected to this server.">Client</a> object inside the server's <code>clients</code> set. This is used to remove itself from the <code>clients</code> set once the client has closed the connection. </td></tr>
|
105
|
+
</table>
|
106
|
+
</dl>
|
107
|
+
|
108
|
+
</div>
|
109
|
+
</div><p>
|
110
|
+
<hr>The documentation for this class was generated from the following file:<ul>
|
111
|
+
<li>ApplicationPoolServerExecutable.cpp</ul>
|
112
|
+
</div>
|
113
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 1 14:27:22 2008 for Passenger by
|
114
|
+
<a href="http://www.doxygen.org/index.html">
|
115
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
116
|
+
</body>
|
117
|
+
</html>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: Member List</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
21
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
22
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="contents">
|
27
|
+
<h1>DirectoryMapper Member List</h1>This is the complete list of members for <a class="el" href="classDirectoryMapper.html">DirectoryMapper</a>, including all inherited members.<p><table>
|
28
|
+
<tr class="memlist"><td><a class="el" href="classDirectoryMapper.html#6e817b7dd49e6598e1d22f6ee8e44407">DirectoryMapper</a>(request_rec *r, DirConfig *config)</td><td><a class="el" href="classDirectoryMapper.html">DirectoryMapper</a></td><td><code> [inline]</code></td></tr>
|
29
|
+
<tr class="memlist"><td><a class="el" href="classDirectoryMapper.html#6498662c737db056cd79d7faa0fa71cf">getApplicationType</a>()</td><td><a class="el" href="classDirectoryMapper.html">DirectoryMapper</a></td><td><code> [inline]</code></td></tr>
|
30
|
+
<tr class="memlist"><td><a class="el" href="classDirectoryMapper.html#a5da2372a06eb92f78e55e5ab2f104ef">getApplicationTypeString</a>()</td><td><a class="el" href="classDirectoryMapper.html">DirectoryMapper</a></td><td><code> [inline]</code></td></tr>
|
31
|
+
<tr class="memlist"><td><a class="el" href="classDirectoryMapper.html#920caeb4d562d900b30119a2aae25574">getBaseURI</a>()</td><td><a class="el" href="classDirectoryMapper.html">DirectoryMapper</a></td><td><code> [inline]</code></td></tr>
|
32
|
+
<tr class="memlist"><td><a class="el" href="classDirectoryMapper.html#b05bbc3bd6ebbe64c00712c6a98f9fb8">getPublicDirectory</a>()</td><td><a class="el" href="classDirectoryMapper.html">DirectoryMapper</a></td><td><code> [inline]</code></td></tr>
|
33
|
+
</table></div>
|
34
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 1 14:27:22 2008 for Passenger by
|
35
|
+
<a href="http://www.doxygen.org/index.html">
|
36
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
37
|
+
</body>
|
38
|
+
</html>
|
@@ -0,0 +1,203 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: DirectoryMapper Class Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
21
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
22
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="contents">
|
27
|
+
<h1>DirectoryMapper Class Reference<br>
|
28
|
+
<small>
|
29
|
+
[<a class="el" href="group__Core.html">Core Apache-related classes and functions</a>]</small>
|
30
|
+
</h1><!-- doxytag: class="DirectoryMapper" -->
|
31
|
+
<p>
|
32
|
+
<a href="classDirectoryMapper-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
33
|
+
Utility class for determining URI-to-Rails/Rack directory mappings.
|
34
|
+
<p>
|
35
|
+
Given a URI, it will determine whether that URI belongs to a Rails/Rack application, what the base URI of that application is, and what the associated 'public' directory is.<p>
|
36
|
+
<dl class="note" compact><dt><b>Note:</b></dt><dd>This class is not thread-safe, but is reentrant. </dd></dl>
|
37
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
38
|
+
<tr><td></td></tr>
|
39
|
+
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
40
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDirectoryMapper.html#6e817b7dd49e6598e1d22f6ee8e44407">DirectoryMapper</a> (request_rec *r, DirConfig *config)</td></tr>
|
41
|
+
|
42
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDirectoryMapper.html#920caeb4d562d900b30119a2aae25574">getBaseURI</a> ()</td></tr>
|
43
|
+
|
44
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Determine whether the given HTTP request falls under one of the specified RailsBaseURIs or RackBaseURIs. <a href="#920caeb4d562d900b30119a2aae25574"></a><br></td></tr>
|
45
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classDirectoryMapper.html#b05bbc3bd6ebbe64c00712c6a98f9fb8">getPublicDirectory</a> ()</td></tr>
|
46
|
+
|
47
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the filename of the 'public' directory of the Rails/Rack application that's associated with the HTTP request. <a href="#b05bbc3bd6ebbe64c00712c6a98f9fb8"></a><br></td></tr>
|
48
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">ApplicationType </td><td class="memItemRight" valign="bottom"><a class="el" href="classDirectoryMapper.html#6498662c737db056cd79d7faa0fa71cf">getApplicationType</a> ()</td></tr>
|
49
|
+
|
50
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the application type that's associated with the HTTP request. <a href="#6498662c737db056cd79d7faa0fa71cf"></a><br></td></tr>
|
51
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDirectoryMapper.html#a5da2372a06eb92f78e55e5ab2f104ef">getApplicationTypeString</a> ()</td></tr>
|
52
|
+
|
53
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the application type (as a string) that's associated with the HTTP request. <a href="#a5da2372a06eb92f78e55e5ab2f104ef"></a><br></td></tr>
|
54
|
+
</table>
|
55
|
+
<hr><h2>Constructor & Destructor Documentation</h2>
|
56
|
+
<a class="anchor" name="6e817b7dd49e6598e1d22f6ee8e44407"></a><!-- doxytag: member="DirectoryMapper::DirectoryMapper" ref="6e817b7dd49e6598e1d22f6ee8e44407" args="(request_rec *r, DirConfig *config)" -->
|
57
|
+
<div class="memitem">
|
58
|
+
<div class="memproto">
|
59
|
+
<table class="memname">
|
60
|
+
<tr>
|
61
|
+
<td class="memname">DirectoryMapper::DirectoryMapper </td>
|
62
|
+
<td>(</td>
|
63
|
+
<td class="paramtype">request_rec * </td>
|
64
|
+
<td class="paramname"> <em>r</em>, </td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="paramkey"></td>
|
68
|
+
<td></td>
|
69
|
+
<td class="paramtype">DirConfig * </td>
|
70
|
+
<td class="paramname"> <em>config</em></td><td> </td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td></td>
|
74
|
+
<td>)</td>
|
75
|
+
<td></td><td></td><td width="100%"><code> [inline]</code></td>
|
76
|
+
</tr>
|
77
|
+
</table>
|
78
|
+
</div>
|
79
|
+
<div class="memdoc">
|
80
|
+
|
81
|
+
<p>
|
82
|
+
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>Do not use this object after the destruction of <code>r</code> or <code>config</code>. </dd></dl>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
</div><p>
|
86
|
+
<hr><h2>Member Function Documentation</h2>
|
87
|
+
<a class="anchor" name="920caeb4d562d900b30119a2aae25574"></a><!-- doxytag: member="DirectoryMapper::getBaseURI" ref="920caeb4d562d900b30119a2aae25574" args="()" -->
|
88
|
+
<div class="memitem">
|
89
|
+
<div class="memproto">
|
90
|
+
<table class="memname">
|
91
|
+
<tr>
|
92
|
+
<td class="memname">const char* DirectoryMapper::getBaseURI </td>
|
93
|
+
<td>(</td>
|
94
|
+
<td class="paramname"> </td>
|
95
|
+
<td> ) </td>
|
96
|
+
<td width="100%"><code> [inline]</code></td>
|
97
|
+
</tr>
|
98
|
+
</table>
|
99
|
+
</div>
|
100
|
+
<div class="memdoc">
|
101
|
+
|
102
|
+
<p>
|
103
|
+
Determine whether the given HTTP request falls under one of the specified RailsBaseURIs or RackBaseURIs.
|
104
|
+
<p>
|
105
|
+
If yes, then the first matching base URI will be returned.<p>
|
106
|
+
If Rails/Rack autodetection was enabled in the configuration, and the document root seems to be a valid Rails/Rack 'public' folder, then this method will return "/".<p>
|
107
|
+
Otherwise, NULL will be returned.<p>
|
108
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
109
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
110
|
+
<tr><td valign="top"></td><td valign="top"><em>SystemException</em> </td><td>An error occured while examening the filesystem. </td></tr>
|
111
|
+
</table>
|
112
|
+
</dl>
|
113
|
+
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The return value may only be used as long as <code>config</code> hasn't been destroyed. </dd></dl>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
</div><p>
|
117
|
+
<a class="anchor" name="b05bbc3bd6ebbe64c00712c6a98f9fb8"></a><!-- doxytag: member="DirectoryMapper::getPublicDirectory" ref="b05bbc3bd6ebbe64c00712c6a98f9fb8" args="()" -->
|
118
|
+
<div class="memitem">
|
119
|
+
<div class="memproto">
|
120
|
+
<table class="memname">
|
121
|
+
<tr>
|
122
|
+
<td class="memname">string DirectoryMapper::getPublicDirectory </td>
|
123
|
+
<td>(</td>
|
124
|
+
<td class="paramname"> </td>
|
125
|
+
<td> ) </td>
|
126
|
+
<td width="100%"><code> [inline]</code></td>
|
127
|
+
</tr>
|
128
|
+
</table>
|
129
|
+
</div>
|
130
|
+
<div class="memdoc">
|
131
|
+
|
132
|
+
<p>
|
133
|
+
Returns the filename of the 'public' directory of the Rails/Rack application that's associated with the HTTP request.
|
134
|
+
<p>
|
135
|
+
Returns an empty string if the document root of the HTTP request cannot be determined, or if it isn't a valid folder.<p>
|
136
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
137
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
138
|
+
<tr><td valign="top"></td><td valign="top"><em>SystemException</em> </td><td>An error occured while examening the filesystem. </td></tr>
|
139
|
+
</table>
|
140
|
+
</dl>
|
141
|
+
|
142
|
+
</div>
|
143
|
+
</div><p>
|
144
|
+
<a class="anchor" name="6498662c737db056cd79d7faa0fa71cf"></a><!-- doxytag: member="DirectoryMapper::getApplicationType" ref="6498662c737db056cd79d7faa0fa71cf" args="()" -->
|
145
|
+
<div class="memitem">
|
146
|
+
<div class="memproto">
|
147
|
+
<table class="memname">
|
148
|
+
<tr>
|
149
|
+
<td class="memname">ApplicationType DirectoryMapper::getApplicationType </td>
|
150
|
+
<td>(</td>
|
151
|
+
<td class="paramname"> </td>
|
152
|
+
<td> ) </td>
|
153
|
+
<td width="100%"><code> [inline]</code></td>
|
154
|
+
</tr>
|
155
|
+
</table>
|
156
|
+
</div>
|
157
|
+
<div class="memdoc">
|
158
|
+
|
159
|
+
<p>
|
160
|
+
Returns the application type that's associated with the HTTP request.
|
161
|
+
<p>
|
162
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
163
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
164
|
+
<tr><td valign="top"></td><td valign="top"><em>SystemException</em> </td><td>An error occured while examening the filesystem. </td></tr>
|
165
|
+
</table>
|
166
|
+
</dl>
|
167
|
+
|
168
|
+
</div>
|
169
|
+
</div><p>
|
170
|
+
<a class="anchor" name="a5da2372a06eb92f78e55e5ab2f104ef"></a><!-- doxytag: member="DirectoryMapper::getApplicationTypeString" ref="a5da2372a06eb92f78e55e5ab2f104ef" args="()" -->
|
171
|
+
<div class="memitem">
|
172
|
+
<div class="memproto">
|
173
|
+
<table class="memname">
|
174
|
+
<tr>
|
175
|
+
<td class="memname">const char* DirectoryMapper::getApplicationTypeString </td>
|
176
|
+
<td>(</td>
|
177
|
+
<td class="paramname"> </td>
|
178
|
+
<td> ) </td>
|
179
|
+
<td width="100%"><code> [inline]</code></td>
|
180
|
+
</tr>
|
181
|
+
</table>
|
182
|
+
</div>
|
183
|
+
<div class="memdoc">
|
184
|
+
|
185
|
+
<p>
|
186
|
+
Returns the application type (as a string) that's associated with the HTTP request.
|
187
|
+
<p>
|
188
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
189
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
190
|
+
<tr><td valign="top"></td><td valign="top"><em>SystemException</em> </td><td>An error occured while examening the filesystem. </td></tr>
|
191
|
+
</table>
|
192
|
+
</dl>
|
193
|
+
|
194
|
+
</div>
|
195
|
+
</div><p>
|
196
|
+
<hr>The documentation for this class was generated from the following file:<ul>
|
197
|
+
<li>Hooks.cpp</ul>
|
198
|
+
</div>
|
199
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 1 14:27:22 2008 for Passenger by
|
200
|
+
<a href="http://www.doxygen.org/index.html">
|
201
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
202
|
+
</body>
|
203
|
+
</html>
|