1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
<HTML><HEAD>
<TITLE>Configuration -- AOLserver Configuration</TITLE>
<LINK rel=Previous href="con-ch.htm">
<LINK rel=ToC href="toc.htm">
<LINK rel=Index href="master.htm">
<LINK rel=Next href="con-ch2.htm">
</HEAD><BODY BGCOLOR="#ffffff"><A NAME="topofpage"></A>
<TABLE WIDTH=100%>
<TR>
<TD ALIGN=LEFT>
<A NAME="topofpage"></A> <IMG SRC="as-c-sm.gif">
</TD>
<TD ALIGN=RIGHT>
<A href="con-ch.htm"><IMG BORDER="0" src=navbprev.gif alt="[ Previous ]"></A>
<A href=toc.htm> <IMG BORDER="0" src=navbhome.gif alt="[ Contents ]"></A>
<A href=master.htm> <IMG BORDER="0" src=navbhelp.gif alt="[ Index ]"></A>
<A href="con-ch2.htm"> <IMG BORDER="0" src=navbnext.gif alt="[ Next ]"></A>
<A name="7983"> </A>
</TD>
</TR>
</TABLE>
<a name="39604">
</a><h3>AOLserver Configuration</h3>
<p><a name="59699">
</a>AOLserver has many configurable parameters, all of which are set in the AOLserver configuration file. This chapter provides a reference of the configuration file structure and parameters so that you can edit the configuration file directly.</p>
<p><a name="28457">
</a>By modifying and/or adding AOLserver configuration parameters, you can:</p>
<ul><li>Define multiple servers, one of which will run within each call to AOLserver.<a name="2305">
</a>
<p><li>Define multiple database pools with different data sources that can be accessed by any or all of the servers.<a name="7558">
</a>
<p><li>Configure various AOLserver capabilities or optionally-loaded modules for each of the servers.<a name="7575">
</a>
<p></ul><a name="29518">
</a><h4>What is a database pool?</h4>
<p><a name="146848">
</a>A database pool is a set of connections to a database. AOLserver currently supports direct connections to the SOLID and Postgres databases. AOLserver also supports an external connection to Sybase. Third-party database drivers are available for Oracle, Informix, and InterBase. As far as configuration is concerned, you simply specify a database (or data source) that you want AOLserver to access. AOLserver then manages a set of connections to the database that it uses internally to efficiently process database operations. You can also access these connections directly through the Tcl and C interfaces.</p>
<p><a name="146868">
</a><a href="driv-ch.htm#1738">Chapter 9</a> describes in detail how AOLserver interacts with databases.</p>
<a name="146874">
</a><h4>What are the default AOLserver capabilities?</h4>
<p><a name="68942">
</a>The following capabilites are provided by default for every server and can be configured by manually editing the configuration file.</p>
<ul><li><b>ADPs:</b> This capability allows you to embed Tcl scripts within an HTML page. The pages are parsed and run on the server when the page is accessed. See <a href="tadp-ch.htm#2039">Chapter 2</a> in the <i>Tcl Developer's Guide</i> for information about ADPs.<a name="68949">
</a>
<p><li><b>db</b>: This capability allows you to use AOLserver's database services. See <a href="driv-ch.htm#1738">Chapter 9</a> for information on database services.<a name="68983">
</a>
<p><li><b>tcl</b>: This capability allows you to use AOLserver's Tcl API. See the <i>Tcl Developer's Guide</i> for information on Tcl.<a name="68970">
</a>
<p></ul><a name="68248">
</a><h4>What is an AOLserver module?</h4>
<p><a name="29711">
</a>AOLserver modules are shared libraries or dynamically-linked libraries that provide specific sets of capabilities that you can load in your servers. The following modules are provided:</p>
<ul><li><b>nscgi</b>: This capability allows you to run CGI programs from AOLserver. See <a href="cgi-ch.htm#8841">Chapter 7</a> for information on using CGI.<a name="120419">
</a>
<p><li><b>nscp</b>: This module enables the control port interface that allows you to administer a running server. See <a href="acc-ch.htm#2692">Chapter 6</a> for information on the control port interface.<a name="155272">
</a>
<p><li><b>nslog</b>: This module enables access logging in the CERN Common Log Format. The nslog module can also log the Refer and User-Agent client headers.<a name="120412">
</a>
<p><li><b>nsperm</b>: This module enables access control capabilities -- defining users, groups, and permissions. See <a href="acc-ch.htm#2692">Chapter 6</a> for information on the access control system.<a name="68852">
</a>
<p><li><b>nssock</b>: This module enables communications using ordinary TCP/IP Internet sockets. <a name="120056">
</a>
<p><li><b>nsvhr</b>: This module enables virtual host redirection.<a name="156599">
</a>
<p><li><b>nsunix:</b> This module enables communications using the nsvhr module to proxy over a UNIX domain socket.<a name="157063">
</a>
<p></ul>
<TABLE BORDER="2" CELLPADDING="1" width="100%">
<TR><TD COLSPAN=3><P ALIGN=Center>
<IMG SRC="bluebult.gif">
<A HREF="#topofpage">
<FONT SIZE=-1>Top of Page</FONT></A>
<IMG SRC="bluebult.gif">
</TD></TR>
<TR><TD COLSPAN=3><P ALIGN=Center>
<A href="con-ch.htm">
<IMG BORDER="0" src=navbprev.gif alt="[ Previous ]"></A>
<A href=toc.htm>
<IMG BORDER="0" src=navbhome.gif alt="[ Contents ]"></A>
<A href=master.htm>
<IMG BORDER="0" src=navbhelp.gif alt="[ Index ]"></A>
<A href="con-ch2.htm">
<IMG BORDER="0" src=navbnext.gif alt="[ Next ]"></A>
<BR align=center>
<FONT size=-1>Copyright © 1998-99 America Online,
Inc.</FONT>
</TD></TR></TABLE></BODY></HTML>
|