Specifications
PHP
PHP Hypertext Preprocessor (PHP) lets you handle dynamic web content by using
a server-side, HTML-embedded scripting language resembling C. Web developers
embed PHP code in HTML code, allowing programmers to integrate dynamic logic
directly in an HTML script rather than writing a program that generates HTML.
PHP provides functions similar to those of CGI scripts but it supports a variety of
database formats and can communicate across networks by using many protocols.
The PHP libraries are included in Mac OS X Server but are disabled by default for
security purposes.
Unlike client-side JavaScript, PHP code is executed on the server. PHP is also used to
implement Webmail on Mac OS X Server. For more information about this module,
see www.php.net/.
mod_perl
This module integrates the verify Perl interpreter into the web server, letting existing
Perl CGI scripts run without modication. This integration means that the scripts run
faster and consume fewer system resources.
For more information about this module, see perl.apache.org/.
mod_encoding (open-source)
To improve WebDAV’s interoperability with non-ASCII le names, Web service includes
the open-source Apache module named mod_encoding.
By default, mod_encoding is disabled. The module is installed and conguration
directives are present in the Apache cong le, but they are not activated because
the LoadModule and AddModule directives that inform Apache about mod_encoding
are disabled.
To support non-ASCII le names, you must enable mod_encoding. Make sure
dav_module is also enabled.
The mod_encoding module extends Apache’s functionality and is controlled by a set
of conguration directives.
The Apache conguration le supplied with Web service contains a specic set of
directives that should be sucient for most needs. To modify those directives you
must to use a text editor and edit the /etc/apache2/httpd.conf le.
The following describes the directives supported by mod_encoding.
80 Chapter 6 Managing Web Modules