
200 Chapter 15. Apache
If you set up a virtual host and want it to listen on a non-default port, you will need to set up a virtual
host for that port and add a Listen directive for corresponding to that port.
Then add the port number to the first line of the virtual host configuration as in the following example:
VirtualHost ip_address_of_your_server:12331
This line would create a virtual host that listens on port 12331.
You must restart httpd to start a new virtual host. See Section 15.2 for instructions on how to start
and stop httpd.
Comprehensive information about creating and configuring both name-based and IP address-based
virtual hosts is provided on the Web at http://httpd.apache.org/docs/vhosts/. Please check the
Apache.org’s virtual host documentation for more details on using virtual hosts.
15.6. Additional Resources
To learn more about Apache, refer to the following resources.
15.6.1. Useful Websites
• http://httpd.apache.org — The official website for the Apache Web server with documentation on
all the directives and default modules.
• http://www.modssl.org — The official website for mod_ssl.
• http://www.apacheweek.com — A comprehensive online online weekly about all things Apache.
15.6.2. Related Books
• Apache Desktop Reference by Ralf S. Engelschall; Addison Wesley
Written by ASF member and mod_ssl author Ralf Engelschall, the Apache Desktop Reference pro-
vides a concise but comprehensive reference guide to using Apache at compilation, configuration,
and run time. This book is available online at http://www.apacheref.com/.
• Professional Apache by Peter Wainwright; Wrox Press Ltd
Professional Apache is from Wrox Press Ltd’s "Programmer to Programmer" series and is aimed at
both experienced and novice Web server administrators.
• Administering Apache by Mark Allan Arnold; Osborne Media Group
This book is targeted at Internet Service Providers who aim to provide more secure services.
• Apache Server Unleashed by Richard Bowen, et al; SAMS BOOKS
An encyclopedic source for Apache.
• Apache Pocket Reference by Andrew Ford, Gigi Estabrook; O’Reilly
This is the latest addition to the O’Reilly Pocket Reference series.
Commenti su questo manuale