Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 7.1


Yuma + Apache

Yuma Enterprise Server Apache Configuration

Issue: 7.1 (November/December 2008)
Author: Brad Weber
Author Bio: Brad Weber is a co-founder of Inspiring Applications, Inc. and has enjoyed 13 years of building custom software applications for Macintosh, Windows, the web, and now the iPhone.
Article Description: No description available.
Article Length (in bytes): 12,579
Starting Page Number: 48
Article Number: 7119
Related Web Link(s):


Excerpt of article text...

Yuma is a web development platform for REALbasic developers. The Yuma Development Server is free and loaded with features that aid in the development and debugging of your web applications. But it is not intended for deployment, especially for high-volume, high-traffic deployments. For those, you'll want the Yuma Enterprise Server. It is a command-line server that is tuned for speed and built for enterprise deployments. While the Yuma Development Server is a web server in its own right, the Yuma Enterprise Server leans on an industrial-strength web server, like Apache, to handle the basic web-serving functions while Yuma is responsible for language processing in the documents that are served. This column explains in more depth what is happening in Apache during a typical request and how it needs to be configured to work in conjunction with Yuma.

Apache configuration is a topic to which entire books have been devoted. So I will only be able to scratch the surface. But I'll cover the pieces that are critical to work with the Yuma Enterprise Server. Apache runs as a central web-serving core, assisted by a large number of modules that each add focused capabilities to the server. Yuma communicates with Apache via the FastCGI protocol. FastCGI is implemented in Apache in the mod_fastcgi module and is the only Apache module required to run the Yuma Enterprise Server. (Others are optional and are discussed later in this column).

Apache configuration is handled through a system of directives. Directives can apply to a particular directory on the server, to a virtual host (website) served by the server, or to the entire server on a global basis. Yuma requires that Apache have a FastCgiExternalServer directive in order for Apache to forward incoming requests to Yuma.

FastCgiExternalServer Directive Syntax

FastCgiExternalServer path -host hostname:port

...End of Excerpt. Please purchase the magazine to read the full article.