📄 00000096.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: minix (海盗船长), 信区: Linux <BR>标 题: Apache for Developers <BR>发信站: BBS 水木清华站 (Sun Mar 14 17:20:23 1999) <BR> <BR>October 1998 <BR> <BR> Subscribe NOW! <BR> <BR> <BR> <BR> <BR> Apache for Developers <BR> <BR> The latest Apache Web server features a modern architecture and a <BR> choice of solid development environments. <BR> <BR> <BR> <BR> <BR>by Bjorn Borud <BR>The Apache Web server is probably the most popular Web server among Web <BR>professionals today. Some would say that this is despite the fact that <BR>Apache is a free product developed mainly by what they refer to as <BR>"enthusiasts" and despite the fact that little, if any, money has been <BR>spent promoting it. My personal opinion is that the Apache is exactly what <BR>people want because it is made by the people who use it. <BR>Works With <BR> Apache for Unix, NT <BR> <BR>The Apache project grew out of an effort to improve the NCSA httpd, which, <BR>in early 1995, was the most popular Web server. The first incarnations of <BR>Apache were based on NCSA httpd 1.3 and the name "Apache" reflects the <BR>state of the project early on: It was "a patchy server"—a server that <BR>consisted of NCSA httpd 1.3 and a series of patches. <BR>Today Apache is best viewed as an application framework on which you can <BR>build your solutions, rather than a shrink-wrapped product with a fixed <BR>set of features. Sure, Apache is a good Web server in itself, but the real <BR>advantage comes from its extensibility and the fact that many people <BR>publish their extensions so others can use them directly or learn how to <BR>create their own extensions. <BR> In this article, you will learn about the general development features of <BR>Apache, as well as two particular environments that lend themselves to <BR>serious applications. The first, PHP, is a strong language for <BR>database-related functions. The second, mod_perl, moves Perl scripting <BR>into the high-performance arena and extends what you can do with it. <BR> Face it: If you are looking to just serve up files you can use almost any <BR>Web server. If you are looking for an advanced development platform for <BR>solving more involved problems you have to consider what Web server <BR>provides the most cost-effective solution. The API and the module <BR>framework make Apache an excellent choice as a platform on which you can <BR>build your Web applications. The fact that it is free and distributed in <BR>source code form also helps ensure that there are plenty of developers who <BR>have intimate knowledge of the server and will be able to assist you in <BR>development. <BR> Another important aspect to consider if you are looking for a Web platform <BR>is that Apache won't go away any time soon. Companies go out of business, <BR>get taken over, or discontinue products regularly. Since Apache does not <BR>really belong to any one organization it will stay around as long as there <BR>are people who want to use it. The fact that Apache is the most popular <BR> Web server in use on the Internet today, with more than one million users, <BR>suggests that people aren't going to lose interest any time soon. <BR> That community has brought Apache a long way from its patchy beginnings. <BR>The current architecture no longer suffers from NCSA's request handling, <BR>which terminated every process upon completion of each request. Now, <BR>Apache uses a pool of processes that it establishes at start up, a much <BR>more efficient use of server resources. <BR> Get Modular <BR> Since version 1.0, Apache has also been divided into modules (see Table <BR>1). An API was also published to enable third-party developers to provide <BR> their own modules. For the developers of Apache, this meant that they <BR> could move much of the code out of the core of Apache and into modules. <BR> While the core of Apache takes care of all the tasks having to do with <BR> process management etc., the modules provide the more application-oriented <BR> functions of the Web server. Things like authentication, access checks, <BR> URL-to-filename translation, sending content back to the user, and logging <BR> the request were now put into modules so they could easily be maintained <BR> independently of the Apache core. In addition to the standard modules that <BR> come with Apache, there are quite a few modules that have been contributed <BR> by third parties to provide alternative ways to authenticate users, means <BR> to limit the bandwidth usage of different areas on your Web server, etc. <BR> <BR> <BR> For developers, modules mean it's easier to add functionality to the Web <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -