Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
91 lines (79 sloc) 2.98 KB
<!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 &lt;on|off&gt;</h3>
<p>Default : <i>off</i></p>
<p>Enable or Disable ModPorter.</p>
</li>
<li>
<h3>PorterSharedSecret &lt;string&gt;</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 &lt;file size&gt;</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 &lt;file permission hash&gt;</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>