Cookbook

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Pcowan (Talk); changed back to last version by Rickhigh)
Line 5: Line 5:
 
== Full Configurations ==
 
== Full Configurations ==
  
; [[Cookbook: Apache-style single webapp server ]]
+
; [[Apache-style single webapp server ]]
 
: using /var/www/public-html as the single webapp
 
: using /var/www/public-html as the single webapp
; [[Cookbook: Webapps-style war deployment ]]
+
; [[Webapps-style war deployment ]]
 
: using /var/www/webapps for .war deployment and expansion
 
: using /var/www/webapps for .war deployment and expansion
; [[Cookbook: Virtual Hosts using Hosts Directory ]]
+
; [[Virtual Hosts using Hosts Directory ]]
 
: using /var/www/hosts/www.foo.com/webapps/ROOT for virtual hosts and webapps
 
: using /var/www/hosts/www.foo.com/webapps/ROOT for virtual hosts and webapps
; [[Cookbook: Cluster with Two Servers ]]
+
; [[Cluster with Two Servers ]]
 
: cluster configuration describing how to add multiple servers to a cluster
 
: cluster configuration describing how to add multiple servers to a cluster
; [[Cookbook: Resin Load Balancing ]]
+
; [[Resin Load Balancing ]]
 
: Using Resin as a HTTP server, load balancing to backend Resin application servers
 
: Using Resin as a HTTP server, load balancing to backend Resin application servers
; [[Cookbook: Two Cluster Load Balancing ]]
+
; [[Two Cluster Load Balancing ]]
 
: Load balancing /foo and /bar to two separate backend clusters  
 
: Load balancing /foo and /bar to two separate backend clusters  
; [[Cookbook: Resin administration ]]
+
; [[Resin administration ]]
 
: Configuring the /resin-admin service on port :8081
 
: Configuring the /resin-admin service on port :8081
; [[Cookbook: Resin behind SSL Load Balancer ]]
+
; [[Resin behind SSL Load Balancer ]]
 
: Redirects and SSL security handling with Resin as a backend
 
: Redirects and SSL security handling with Resin as a backend
; [[Cookbook: Resin using OpenSSL ]]
+
; [[Resin using OpenSSL ]]
 
: Configuring the 443 port to use OpenSSL
 
: Configuring the 443 port to use OpenSSL
  
 
== Installation ==
 
== Installation ==
  
; [[Cookbook: Windows Service]]
+
; [[Windows Service]]
 
: Installing and starting Resin as a windows service
 
: Installing and starting Resin as a windows service
  
 
== Security ==
 
== Security ==
  
; [[Cookbook: Security with User in Role ]]
+
; [[Security with User in Role ]]
; [[Cookbook: Security with Ssl ]]
+
; [[Security with Ssl ]]
; [[Cookbook: Custom Authenticator with FormLogin and UserInRole ]]
+
; [[Custom Authenticator with FormLogin and UserInRole ]]
 
: creating a Custom Authenticator with form login
 
: creating a Custom Authenticator with form login
; [[Cookbook: Custom Authenticator and CustomLogin ]]
+
; [[Custom Authenticator and CustomLogin ]]
 
: using a Custom Login with custom cookies
 
: using a Custom Login with custom cookies
  
  
 
== Performance analysis ==
 
== Performance analysis ==
; [[Cookbook: Debugging throughput issue: blocked thread issues]]
+
; [[Debugging throughput issue: blocked thread issues]]
  
 
== Proxy and Load Balancing ==
 
== Proxy and Load Balancing ==
  
; [[Cookbook: FastCGI ]]
+
; [[FastCGI ]]
 
: using Resin to load balance to a backend FastCGI server like Ruby or PHP
 
: using Resin to load balance to a backend FastCGI server like Ruby or PHP
; [[Cookbook: HttpProxy ]]
+
; [[HttpProxy ]]
 
: using Resin to load balance to a backend HTTP like Apache or IIS
 
: using Resin to load balance to a backend HTTP like Apache or IIS
  
 
== Networking ==
 
== Networking ==
  
; [[Cookbook: Throttling HTTP by Remote IP ]]
+
; [[Throttling HTTP by Remote IP ]]
 
: protecting the server against attacks by limiting connections from a single IP address
 
: protecting the server against attacks by limiting connections from a single IP address
  
 
== Logging ==
 
== Logging ==
  
; [[Cookbook: Mail Log-Handler ]]
+
; [[Mail Log-Handler ]]
  
 
== Rewrite ==
 
== Rewrite ==
  
; [[Cookbook: Moved Permanently ]]
+
; [[Moved Permanently ]]
  
 
== Timers and Cron ==
 
== Timers and Cron ==
  
; [[Cookbook: Scheduled Task]]
+
; [[Scheduled Task]]

Revision as of 17:41, 21 October 2011


The Resin Cookbook category contains single-configuration examples, each focused on a single Resin configuration.

Contents

Full Configurations

Apache-style single webapp server
using /var/www/public-html as the single webapp
Webapps-style war deployment
using /var/www/webapps for .war deployment and expansion
Virtual Hosts using Hosts Directory
using /var/www/hosts/www.foo.com/webapps/ROOT for virtual hosts and webapps
Cluster with Two Servers
cluster configuration describing how to add multiple servers to a cluster
Resin Load Balancing
Using Resin as a HTTP server, load balancing to backend Resin application servers
Two Cluster Load Balancing
Load balancing /foo and /bar to two separate backend clusters
Resin administration
Configuring the /resin-admin service on port :8081
Resin behind SSL Load Balancer
Redirects and SSL security handling with Resin as a backend
Resin using OpenSSL
Configuring the 443 port to use OpenSSL

Installation

Windows Service
Installing and starting Resin as a windows service

Security

Security with User in Role
Security with Ssl
Custom Authenticator with FormLogin and UserInRole
creating a Custom Authenticator with form login
Custom Authenticator and CustomLogin
using a Custom Login with custom cookies


Performance analysis

Debugging throughput issue: blocked thread issues

Proxy and Load Balancing

FastCGI
using Resin to load balance to a backend FastCGI server like Ruby or PHP
HttpProxy
using Resin to load balance to a backend HTTP like Apache or IIS

Networking

Throttling HTTP by Remote IP
protecting the server against attacks by limiting connections from a single IP address

Logging

Mail Log-Handler

Rewrite

Moved Permanently

Timers and Cron

Scheduled Task
Personal tools