|
|
Apache HTTP Serverġ ֽ ҽ
Apache 2.0 Alpha 4 Now Available!
Apache 1.3.12 Now Available
Microsoft Windows ġMS-Windows ü ġ ȯ漳 APACHE 1.3.x Ű մϴ. Windows www.apache.org ̾մϴ. ȭ ۾ ̷ ʽϴ. ôٸ PCline - 亯( ) Ǵ ǻ̽ Tip&Tech ̿ ذ ֵ ̿Ź帳ϴ. ٸ н ü ó ɷ¿ ־ ȭ Ǿ ʽϴٸ, ٸ ÷ ġ ϴٰ մϴ. windows98/95 APACHE Ѻñ ٶϴ. Visual C++ ̿Ͽ ϵ մϴ.(ߵ) ʿ信 ΰ , ٸ Ǵ ISAPI ε ֽϴ. Ѵٸ â̰ ϴ. ã :
Note: Why the name 'Apache' ? ġ NCSA httpd 1.3 ġϵ ߴ Ϸ ġ 쿡 "A PAtCH server" ġ ̸ ϴ.
䱸(Requirements) Winsock2 Apache 1.3.7 ķ ʿմϴ. Apache 1.3 Windows NT 4.0 ǵ Ǿϴ. Ϸ ۵ ġ Intel processors ۵ Դϴ. Apache Windows98/95 , NT 3.5.1 ˴ϴ. ʾ Դϴ. 쿡 TCP/IP Ʈŷ ݵ ġ Ǿ ־ մϴ. Windows 95 ϰ ʿϴٸ "Winsock2" ̵
ؾ մϴ. Windows95 "Winsock 2" ̰ ٿ ֽϴ. ٿε(Downloading Apache for Windows) Windows 98/95 Apache ġ (.exe)· ˴ϴ. ġ ġ ( Installing Apache for Windows ; Binary Install ) ٿ Apacheġ Ű ġȳ Էϰ NEXT ġ ˴ϴ. Է»δ ġ ġ 丮(⺻
C: ۸̸(⺻ "Apache Web Server") ġŸ. Typical ɼ ҽڵ带 ϰ ġմϴ. Minimun ɼ Ŵ ҽڸ ġ ʽϴ. "Custom" ϸ ҽڵ ؼ ġ ֽϴ. ġ Ǵ ȿ ġ ġ丮 conf 丮 ȯ漳 մϴ. ġ ġǾ ־ٸ ⸦ ʰ, Ȯڸ .default ٲپ մϴ. conf\httpd.conf ̹ Ѵٸ conf\httpd.default ġմϴ. ġ ģĿ httpd.conf httpd.conf.default Ͽ ƮǴ ִٸ ռ ٲ־ մϴ. ġ ġǴ 丮 htdocs\index.html Ѵٰ ص ʽϴ.( ܿ index.html ̶簡 default.htm ƴ ) ̰ ġ ġ Ǿ ־ Ƚϰ ġ Ǵ Ʈ ص ȴٴ ǹ մϴ.( ݵ ġ ϰ Ḧ Ű ġ ؾ մϴ.) ġ ģ Ŀ ġ ġ 丮 conf 丮 ð Ʈе ̿Ͽ ͵ ֽϴ. ̸ ݵ ־ ϸ ̳ ġ, 丮 , CGI ͵ ȯ漳 conf 丮 ִ ȯ漳 ϵ ̷ϴ. ּȯ漳 conf\httpd.conf ̳ Ÿ ؽƮ⸦ ̿Ͽ #servername new.host.com ã ̸ ֽð ּ(#) ּ servername new.host.com Windows ġ (۰ ; Running Apache for Windows) ǻ ð Բ log-off Ҷ ġ Ǵ "service" "console window" Ǵ ΰ ִµ "service" windows NT մϴ. α Ͻ "service" ó ˴ϴ. Windows 98/95 console window(DOSâ) Ѿ մϴ. ۸ "Start Apache as console app" ϸ ˴ϴ.(Apache 1.3.4 "Apache Server") console window ȿ ġ ˴ϴ. console window ġ ߰ų 'CNTL+C' ġ Ųä ֽϴ. ÿ ۸ "Shutdown Apache console app" ų ֽϴ. ( Apache 1.3.4 ) Windows NT ڶ α ϵǾ ִ Apache install as service ָ Ǹ, ִ ۰ Ḧ Ҽ 忡 ˴ϴ. Ʒ ٿ ۰ Ḧ ֽϴ. NET START APACHE NET STOP APACHE console window ִ ¿ (Ǵ ) ּҷ ϸ ˴ϴ. ( ȯ漳Ͽ port, listen Ǵ BindAddress ʾҾ մϴ.) غ It Worked! The Apache Web Server is Installed on this Web Site! ־ մϴ. þ ƹϵ Ͼ ʰ ´ٸ log\error_log ñ ٶϴ. ͳݿ Ǿ ʾƵ IP Address ϸ ˴ϴ. ⺻ ġ ġ ۵ϴ ̰, conf丮 ȯ漳(httpd.conf) ؼ ġ Ư¡ Դϴ. - ġ Apache ȯ漳(Configuring Apache for Windows) - ġ ġ ġ ġ conf 丮ȿ ִ ϵ鿡 ؼ ȯ漳 ֽϴ. ̰͵ Unix Ȱ ̴ Դϴٸ ٸ ֽϴ. Ʒ ٸ Ұ ̸ ٸ͵ ġ ȯ漳 ϼ 쿡 ũ ٸ ġ Ƽ(MultiThread) ̿ϱ , û ؼ нʹ μ ʴ´. 2 ġ μ ۾ óϴµ, 쿡 μ ϳ θμ ̸ ٸ ϳ û ڵ鸵 ϱ ڽμ ̴. ڽμ ȿ 忡 û óѴ. ̸Ͽ μ . MaxRequestsPerChild - нϿ ϴ Ͱ, ̰ μ ױ û óϴ Ѵ. 쿡 Unix μ û ϳ óϴ ƴ϶ ѹ óϴ ̴. Ҷ ϵ Ѵ. 0ϴ Ʈ MaxRequestsPerChild 0 ̰, ̰ μ (exit) Ű ʴ´. ThreadsPerChild - ̹ Ӱ ̴. 带 ϴ ε, ٴ ѹ ڵ鸵 Ҽ ִ Connection ٴ ̴. ϰ ִ Ʈ ӷ Ѵٸ Ȯ Ͽ߸ ̴. ϴ Ʈ ThreadsPerChild 50 ̴. ġ ȯ漳 丮 slash("/";) ̿Ͽ Unix ̸ó Ѵ. ġ Unix-style ̸ ϱ \ ('backslaches) /(;slashes) ؾ Ѵ. ̺ ڴ ִ. Windows ġ ʿ Ÿӿ ʿ ε ִ. module 丮 ã Ȱȭ Ű ؼ ȯ漳 ߰ ϸ ȴ.(⺻ Ǵ httpd.conf ּ(#) ָ Ǹ, ٲ ʽÿ) LoadModule status_module modules/ApacheModuleStatus.dll ġ Microsoft IIS ٸ Windows Ǵ ISAPI Extensions (Internet Server Application) εҼ ִ. |
|