http://wiki3.caucho.com/index.php?title=-server-root&feed=atom&action=history
-server-root - Revision history
2024-03-29T13:40:24Z
Revision history for this page on the wiki
MediaWiki 1.18.0
http://wiki3.caucho.com/index.php?title=-server-root&diff=4324&oldid=prev
Pcowan at 15:59, 7 December 2011
2011-12-07T15:59:12Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:59, 7 December 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">{{Cleanup}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Configuration]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Configuration]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>
Pcowan
http://wiki3.caucho.com/index.php?title=-server-root&diff=1610&oldid=prev
Ferg at 14:18, 21 December 2005
2005-12-21T14:18:50Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:18, 21 December 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Configuration]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Configuration]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">== Overview ==</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>The -server-root [[Command Line Options|command line option]] sets the root directory for server files.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>The -server-root [[Command Line Options|command line option]] sets the root directory for server files.</div></td></tr>
</table>
Ferg
http://wiki3.caucho.com/index.php?title=-server-root&diff=1609&oldid=prev
Ferg at 14:18, 21 December 2005
2005-12-21T14:18:30Z
<p></p>
<p><b>New page</b></p><div>[[Category:Configuration]]<br />
<br />
The -server-root [[Command Line Options|command line option]] sets the root directory for server files.<br />
<br />
A more flexible approach that is easier to upgrade is to build the website structure in a separate directory. <br />
That directory is the "server-root". <br />
<br />
Here is an example of making a server root in /var/wwwroot: <br />
<br />
$ mkdir /var/wwwroot <br />
$ cd /var/wwwroot <br />
$ cp -R /usr/local/resin-pro-3.0.10/conf . <br />
$ mkdir webapps <br />
$ mkdir webapps/ROOT <br />
$ echo "Test wwwroot home" > webapps/ROOT/index.jsp <br />
<br />
<br />
Start Resin with the -server-root option: <br />
<br />
<br />
$ /usr/local/resin-pro-3.0.10/bin/httpd.sh -server-root /var/wwwroot <br />
<br />
{|<br />
!location||purpose<br />
|-<br />
||/var/wwwroot/conf/resin.conf ||<br />
|-<br />
||/var/wwwroot/conf/app-default.xml ||<br />
|-<br />
||/var/wwwroot/webapps/ROOT/index.jsp ||corresponds to url http://host:port/<br />
|-<br />
||/var/wwwroot/webapps/myapp.war|corresponds to url http://host:port/myapp/<br />
|-<br />
||/var/wwwroot/webapps/anotherapp/index.jsp||corresponds to url http://host:port/anotherapp/<br />
|-<br />
||/var/wwwroot/hosts/gryffindor.com ||<br />
|-<br />
||/var/wwwroot/hosts/gryffindor.com/webapps/ROOT/index.jsp ||corresponds to url http://gryffindor.com:port/<br />
|-<br />
||/var/wwwroot/hosts/slytherin.com/webapps/ROOT/index.jsp ||corresponds to url http://slytherin.com:port/<br />
|-<br />
||/var/wwwroot/logs/access.log ||log file created by Resin, configured in conf/resin.conf<br />
|}<br />
<br />
== Upgrading ==<br />
<br />
=== 1) unpack the new tarball: ===<br />
<br />
$ cd /usr/local <br />
$ tar xzvf /usr/local/resin-pro-3.0.11.tar.gz <br />
<br />
<br />
=== 2) Check the Release Notes ===<br />
<br />
Check for any resin.conf changes that might be necessary.<br />
It is rare that a new version of Resin requires resin.conf <br />
changes.<br />
<br />
=== 3) run ./configure; make; make install ===<br />
<br />
$ cd resin-pro-3.0.11 <br />
$ ./configure; make; make install <br />
<br />
=== 4) Use the new install to start Resin ===<br />
<br />
$ /usr/local/resin-pro-3.0.11/bin/httpd.sh -server-root /var/wwwroot</div>
Ferg