Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Some install n conf

  • Loading branch information...
commit 22658c21463e3b96f7c7e9d3fb1fe48e21f98f06 1 parent 06d8c97
@lifo authored
View
94 configure.html
@@ -0,0 +1,94 @@
+<!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 - Scale your 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="index.html">Home</a></li>
+ <li> | </li>
+ <li><a href="install.html">Install</a></li>
+ <li> | </li>
+ <li><a href="configure.html">Configure</a></li>
+ <li> | </li>
+ <li><a href="support.html">Support</a></li>
+ <li> | </li>
+ <li><a href="donate.html">Donate</a></li>
+ </ul>
+ </div>
+ <div class="clear"></div>
+ </div>
+
+ <div class="wrapper">
+
+ <div id="header">
+ <br />
+ <h1>ModPorter</h1>
+ <h2>Scale your 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>
View
2  donate.html
@@ -19,6 +19,8 @@
<li> | </li>
<li><a href="install.html">Install</a></li>
<li> | </li>
+ <li><a href="configure.html">Configure</a></li>
+ <li> | </li>
<li><a href="support.html">Support</a></li>
<li> | </li>
<li><a href="donate.html">Donate</a></li>
View
2  home.html
@@ -19,6 +19,8 @@
<li> | </li>
<li><a href="install.html">Install</a></li>
<li> | </li>
+ <li><a href="configure.html">Configure</a></li>
+ <li> | </li>
<li><a href="support.html">Support</a></li>
<li> | </li>
<li><a href="donate.html">Donate</a></li>
View
47 install.html
@@ -19,6 +19,8 @@
<li> | </li>
<li><a href="install.html">Install</a></li>
<li> | </li>
+ <li><a href="configure.html">Configure</a></li>
+ <li> | </li>
<li><a href="support.html">Support</a></li>
<li> | </li>
<li><a href="donate.html">Donate</a></li>
@@ -34,11 +36,52 @@
<h1>ModPorter</h1>
<h2>Scale your file uploads</h2>
</div>
+
<div id="content">
- Copy/Paste our INSTALL File
- </div>
+ <h4>1. Install libapreq</h4>
+ ModPorter uses libapreq for parsing the multipart request.
+ <ul>
+ <li>Download libapreq 2.10 RC1 from <a href="http://people.apache.org/~bojan/libapreq2-2.10-RC1.tar.gz">here</a>.</li>
+ <li>Install the C API :
+ <pre>
+ <code>
+ % ./configure --with-apache2-apxs=/path/to/apache2/bin/apxs
+ % make
+ % make test
+ % make install
+ </code>
+ </pre>
+ </li>
+ </ul>
+ <h4>2. Install ModPorter</h4>
+ <ul>
+ <li>Download the latest version of ModPorter from <a href="">here</a>.</li>
+ <li>Install using the rake command :
+ <pre>
+ <code>
+ % rake
+ </code>
+ </pre>
+ </li>
+ <li><a href="configure.html">Configure</a> ModPorter.</li>
+ </ul>
+
+ <h4>3. Install the Rails Plugin - acts_as_porter ( optional )</h4>
+ This step applies only if you wish to use ModPorter with a Rails application.
+ <ul>
+ <li>Install using the plugin using script/plugin inside your Rails application :
+ <pre>
+ <code>
+ % script/plugin install git://acts_as_porter.git
+ </code>
+ </pre>
+ </li>
+ </ul>
+
+ </div>
</div>
+
<div id="footer">
A product of <a href="http://www.actionrails.com">ActionRails</a>
</div>
View
2  support.html
@@ -19,6 +19,8 @@
<li> | </li>
<li><a href="install.html">Install</a></li>
<li> | </li>
+ <li><a href="configure.html">Configure</a></li>
+ <li> | </li>
<li><a href="support.html">Support</a></li>
<li> | </li>
<li><a href="donate.html">Donate</a></li>
Please sign in to comment.
Something went wrong with that request. Please try again.