The uncompressed version of Apache for Windows installation configuration

Source: Internet
Author: User
Tags custom name

Apache HTTP Server is an open source Web server of the Apache Software Foundation, which can run in most computer operating systems, and is one of the most popular Web server-side software due to its extensive use of multiple platforms and security. It is fast, reliable, and can be compiled into the server by a simple API extension, such as the Perl/python interpreter.

First, download

: HTTP://WWW.APACHEHAUS.COM/CGI-BIN/DOWNLOAD.PLX

Second, the configuration

2.1 Download down the zip suffix of the package, extract it out, and then put the custom name in the corresponding location, I was in the server's D packing directory, named: Apache22, that is D:\Apache22\, the directory contains bin, conf, Htdocs, Lib and other directories and documents;

2.2 Configure the environment variable, add at the end of the system variable path:;D: \apache22\bin (note is append, not overwrite)

2.3 Configuring httpd.conf

Edit the contents of the conf/httpd.conf file under the root program directory:

ServerRoot "d:\Apache22"

<directory/>
Options FollowSymLinks
AllowOverride None
Order Deny,allow
Allow from all
</Directory>

Note: I simply change two of them, in the production environment, it is necessary to adjust the configuration file according to the actual situation;

Third, installation

Run as Administrator start-run-input cmd, after entering the DOS window, first switch to the Apache program directory:

C:\users\administrator>d:

D:\>CD Apache22\bin

D:\apache22\bin>httpd-k Install

D:\apache22\bin>httpd-k start

Other Command Line options:

Stop Apache httpd-k Stop
Restart Apache httpd-k Restart
Uninstall Apache Service httpd-k Uninstall
Test Config Syntax httpd-t
Version Details Httpd-v
Command Line Options List httpd-h

Iv. Verification

Open the browser, enter in the Address bar: http://localhost/, if you can open the site information normally, that is, the deployment has been successfully deployed.

This article is from the "Square Hill" blog, please be sure to keep this source http://63638790.blog.51cto.com/513514/1643781

The uncompressed version of Apache for Windows installation configuration

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.