Permalink
Browse files

Aspelled all the cookbooks.

git-svn-id: svn://cherokee-project.com/cherokee/trunk@4519 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent 95ae06e commit 5ba12d9ba8c424e264c0aea0bbe1c23a4cc4b5b1 @skinkie skinkie committed Mar 19, 2010
@@ -24,7 +24,7 @@ you must know that it uses JDK 1.5+, MySQL and Tomcat as application
server.
We will be installing the package and then setting up Cherokee as a
-reverse proxy to access this Enterprse Content Managment solution.
+reverse proxy to access this Enterprise Content Management solution.
[[alfresco]]
Phase one: Alfresco
@@ -47,7 +47,7 @@ The process is fairly straight forward.
image::media/images/cookbook_alfresco_install.png[Install process]
When you are asked for an OpenOffice location, you can select the
-Alfresco directory if you don'w want to use it for Office document
+Alfresco directory if you don't want to use it for Office document
conversions. If you can't seem to find a path that lets the installer
proceed, it could be that the installer is trying to look for the file
`soffice.exe`. There is information about this problem in their
@@ -117,7 +117,7 @@ assistant under the `Platforms` category of the Wizards. Click, answer a few
questions and you are done. You can then skip the rest of this
document.
-Should you have any problem with the assitant, you can perform the
+Should you have any problem with the assistant, you can perform the
same tasks manually. Simply set up Cherokee as reverse proxy. You can
either create a new virtual server with a matching rule (be it
`default` or anything else) if you are sharing the proxy machine, or
@@ -133,7 +133,7 @@ matches the desired path on your web server hierarchy -`/share` for
instance- in your virtual server of choice, and define the `HTTP
reverse proxy` handler from within the `Handler` tab.
-Remeber to configure an URL rewriting rule in the handler's
+Remember to configure an URL rewriting rule in the handler's
configuration. Alfresco's application server doesn't provide content
directly in the document root, so we'll have to add the required
subnode.
@@ -132,7 +132,7 @@ suits the shown query.
Assuming you have a MySQL user with privileges granted to create
-databases, a MySQL session simliar to this one would suffice:
+databases, a MySQL session similar to this one would suffice:
----
$ mysql -u cherokee -D cherokee -p
@@ -165,7 +165,7 @@ Another usage example
~~~~~~~~~~~~~~~~~~~~~
As you can see, getting the hang of how authentication works is pretty
-easy. Let's ilustrate another easy example. How to serve PHP files,
+easy. Let's illustrate another easy example. How to serve PHP files,
both from a protected location and an unprotected one?
Let's assume our locations are targets are:
@@ -192,7 +192,7 @@ And this would be more than enough. The files from the secure location
would match the first rule and the authentication would be
required. In case it was successful, not being a final rule, the
request would proceed to the second rule. Once there, the regular
-processing of PHP files would take palce. This one is a _FINAL_ rule,
+processing of PHP files would take place. This one is a _FINAL_ rule,
so the rule evaluation would stop.
In case the PHP files were not being requested from the secured
@@ -307,7 +307,7 @@ From there on the built-in functions should be extended to support
Cherokee Bridged MySQL resources as well as the regular MySQL ones.
If you don't care about mixing regular MySQL resources and Bridged
-ones, as will be the case in most ocasions, you could even skip the
+ones, as will be the case in most occasions, you could even skip the
manual initialization and simply modify the `cherokee_mysql_connect()`
and `cherokee_mysql_pconnect()` functions to do the task for you on
invocation.
@@ -94,7 +94,7 @@ called `manage.py`.
Django can be run on a TCP port or on a Unix socket. In our example we
will be launching it as threaded server on a TCP port with SCGI
-protocol. This is acomplished with the following command, which is
+protocol. This is accomplished with the following command, which is
what we will have to set up in `cherokee-admin`.
----
@@ -12,7 +12,7 @@ link:http://www.kumbiaphp.com/blog/about/[About] page:
**********************************************************************
Kumbia is a free web framework written in PHP5. Based on the best web
-developing practices, used in comercial and educational software,
+developing practices, used in commercial and educational software,
Kumbia encourages speed and efficiency in web application creation and
maintainment, substituting repetitive coding tasks for power, control
and pleasure.
@@ -15,7 +15,7 @@ link:http://www.liferay.com/web/guest/downloads/portal[Liferay Portal
You can use the standard package which is shipped with Tomcat as
application server, or simply download one of the others. There is a
link:http://downloads.sourceforge.net/lportal/liferay-portal-glassfish-linux-5.1.1.jar[Glassfish
-version] availabe. We will be using the former method, but you could
+version] available. We will be using the former method, but you could
choose the latter and just deploy the application in your favorite
application server. If you chose the Glassfish release, you could
refer to the link:cookbook_glassfish.html[Glassfish] recipe and the
@@ -25,7 +25,7 @@ Before we proceed with the installation on Linux, you will need to
make sure to have JDK 1.5 or later installed.
We will be installing the package and then setting up Cherokee as a
-reverse proxy to access this Enterprse Portal.
+reverse proxy to access this Enterprise Portal.
[[liferay]]
Phase one: Liferay
@@ -52,7 +52,7 @@ This path is set to the symbolic link present in `/usr/lib/jvm`. Yours
could vary, so take a look there. As stated before, you do need Java
1.5 or higher.
-Once you have launched it, you can already acces the application
+Once you have launched it, you can already access the application
server directly at link:http://localhost:8080[http://localhost:8080]
.Initial access information
@@ -78,7 +78,7 @@ assistant under the `Platforms` category of the Wizards. Click, answer a few
questions and you are done. You can then skip the rest of this
document.
-Should you have any problem with the assitant, you can perform the
+Should you have any problem with the assistant, you can perform the
same tasks manually. Simply set up Cherokee as reverse proxy. You can
either create a new virtual server with a matching rule (be it
`default` or anything else) if you are sharing the proxy machine, or
@@ -87,7 +87,7 @@ choice, since typically you will be wanting to get the best possible
performance, the Java application server is heavy by definition, and
you could be using the proxy machine also to serve other contents. We
are only going to set Cherokee's HTTP reverse proxy handler to hit the
-server running Lifreay at port 8080.
+server running Liferay at port 8080.
Launch Cherokee-Admin on your proxy machine, create a rule that
matches the desired path on your web server hierarchy -`/liferay` for
@@ -31,7 +31,7 @@ The steps are fairly simple:
+
image::media/images/cookbook_maintenance_copy.png[Copycat]
-- Dont forget to set up the domains handled by the virtual host.
+- Don't forget to set up the domains handled by the virtual host.
+
image::media/images/cookbook_maintenance_domain.png[Domain]
@@ -50,14 +50,14 @@ image::media/images/cookbook_maintenance_rule.png[Rule]
- Make sure the copycat is positioned above the original virtual host,
effectively having a higher priority for it. By default the new
virtual hosts are positioned on top of the rest. Just make sure you
- don't inadvertedly change the relative priorities.
+ don't inadvertently change the relative priorities.
+
image::media/images/cookbook_maintenance_result.png[Final result]
- Make a *graceful restart*.
By doing this, the existing connections to the original virtual host
-will be preserverd and will eventually end upon completion. At the
+will be preserved and will eventually end upon completion. At the
same time, new requests will be delivered to its copycat and will be
handled according to its specified behavior. If you don't want this
behavior you can always make a *hard restart*, effectively shutting
@@ -99,7 +99,7 @@ maintenance directory.
Advanced Example: Staff review
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-By now you can switch the server to and from maintenace mode.
+By now you can switch the server to and from maintenance mode.
The next essential feature needed is to allow specific users to be
able to access the original site, not the maintenance version, so that
the can view the changes reflected as soon as they work on something.
@@ -116,7 +116,7 @@ image::media/images/cookbook_maintenance_advanced_domains.png[Domains]
[NOTE]
As mentioned in the link:config_virtual_servers.html[Virtual Servers]
section, you should keep in mind the way the domain lists are
-interpreted. Whenever Cherokee recieves a request for a specific
+interpreted. Whenever Cherokee receives a request for a specific
domain, it evaluates the `Domain list` of every defined virtual host
in the order defined by the priorities of such hosts. If no domain
name matches the request, Cherokee re-evaluates the list of virtual
@@ -131,7 +131,7 @@ Cherokee issue the failure.
10.0.0.118 intranet_example
----
+
-In this case we are using the IP address asigned to the server in our
+In this case we are using the IP address assigned to the server in our
intranet, and this will grant access from our computer to the original
site whether the copycat is present or not.
+
@@ -25,7 +25,7 @@ typing:
----
The official supported packages can be found at
-link:http://www.go-mono.com/mono-downloads/download.html[the downlad
+link:http://www.go-mono.com/mono-downloads/download.html[the download
site]. If your flavor is not there, for Linux you can either:
* Download the binary installer, which is the
@@ -97,7 +97,7 @@ production is highly recommended.
standard extensions to the FastCGI Mono Server, defining a rule
that uses the information source we just mentioned and applies to
the extensions: `aspx, asmx, ashx, asax, ascx, soap, rem, axd, cs,
- config, dll`. However, this is not the option recomended by the
+ config, dll`. However, this is not the option recommended by the
Mono Project since some undesired side effects are obtained, such
as exposed files and missing features.
@@ -30,12 +30,12 @@ Support
Polling methods: select poll epoll
----
-The last section is interesting. If you see that any siginficant
+The last section is interesting. If you see that any significant
capability supported by your platform is missing, you should really
build another binary or check if something is wrong with your
system. Note that not every single capability is present in every
platform. For instance, `epoll` is a polling method specific to Linux
-platforms, and its abscence from any non-Linux system is perfectly
+platforms, and its absence from any non-Linux system is perfectly
normal. It is inherently more efficient than the other methods
available on Linux. For BSD based platforms `kqueue` is also a great
improvement over the most standard `poll`. This is the standard POSIX
@@ -49,7 +49,7 @@ methods, the existence of sendfile() and the Pthreads support.
Tweaks
~~~~~~
-There is no general recomendation that is the best for everybody. In
+There is no general recommendation that is the best for everybody. In
general Cherokee's default values try to offer a good compromise
between resources and performance, but for specific cases you will be
able to tweak somethings that may (or may not) improve the overall
@@ -88,7 +88,7 @@ General::
+
* *Keep alive*: This setting dramatically affects the speed at which
repeated connections are served to the same client. This is
- especially noticeable when an asyncrhonous application is used. The
+ especially noticeable when an asynchronous application is used. The
trade off is that, since connections are kept open more time, less
connections remain available for other clients in any given
moment. Cherokee does a pretty good job at reclaiming unused open
@@ -104,7 +104,7 @@ Advanced::
and a lower one will simply increase the amount of unused processor
power.
+
-* *File descriptors*: By deffinition, the higher this limit is, the
+* *File descriptors*: By definition, the higher this limit is, the
less efficient will your system be in relative terms. However, it
is understood that if you are tweaking this value is because you
need to, that is, you have a very high load site. In these cases
@@ -113,7 +113,7 @@ Advanced::
handle. By default Cherokee does not touch this value and it uses
the one specified by your system.
+
-* *IO Cache*: This setting allows to enable or diasable server-wide
+* *IO Cache*: This setting allows to enable or disable server-wide
the content caching. If disabled, the _IO Cache_ settings of the
static content handlers will also be disabled, no matter what
behavior is desired in their specific configuration. This global
@@ -19,7 +19,7 @@ Redirecting www.example.net to example.net
Sometimes a site will have several domains or subdomains pointing to
the same official name. For whatever reasons (site statistics, for
instance), having many subdomains redirected to a unique subdomain
-might be desireable. This can be accomplished farily easily. The
+might be desirable. This can be accomplished fairly easily. The
general recipe consists in defining a virtual host with the sole
purpose of redirecting petitions to the official subdomain. In our
example, this could manage __*.example.net__ and the __.com__ and
@@ -34,7 +34,7 @@ The official name would then be managed by another virtual host
image::media/images/cookbook_redir_behavior.png[Unique rule]
This in turn would define an _external redirection_ with a _Regular
-Expression_ like __^/(.*)$__ and the apropriate _Substitution_:
+Expression_ like __^/(.*)$__ and the appropriate _Substitution_:
http://example.net/$1
image::media/images/cookbook_redir_handler.png[Handler configuration]
@@ -9,11 +9,11 @@ one or many Rails servers. This is done by using an extremely
efficient web server to manage the web part and leaving as many free
resources as possible to Rails.
-[[framewrok]]
+[[framework]]
=== Preparing the framework
Of course you will need a working Rails installation for this to
-succed. You can set this up easily. If you have Ruby and Ruby Gems
+succeed. You can set this up easily. If you have Ruby and Ruby Gems
installed, you can directly install the 'Rails' gem like this:
----
@@ -132,7 +132,7 @@ Under `FastCGI specific` make sure to add the hosts providing the
service. Do this by adding one or more
link:config_info_sources.html[Information Sources].
-Note that, in the definition of the informaction source, you will have
+Note that, in the definition of the information source, you will have
to manually launch the `spawner` if you use a `Remote host` as
`Information source` instead of a `Local interpreter`.
@@ -258,7 +258,7 @@ if [ $? != 0 ]; then
fi
----
-You can see that, in essence, it issues the folowing command:
+You can see that, in essence, it issues the following command:
----
$ openssl req -new -x509 -nodes -out server.crt -keyout server.key
----
@@ -115,7 +115,7 @@ image::media/images/cookbook_sugarcrm_install0.png[Installation]
You'll need to Accept the license agreement before you can go on, and
once you've done this the installer will run the compatibility checks.
-Select `Typicall` installation, choose the MySQL database, fill in
+Select `Typical` installation, choose the MySQL database, fill in
the required data and if everything went smoothly, the installer
should create the database and go through with the whole process.
@@ -69,7 +69,7 @@ on the `Symfony Wizard` to create a customised one.
In either case you will be asked for the basic information and
everything will be handled for you. The two main data pieces will be
the location of the public web folder of your Symfony project (that
-is, the part that you wish to make publicly accesible, not the whole
+is, the part that you wish to make publicly accessible, not the whole
project), and the path to the installed release of Symfony in your
system.
@@ -85,7 +85,7 @@ image::media/images/cookbook_symfony.png[Symfony Application]
Note that the Wizard configures Cherokee for your project's production
frontend. Should you wish to access the development environment simply
-adjust the redirection to the appropriate forntend.
+adjust the redirection to the appropriate frontend.
[[manual_configuration]]
@@ -130,9 +130,9 @@ your demo project.
example, our application name is "demo" so this controller will be
called "demo_dev.php".
-. A slight adition must be added to fix an issue with how requests for
+. A slight addition must be added to fix an issue with how requests for
the root are managed when there is a rule with the `File exists`
- handler in place. If this is not put in place, you will recieve 403
+ handler in place. If this is not put in place, you will receive 403
errors. Simply define yet another redirection rule for this regular
expression:
+

0 comments on commit 5ba12d9

Please sign in to comment.