|
Upgrading Your Virtual Server Apache
Follow the directions below to upgrade to version 1.3.12 of the Apache Web
Server. If you ordered your Virtual Server before March 28, 2000, and
haven't yet upgraded your Apache, your Virtual Server HTTP service is being
provided by Apache 1.2.6.
Connect to your Virtual Server via telnet or ssh and do the following.
FreeBSD % /usr/local/apache/1.3/bin/updatemyapache BSD/OS unavailable
NOTE: If
your Virtual Server was ordered after December 1, 1999, you are likely running
FreeBSD. To find out which O/S your Virtual Server is running, use the
% uname BSD/OS users may upgrade to a FreeBSD account by use of a shadow account. Email support@alts.net for more details |
The script will produce the following output:
Apache 1.3 Update This program updates your apache web server and modules to version 1.3. It will modify your ~/usr/local/etc/httpd/conf/httpd.conf file by adding "#version: 1.3" to the very first line. It will also make a new modules directory (~/usr/local/etc/httpd/modules). Your old module directory will be saved to another directory name in ~/usr/local/etc/httpd. Do you want to continue? [No]: Yes Checking httpd.conf file... Updating apache modules... Updating version number in httpd.conf... Done: Apache updated from 1.2.6 to 1.3
LoadModule frontpage_module modules/mod_frontpage.so LoadModule rewrite_module modules/mod_rewrite.so
More Information
For more information, see:
Apache Modules
Apache Modules are code
segments that are written to comply with the Apache API specification and can
be loaded into the Apache Web Server. Apache modules can be loaded in
one the following ways.
|
This modular design for adding web server features gives web administrators and developers tremendous power and flexibility. A wide variety of Apache modules have been created supporting all kinds of exciting web server features. Web server speed and efficiency is improved when using Apache modules since your Virtual Server web server can internally process instruction sets rather than relying on external applications.
Static Apache Modules
The following Apache modules are statically loaded into the customized Apache
Web Server.
Apache 1.3.12
apache_ssl, http_core, mod_access, mod_actions, mod_alias, mod_auth, mod_auth_dbm, mod_browser, mod_cgi, mod_dir, mod_imap, mod_include, mod_log_agent, mod_log_config, mod_log_referer, mod_mime, mod_so.c, mod_userdirApache 1.2.6
apache_ssl, http_core, mod_access, mod_actions, mod_alias, mod_auth, mod_auth_dbm, mod_browser, mod_cgi, mod_dir, mod_imap, mod_include, mod_log_agent, mod_log_config, mod_log_referer, mod_mime, mod_so.c, mod_userdir
Dynamic Apache Modules
Dynamic module support is one of the key features of the Apache Web Server. The
ability to dynamically load modules is known as DSO support. DSO allows you to
extend the features and capabilities of Apache by adding the specific module
you need, when you need it, without recompiling the web server binary.
Use the LoadModule directive in order to load a dynamic
module into your Apache Web Server. The
LoadModule
should be placed at the top of your ~/www/conf/httpd.conf file.
The syntax is like this:
LoadModule MODULE-NAME_module modules/FILE-NAME
For example, to add the Status Module, add this line:
LoadModule status_module modules/mod_status.so
If you try to load all the modules at the same time you will probably get a resource error. Simply load the modules you need one at a time.
Some of the most notable dynamic Apache modules include the following.
|
A complete list of all available dynamic Apache modules appears below.
| Apache 1.3.12 | Apache 1.2.6 |
|---|---|
mod_asis mod_auth_anon mod_auth.db mod_auth.msql mod_auth.mysql mod_auth.pgsql mod_cern_meta mod_dav mod_digest mod_env mod_expires mod_fastcgi mod_frontpage mod_headers mod_info mod_jserv mod_mime_magic mod_negotiation mod_perl mod_php3-3.0.12-module-imap-freetype-gd mod_php3-3.0.12-module-msql-freetype-gd mod_php3-3.0.12-module-mysql-freetype-gd mod_php3-3.0.12-module-pgsql-freetype-gd mod_proxy mod_rewrite mod_speling mod_status mod_usertrack mod_vhost_alias |
mod_asis mod_auth.db mod_block mod_digest mod_env mod_expires mod_headers mod_info mod_negotiation mod_php3 mod_speling mod_status mod_usertrack |
Compiling Your Own DSO Modules
Apache 1.3.12 also supports the APXS (APache eXtenSion)
tool. APXS allows you to compile and link your own dynamic shared object (DSO)
Apache Modules. To use APXS, connect to your Virtual Server via telnet or
ssh and issue the following command.
% /usr/local/apache1.3/bin/apxs OPTIONS MODULE_CODE
Copyright © 1996-2000, Last Modified: 28 March 2000A Little Technology Shoppe, LLC (ALTS.NET)®. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders.