Apache Server Advanced Setup Guide (1)

Source: Internet
Author: User
Tags versions access root directory linux
apache| Server | Advanced Current WWW Server software has many, can run under Linux also a lot of, there are NCSA HTTPd server, CERN HTTPd server, Pache, Netscape Fast Track Server, Zeus server and so on. These software features: NCSA (National Center for Supercomputing Applications, University of Illinois, USA) is the birthplace of www Browser mosaic and the place where Netscape Anderson became famous; CERN (European Centre for Nuclear Research) is the birthplace of WWW, Tim 1989 Benas-Lee is the first Web server and client in the world to develop successfully. These two launch of the WWW server full-featured, become the standard of similar software, plus they are all freeware, so the first launch is very popular. A few years ago, in Linux under the WWW server Software most used is NCSA and CERN, but this one two years, an up-and-comer Apache but the coquettish, known as "The King of WWW server." Apache is included in the latest red Hat, Slackware, and openlinux versions.

Apache is developed on the basis of NCSA, so the configuration files of the two are very similar.

First, install Apache installation is very simple. It's a good idea to install Web server when you install Redhat, so that you can easily set up the server even if you're not familiar with the compilation operation.

If you want to compile the source files yourself, then you are not a beginner and suggest you go directly to the how-to documentation or other material. Turn on the machine, enter the X-window system, start Netscape Navigator, typing the local IP address, if the "It worked" Welcome page, that means that the server program is working properly. You can do the next configuration work. Under different versions, the server defaults to the working root directory. Red hat defaults to/ETC/HTTPD, the configuration file is in the/etc/httpd/conf directory, and the paging file is in the/HOME/HTTPD directory.

Second, set httpd.conf, srm.conf, access.conf files after the success of Apache installation, in the Conf subdirectory has four files: httpd.conf, srm.conf, access.conf, Magic (Note: In the WWW-HOWTO document, say the fourth file is Mime.types, but in the actual installation, in the Conf subdirectory is Magic file). The httpd.conf is the primary file in the Apache settings file, and the HTTPD program reads the httpd.conf first when it starts. Srm.conf is a data configuration file in which the main setting is the directory where WWW server reads files, the screen of the directory index, the directory at the time of CGI execution, and so on. ACCESS.CONF is responsible for basic read file control, limit the functions that the directory can perform and access the permissions settings of the directory.

The following is a simple description of these three data settings files.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.