-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.html
90 lines (79 loc) · 2.98 KB
/
configure.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>ModPorter - Painless file uploads</title>
<link rel="shortcut icon" href="_ui/images/ico/favicon.ico" type="image/x-icon" />
<style type="text/css" media="screen,projection">
@import "stylesheets/application.css";
</style>
<!--[if IE]><style type="text/css" media="screen,projection">@import "stylesheets/main_ie.css";</style><![endif]-->
<!--[if lt IE 7]><style type="text/css" media="screen,projection">@import "stylesheets/main_ie6.css";</style><![endif]-->
</head>
<body>
<div class="head-wrapper">
<div id="menu">
<ul id="top-nav">
<li><a href="home.html">Home</a></li>
<li> | </li>
<li><a href="install.html">Install</a></li>
<li> | </li>
<li><a href="configure.html">Configure</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<div class="wrapper">
<div id="header">
<br />
<h1>ModPorter</h1>
<h2>Painless file uploads</h2>
</div>
<div id="content">
<h2>Configure ModPorter w/Apache</h2>
<p>The following are ModPorter's Apache configuration options suitable inside the application's <strong>VirtualHost</strong> directive.</p>
<strong><i>Required Configuration</i></strong>
<ul>
<li>
<h3>Porter <on|off></h3>
<p>Default : <i>off</i></p>
<p>Enable or Disable ModPorter.</p>
</li>
<li>
<h3>PorterSharedSecret <string></h3>
<p>A secret phrase used for signing the parsed parameters' header containing the information about uploaded files. <strong><i>PorterSharedSecret</i></strong> is essential for ensuring a secure transaction between your application and ModPorter.</p>
</li>
</ul>
<strong><i>Optional Configuration</i></strong>
<ul>
<li>
<h3>PorterMinSize <file size></h3>
<p>Default : <i>0</i></p>
<p>Possible Values :
<ul>
<li>10M</li>
<li>2048K</li>
<li>1G</li>
</ul>
</p>
<p>If the total size of uploaded data is less than <strong><i>PorterMinSize</i></strong>, ModPorter will bypass parsing the multipart data.</p>
</li>
<li>
<h3>PorterPermission <file permission hash></h3>
<p>Default : <i>0x0666</i></p>
<p>Possible Values :
<ul>
<li>0x0006</li>
<li>0x0777</li>
</ul>
</p>
<p><strong><i>PorterPermission</i></strong> determines the default file permission of the temporary files created by ModPorter.</p>
</li>
</ul>
</div>
</div>
<div id="footer">
A product of <a href="http://www.actionrails.com">ActionRails</a>
</div>
</body>
</html>