About setting up and publishing multiple CGI sites under Apache server

Source: Internet
Author: User

# # # # #以下都是基于Windows的 #######

1: Prepare multiple *.conf configuration files

2: The following content needs to be configured in the specific configuration file (the following "******" stands for the program directory of our website):

①documentroot "******"

②<directory "******" >

③scriptalias/cgi/"******/cgi/"

④<directory "******/cgi" >

⑤ about the port settings:

★ Can be like this: Listen 12.34.56.78:80

★ You can also do this: Listen 80 (this default IP is 127.0.0.1)

3: The above set up will be executed in the following two commands:

Cmd

-〉

CD C:\Program Files\apache software Foundation\apache2.2\bin (here is the Apache Bin directory with tool below)

-

Httpd-k install-n test-f "C:\Program files\apache software foundation\apache2.2\conf\*.conf"

--〉 prompt to start the "test" Web server you just created, boot OK

4: If it is local, and if the release port is 80,ok, then directly in the browser input

http://127.0.0.1

About setting up and publishing multiple CGI sites under Apache server

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.