# # # # #以下都是基于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