Plrll

impiementii^iie^rk

Services MBK LIKifi

Part IV describes the setup of the major networkServices on a SUSE system, including setting upt- -Webservers, .mail servers, aAd file and print serVers-V '

IN THIS PART

Tim Berners-Lee's first public description of the concepts and practice of the World Wide Web was made in a posting on the alt.hypertext news group in August 1991 (coincidentally, the same month in which Linus Torvalds announced a little project that he was doing).

Tim Berners-Lee wrote the first web server and browser. The U.S. National Center for Supercomputing Applications (NCSA) developed a web server called NCSA HTTPd and the Mosaic web browser. Development of NCSA HTTPd came to a halt when its original creator Robert McCool left the NCSA in mid-1994. But a number of patches were developed by third parties. These were collected by Brian Behlendorf and the original NSCA HTTPd web server was developed as a result of patching it with these various improvements. It was originally called Apache because it was, therefore, "a patchy web server.''

Apache has always been licensed freely, so it satisfies all the definitions of Free and Open Source Software. As such, it is as much of an Open Source success story as Linux itself. The Apache Software Foundation oversees the development and direction of the Apache project.

Since 1996, Apache has been the most popular web server on the Internet. It has lost some share recently, but should still be regarded as the de facto standard for web server software. Up-to-date statistics of web servers currently in use can be found in the monthly news section at www.netcraft.com, which also provides information on what web server and operating system are in use by any particular web site.

IN THIS CHAPTER

Hosting a web site

Configuring the Apache web server

Securing your server

Creating dynamic content for your web site

Configuring the web server using YaST

For a long time the most widely used versions of Apache were the 1.3 series. A rewrite took place around the turn of the century, and Apache 2.x versions replaced 1.3. That is why in current SUSE distributions the Apache packages are called apache2.

Apache can server static web pages or dynamic pages through the use of modules allowing PHP, Perl, Python, or other code to be embedded within the HTML, or through the use of the common gateway interface (CGI) scripting, in which the entire page to be viewed is generated at runtime on the server from a script or program.

In this chapter we look at the configuration of Apache on a SUSE system: the main configuration files and the set up of virtual servers. We shall also give simple examples to help you get started with CGI scripts and PHP.

Was this article helpful?

0 0

Post a comment