http://wiki3.caucho.com/index.php?title=Resin_administration&feed=atom&action=historyResin administration - Revision history2024-03-29T14:27:10ZRevision history for this page on the wikiMediaWiki 1.18.0http://wiki3.caucho.com/index.php?title=Resin_administration&diff=4068&oldid=prevPcowan: Cookbook: Resin administration moved to Resin administration2011-10-21T17:35:29Z<p><a href="/Cookbook:_Resin_administration" class="mw-redirect" title="Cookbook: Resin administration">Cookbook: Resin administration</a> moved to <a href="/Resin_administration" title="Resin administration">Resin administration</a></p>
<table class='diff diff-contentalign-left'>
<tr valign='top'>
<td colspan='1' style="background-color: white; color:black;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black;">Revision as of 17:35, 21 October 2011</td>
</tr></table>Pcowanhttp://wiki3.caucho.com/index.php?title=Resin_administration&diff=3790&oldid=prevFerg at 23:32, 2 October 20102010-10-02T23:32:31Z<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 23:32, 2 October 2010</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 8:</td>
<td colspan="2" class="diff-lineno">Line 8:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       xmlns:resin="urn:java:com.caucho.resin"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       xmlns:resin="urn:java:com.caucho.resin"></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>    </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>    </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;">  <resin:AdminAuthenticator></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;">    <resin:import path="${__DIR__}/admin-users.xml" optional="true"/></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;">  </resin:AdminAuthenticator></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;"> </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   <cluster id=""></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   <cluster id=""></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <resin:import path="${__DIR__}/app-default.xml"/></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <resin:import path="${__DIR__}/app-default.xml"/></div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 37:</td>
<td colspan="2" class="diff-lineno">Line 41:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </resin></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </resin></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 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;">* /resin-admin login is enabled with the AdminAuthenticator</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;">* The admin users are configured in ${resin.home}/admin-users.xml</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* The server listens to HTTP ports 80 and 8071</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* The server listens to HTTP ports 80 and 8071</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* The server runs as the "resin" user instead of root</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* The server runs as the "resin" user instead of root</div></td></tr>
</table>Ferghttp://wiki3.caucho.com/index.php?title=Resin_administration&diff=3789&oldid=prevFerg: New page: Category: Cookbook Category: Admin Resin's administration page /resin-admin should generally be enabled for all Resin servers. For security, it's best to have /resin-admin availab...2010-10-02T23:31:06Z<p>New page: <a href="/Category:Cookbook" title="Category:Cookbook">Category: Cookbook</a> <a href="/Category:Admin" title="Category:Admin">Category: Admin</a> Resin's administration page /resin-admin should generally be enabled for all Resin servers. For security, it's best to have /resin-admin availab...</p>
<p><b>New page</b></p><div>[[Category: Cookbook]] [[Category: Admin]]<br />
<br />
Resin's administration page /resin-admin should generally be enabled for all Resin servers. For security, it's best to have /resin-admin available on a dedicated virtual host, a separate TCP port, so your admin will be protected by your firewall.<br />
<br />
== resin.xml for /resin-admin on port 8091 ==<br />
<br />
<resin xmlns="http://caucho.com/ns/resin"<br />
xmlns:resin="urn:java:com.caucho.resin"><br />
<br />
<cluster id=""><br />
<resin:import path="${__DIR__}/app-default.xml"/><br />
<br />
<server-default><br />
<http port="80"/><br />
<http port="8091"/><br />
<user-name>resin</user-name><br />
<group-name>resin</group-name><br />
</server-default><br />
<br />
<server id="a" address="192.168.1.10" port"6800"/><br />
<br />
<host id=""> <br />
<web-app-deploy path="webapps"/><br />
</host><br />
<br />
<host id=":8091"><br />
<br />
<web-app id="/resin-admin" root-directory="${resin.root}/doc/admin"><br />
<prologue><br />
<resin:set var="resin_admin_external" value="false"/><br />
<resin:set var="resin_admin_insecure" value="true"/><br />
</prologue><br />
</web-app><br />
<br />
</host><br />
</cluster><br />
</resin><br />
<br />
* The server listens to HTTP ports 80 and 8071<br />
* The server runs as the "resin" user instead of root<br />
* Applications are deployed to /var/www/webapps<br />
* The web-apps are served through the default virtual host<br />
* The resin-admin is served through the ":8091" virtual host<br />
* The /resin-admin web-app is in ${resin.root}/doc/admin<br />
* We've enabled non-localhost and non-SSL access to /resin-admin</div>Ferg