<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://panoptic.com/mediawiki/aolserver/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jamshed</id>
	<title>AOLserver Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://panoptic.com/mediawiki/aolserver/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jamshed"/>
	<link rel="alternate" type="text/html" href="https://panoptic.com/wiki/aolserver/Special:Contributions/Jamshed"/>
	<updated>2026-04-25T17:31:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_start_stop_AOLserver_using_Daemontools&amp;diff=5083</id>
		<title>How to start stop AOLserver using Daemontools</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_start_stop_AOLserver_using_Daemontools&amp;diff=5083"/>
		<updated>2007-07-30T15:02:34Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Original idea taken from OpenACS document Chapter 6. Production Environments&lt;br /&gt;
[http://openacs.org/doc/current/install-openacs-keepalive.html]&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
Daemontools [http://cr.yp.to/daemontools.html]&lt;br /&gt;
----&lt;br /&gt;
'''Configuration Steps:'''&lt;br /&gt;
&lt;br /&gt;
1. Download and install Daemontools. &lt;br /&gt;
Make sure svscanboot is started from inittab. Check if your inittab contains svscanboot. For example:&lt;br /&gt;
&lt;br /&gt;
    SV:123456:respawn:/command/svscanboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Create service directory for your AOLserver instance&lt;br /&gt;
&lt;br /&gt;
    mkdir /service/YOUR-AOLserver or /var/service/YOUR-AOLserver&lt;br /&gt;
&lt;br /&gt;
Once created you'll also see supervise directory under it.&lt;br /&gt;
&lt;br /&gt;
3. Now create a script named arun under above directory.&lt;br /&gt;
&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    exec /usr/local/aolserver/bin/nsd -it /usr/local/aolserver/YOUR-AOLserver/etc/config.tcl -u USERNAME -g GROUPNAME&lt;br /&gt;
&lt;br /&gt;
4. Make arun script executable:&lt;br /&gt;
&lt;br /&gt;
    chmod +x arun&lt;br /&gt;
&lt;br /&gt;
5. Execute arun script and confirm that it starts your server&lt;br /&gt;
&lt;br /&gt;
    ./arun&lt;br /&gt;
&lt;br /&gt;
6. If all is fine now rename the arun to run so that it gets picked up by Daemontools:&lt;br /&gt;
&lt;br /&gt;
    mv arun run&lt;br /&gt;
&lt;br /&gt;
7. check process list for your nsd YOUR-AOLserver process.&lt;br /&gt;
&lt;br /&gt;
   ps -ef |grep nsd&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''Addon: Using init.d/YOUR-AOLserver script to stop/start/restart/status'''&lt;br /&gt;
&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    #&lt;br /&gt;
    # YOUR-AOLserver  This shell script takes care of starting and stopping&lt;br /&gt;
    #               YOUR-AOLserver&lt;br /&gt;
    #&lt;br /&gt;
    # chkconfig: 345 65 35&lt;br /&gt;
    # description: YOUR-AOLserver is a web server based on AOLserver&lt;br /&gt;
    &lt;br /&gt;
    # Source function library.&lt;br /&gt;
    . /etc/rc.status&lt;br /&gt;
    &lt;br /&gt;
    # Check Argument&lt;br /&gt;
    case &amp;quot;$1&amp;quot; in&lt;br /&gt;
      start)&lt;br /&gt;
        echo &amp;quot;Starting...&amp;quot;&lt;br /&gt;
        svc -u /service/YOUR-AOLserver&lt;br /&gt;
        sleep 2&lt;br /&gt;
        &amp;quot;$0&amp;quot; status&lt;br /&gt;
        ;;&lt;br /&gt;
      stop)&lt;br /&gt;
        echo &amp;quot;Stopping...&amp;quot;&lt;br /&gt;
        svc -d /service/YOUR-AOLserver&lt;br /&gt;
        sleep 2&lt;br /&gt;
        &amp;quot;$0&amp;quot; status&lt;br /&gt;
        ;;&lt;br /&gt;
      status)&lt;br /&gt;
        svstat /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      restart)&lt;br /&gt;
        &amp;quot;$0&amp;quot; stop&lt;br /&gt;
        sleep 1&lt;br /&gt;
        &amp;quot;$0&amp;quot; start&lt;br /&gt;
        ;;&lt;br /&gt;
      *)&lt;br /&gt;
        echo &amp;quot;Usage: YOUR-AOLserver {start|stop|restart|status}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    esac&lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
Now YOUR-AOLserver can be start, stop, restart, staus using:&lt;br /&gt;
&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver stop&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver start&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver restart&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver status&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_start_stop_AOLserver_using_Daemontools&amp;diff=5082</id>
		<title>How to start stop AOLserver using Daemontools</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_start_stop_AOLserver_using_Daemontools&amp;diff=5082"/>
		<updated>2007-07-30T11:53:41Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Original idea taken from OpenACS document Chapter 6. Production Environments&lt;br /&gt;
[http://openacs.org/doc/current/install-openacs-keepalive.html]&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
Daemontools [http://cr.yp.to/daemontools.html]&lt;br /&gt;
----&lt;br /&gt;
'''Configuration Steps:'''&lt;br /&gt;
&lt;br /&gt;
1. Download and install Daemontools. &lt;br /&gt;
Make sure svscanboot is started from inittab. Check if your inittab contains svscanboot. For example:&lt;br /&gt;
&lt;br /&gt;
    SV:123456:respawn:/command/svscanboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Create service directory for your AOLserver instance&lt;br /&gt;
&lt;br /&gt;
    mkdir /service/YOUR-AOLserver or /var/service/YOUR-AOLserver&lt;br /&gt;
&lt;br /&gt;
Once created you'll also see supervise directory under it.&lt;br /&gt;
&lt;br /&gt;
3. Now create a script named arun under above directory.&lt;br /&gt;
&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    exec /usr/local/aolserver/bin/nsd -it /usr/local/aolserver/YOUR-AOLserver/etc/config.tcl -u USERNAME -g GROUPNAME&lt;br /&gt;
&lt;br /&gt;
4. Make arun script executable:&lt;br /&gt;
&lt;br /&gt;
    chmod +x arun&lt;br /&gt;
&lt;br /&gt;
5. Execute arun script and confirm that it starts your server&lt;br /&gt;
&lt;br /&gt;
    ./arun&lt;br /&gt;
&lt;br /&gt;
6. If all is fine now rename the arun to run so that it gets picked up by Daemontools:&lt;br /&gt;
&lt;br /&gt;
    mv arun run&lt;br /&gt;
&lt;br /&gt;
7. check process list for your nsd YOUR-AOLserver process.&lt;br /&gt;
&lt;br /&gt;
   ps -ef |grep nsd&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''Addon: Using init.d/YOUR-AOLserver script to stop/start/restart/status'''&lt;br /&gt;
&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    #&lt;br /&gt;
    # YOUR-AOLserver  This shell script takes care of starting and stopping&lt;br /&gt;
    #               YOUR-AOLserver&lt;br /&gt;
    #&lt;br /&gt;
    # chkconfig: 345 65 35&lt;br /&gt;
    # description: YOUR-AOLserver is a web server based on AOLserver&lt;br /&gt;
    &lt;br /&gt;
    # Source function library.&lt;br /&gt;
    . /etc/rc.status&lt;br /&gt;
    &lt;br /&gt;
    # Check Argument&lt;br /&gt;
    case &amp;quot;$1&amp;quot; in&lt;br /&gt;
      start)&lt;br /&gt;
        echo &amp;quot;Starting...&amp;quot;&lt;br /&gt;
        svc -u /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      stop)&lt;br /&gt;
        echo &amp;quot;Stopping...&amp;quot;&lt;br /&gt;
        svc -d /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      status)&lt;br /&gt;
        svstat /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      restart)&lt;br /&gt;
        &amp;quot;$0&amp;quot; stop&lt;br /&gt;
        sleep 1&lt;br /&gt;
        &amp;quot;$0&amp;quot; start&lt;br /&gt;
        ;;&lt;br /&gt;
      *)&lt;br /&gt;
        echo &amp;quot;Usage: YOUR-AOLserver {start|stop|restart|status}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    esac&lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
Now YOUR-AOLserver can be start, stop, restart, staus using:&lt;br /&gt;
&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver stop&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver start&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver restart&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver status&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_start_stop_AOLserver_using_Daemontools&amp;diff=5081</id>
		<title>How to start stop AOLserver using Daemontools</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_start_stop_AOLserver_using_Daemontools&amp;diff=5081"/>
		<updated>2007-07-19T15:04:32Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Original idea taken from OpenACS document Chapter 6. Production Environments&lt;br /&gt;
[http://openacs.org/doc/current/install-openacs-keepalive.html]&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
Daemontools [http://cr.yp.to/daemontools.html]&lt;br /&gt;
----&lt;br /&gt;
'''Configuration Steps:'''&lt;br /&gt;
&lt;br /&gt;
1. Download and install Daemontools. &lt;br /&gt;
Make sure svscanboot is started from inittab. Check if your inittab contains svscanboot. For example:&lt;br /&gt;
&lt;br /&gt;
    SV:123456:respawn:/command/svscanboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Create service directory for your AOLserver instance&lt;br /&gt;
&lt;br /&gt;
    mkdir /service/YOUR-AOLserver or /var/service/YOUR-AOLserver&lt;br /&gt;
&lt;br /&gt;
Once created you'll also see supervise directory under it.&lt;br /&gt;
&lt;br /&gt;
3. Now create a script named arun under above directory.&lt;br /&gt;
&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    exec /usr/local/aolserver/bin/nsd -it /usr/local/aolserver/YOUR-AOLserver/etc/config.tcl -u USERNAME -g GROUPNAME&lt;br /&gt;
&lt;br /&gt;
4. Make arun script executable:&lt;br /&gt;
&lt;br /&gt;
    chmod +x arun&lt;br /&gt;
&lt;br /&gt;
5. Execute arun script and confirm that it starts your server&lt;br /&gt;
&lt;br /&gt;
    ./arun&lt;br /&gt;
&lt;br /&gt;
6. If all is fine now rename the arun to run so that it gets picked up by Daemontools:&lt;br /&gt;
&lt;br /&gt;
    mv arun run&lt;br /&gt;
&lt;br /&gt;
7. check process list for your nsd YOUR-AOLserver process.&lt;br /&gt;
&lt;br /&gt;
   ps -ef |grep nsd&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''Addon: Using init.d/YOUR-AOLserver script to stop/start/restart/status'''&lt;br /&gt;
&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    #&lt;br /&gt;
    # YOUR-AOLserver  This shell script takes care of starting and stopping&lt;br /&gt;
    #               YOUR-AOLserver&lt;br /&gt;
    #&lt;br /&gt;
    # chkconfig: 345 65 35&lt;br /&gt;
    # description: YOUR-AOLserver is a web server based on AOLserver&lt;br /&gt;
    &lt;br /&gt;
    # Source function library.&lt;br /&gt;
    . /etc/rc.status&lt;br /&gt;
    &lt;br /&gt;
    # Check Argument&lt;br /&gt;
    case &amp;quot;$1&amp;quot; in&lt;br /&gt;
      start)&lt;br /&gt;
        svc -u /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      stop)&lt;br /&gt;
        svc -d /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      status)&lt;br /&gt;
        svstat /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      restart)&lt;br /&gt;
        &amp;quot;$0&amp;quot; stop&lt;br /&gt;
        sleep 1&lt;br /&gt;
        &amp;quot;$0&amp;quot; start&lt;br /&gt;
        ;;&lt;br /&gt;
      *)&lt;br /&gt;
        echo &amp;quot;Usage: YOUR-AOLserver {start|stop|restart|status}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    esac&lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
Now YOUR-AOLserver can be start, stop, restart, staus using:&lt;br /&gt;
&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver stop&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver start&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver restart&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver status&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_start_stop_AOLserver_using_Daemontools&amp;diff=5080</id>
		<title>How to start stop AOLserver using Daemontools</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_start_stop_AOLserver_using_Daemontools&amp;diff=5080"/>
		<updated>2007-07-19T14:39:58Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Requirements ==&lt;br /&gt;
Daemontools [http://cr.yp.to/daemontools.html]&lt;br /&gt;
----&lt;br /&gt;
'''Configuration Steps:'''&lt;br /&gt;
&lt;br /&gt;
1. Download and install Daemontools. &lt;br /&gt;
Make sure svscanboot is started from inittab. Check if your inittab contains svscanboot. For example:&lt;br /&gt;
&lt;br /&gt;
    SV:123456:respawn:/command/svscanboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Create service directory for your AOLserver instance&lt;br /&gt;
&lt;br /&gt;
    mkdir /service/YOUR-AOLserver or /var/service/YOUR-AOLserver&lt;br /&gt;
&lt;br /&gt;
Once created you'll also see supervise directory under it.&lt;br /&gt;
&lt;br /&gt;
3. Now create a script named arun under above directory.&lt;br /&gt;
&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    exec /usr/local/aolserver/bin/nsd -it /usr/local/aolserver/YOUR-AOLserver/etc/config.tcl -u USERNAME -g GROUPNAME&lt;br /&gt;
&lt;br /&gt;
4. Make arun script executable:&lt;br /&gt;
&lt;br /&gt;
    chmod +x arun&lt;br /&gt;
&lt;br /&gt;
5. Execute arun script and confirm that it starts your server&lt;br /&gt;
&lt;br /&gt;
    ./arun&lt;br /&gt;
&lt;br /&gt;
6. If all is fine now rename the arun to run so that it gets picked up by Daemontools:&lt;br /&gt;
&lt;br /&gt;
    mv arun run&lt;br /&gt;
&lt;br /&gt;
7. check process list for your nsd YOUR-AOLserver process.&lt;br /&gt;
&lt;br /&gt;
   ps -ef |grep nsd&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''Addon: Using init.d/YOUR-AOLserver script to stop/start/restart/status'''&lt;br /&gt;
&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    #&lt;br /&gt;
    # YOUR-AOLserver  This shell script takes care of starting and stopping&lt;br /&gt;
    #               YOUR-AOLserver&lt;br /&gt;
    #&lt;br /&gt;
    # chkconfig: 345 65 35&lt;br /&gt;
    # description: YOUR-AOLserver is a web server based on AOLserver&lt;br /&gt;
    &lt;br /&gt;
    # Source function library.&lt;br /&gt;
    . /etc/rc.status&lt;br /&gt;
    &lt;br /&gt;
    # Check Argument&lt;br /&gt;
    case &amp;quot;$1&amp;quot; in&lt;br /&gt;
      start)&lt;br /&gt;
        svc -u /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      stop)&lt;br /&gt;
        svc -d /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      status)&lt;br /&gt;
        svstat /service/YOUR-AOLserver&lt;br /&gt;
        ;;&lt;br /&gt;
      restart)&lt;br /&gt;
        &amp;quot;$0&amp;quot; stop&lt;br /&gt;
        sleep 1&lt;br /&gt;
        &amp;quot;$0&amp;quot; start&lt;br /&gt;
        ;;&lt;br /&gt;
      *)&lt;br /&gt;
        echo &amp;quot;Usage: YOUR-AOLserver {start|stop|restart|status}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    esac&lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
Now YOUR-AOLserver can be start, stop, restart, staus using:&lt;br /&gt;
&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver stop&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver start&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver restart&lt;br /&gt;
    /etc/init.d/YOUR-AOLserver status&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=Documentation&amp;diff=5079</id>
		<title>Documentation</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Documentation&amp;diff=5079"/>
		<updated>2007-07-19T14:08:04Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: /* HOWTOs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is an effort underway to update and prepare documentation for AOLserver 4.0.  This wiki will be the canonical source for documentation under revision, which will then get commited to CVS in the doc/ directory in roff format.  From there, HTML will be forward-generated from the roff and made available from http://aolserver.com/docs/.&lt;br /&gt;
&lt;br /&gt;
If there is documentation you feel is not complete, represented accurately, or is entirely omitted, please add it to the appropriate place and make a note of it on the [[Documentation Wishlist]] so that people know that someone wants it.&lt;br /&gt;
&lt;br /&gt;
== API documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[Tcl API]]&lt;br /&gt;
* [[C API]] - [http://aolserver.am.net/cvs/tcl C source for Tcl commands]&lt;br /&gt;
* [[Private C API]]&lt;br /&gt;
&lt;br /&gt;
== General documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[Modules]]&lt;br /&gt;
* [[Languages]]&lt;br /&gt;
* [[Toolkits]]&lt;br /&gt;
* [[Tutorials]]&lt;br /&gt;
* [[Administration]]&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
* [[AOLserver Tuning, Troubleshooting and Scaling]] by [[Kriston J. Rehberg]].&lt;br /&gt;
* [[Virtual Hosting]] in AOLserver.&lt;br /&gt;
* Using upvar: http://dqd.com/~mayoff/notes/tcl/upvar.html&lt;br /&gt;
* [http://www.fpx.de/fp/Software/tcl-c++/tcl-c++.html Making C++ Loadable Modules Work] in Tcl.&lt;br /&gt;
&lt;br /&gt;
== HOWTOs ==&lt;br /&gt;
&lt;br /&gt;
* [[How to set up PHP under AOLserver]]&lt;br /&gt;
* [[How to set up WiKit under AOLserver]]&lt;br /&gt;
* [http://www.rexx.com/~dkuhlman/aolserver_howto.html Beginner's How-to for AOLserver, PyWX, and PostgreSQL]&lt;br /&gt;
* [[How to build AOLserver on Win32]]&lt;br /&gt;
* [[How to set up Project Liberty (IPL) under AOLserver]]&lt;br /&gt;
* [http://www.manicai.net/comp/how/svn/ How to set up ViewCVS for Subversion under AOLserver]&lt;br /&gt;
* [[How to set up SQL-Ledger to serve from AOLserver]]&lt;br /&gt;
* [[How to generate self-signed SSL certificates]]&lt;br /&gt;
* [[How to configure single server to listen on multiple TCP ports]]&lt;br /&gt;
* [[How to add TWAPI extension under AOLserver]]&lt;br /&gt;
* [[How to start stop AOLserver using Daemontools]]&lt;br /&gt;
&lt;br /&gt;
== Community-supported documentation ==&lt;br /&gt;
&lt;br /&gt;
* Notes describing the differences between ArsDigita [[ad13 vs. 3.5.1]].&lt;br /&gt;
&lt;br /&gt;
* [http://philip.greenspun.com/tcl/ Tcl for Web Nerds] is a book by MIT professors Hal Abelson, Philip Greenspun, and Lydia Sandon which covers Tcl programming with the AOL Server&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=Documentation&amp;diff=5078</id>
		<title>Documentation</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Documentation&amp;diff=5078"/>
		<updated>2007-07-19T14:07:37Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: /* HOWTOs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is an effort underway to update and prepare documentation for AOLserver 4.0.  This wiki will be the canonical source for documentation under revision, which will then get commited to CVS in the doc/ directory in roff format.  From there, HTML will be forward-generated from the roff and made available from http://aolserver.com/docs/.&lt;br /&gt;
&lt;br /&gt;
If there is documentation you feel is not complete, represented accurately, or is entirely omitted, please add it to the appropriate place and make a note of it on the [[Documentation Wishlist]] so that people know that someone wants it.&lt;br /&gt;
&lt;br /&gt;
== API documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[Tcl API]]&lt;br /&gt;
* [[C API]] - [http://aolserver.am.net/cvs/tcl C source for Tcl commands]&lt;br /&gt;
* [[Private C API]]&lt;br /&gt;
&lt;br /&gt;
== General documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[Modules]]&lt;br /&gt;
* [[Languages]]&lt;br /&gt;
* [[Toolkits]]&lt;br /&gt;
* [[Tutorials]]&lt;br /&gt;
* [[Administration]]&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
* [[AOLserver Tuning, Troubleshooting and Scaling]] by [[Kriston J. Rehberg]].&lt;br /&gt;
* [[Virtual Hosting]] in AOLserver.&lt;br /&gt;
* Using upvar: http://dqd.com/~mayoff/notes/tcl/upvar.html&lt;br /&gt;
* [http://www.fpx.de/fp/Software/tcl-c++/tcl-c++.html Making C++ Loadable Modules Work] in Tcl.&lt;br /&gt;
&lt;br /&gt;
== HOWTOs ==&lt;br /&gt;
&lt;br /&gt;
* [[How to set up PHP under AOLserver]]&lt;br /&gt;
* [[How to set up WiKit under AOLserver]]&lt;br /&gt;
* [http://www.rexx.com/~dkuhlman/aolserver_howto.html Beginner's How-to for AOLserver, PyWX, and PostgreSQL]&lt;br /&gt;
* [[How to build AOLserver on Win32]]&lt;br /&gt;
* [[How to set up Project Liberty (IPL) under AOLserver]]&lt;br /&gt;
* [http://www.manicai.net/comp/how/svn/ How to set up ViewCVS for Subversion under AOLserver]&lt;br /&gt;
* [[How to set up SQL-Ledger to serve from AOLserver]]&lt;br /&gt;
* [[How to generate self-signed SSL certificates]]&lt;br /&gt;
* [[How to configure single server to listen on multiple TCP ports]]&lt;br /&gt;
* [[How to add TWAPI extension under AOLserver]]&lt;br /&gt;
* [[How to start stop AOLserver using daemontools]]&lt;br /&gt;
&lt;br /&gt;
== Community-supported documentation ==&lt;br /&gt;
&lt;br /&gt;
* Notes describing the differences between ArsDigita [[ad13 vs. 3.5.1]].&lt;br /&gt;
&lt;br /&gt;
* [http://philip.greenspun.com/tcl/ Tcl for Web Nerds] is a book by MIT professors Hal Abelson, Philip Greenspun, and Lydia Sandon which covers Tcl programming with the AOL Server&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_add_TWAPI_extension_under_AOLserver&amp;diff=5053</id>
		<title>How to add TWAPI extension under AOLserver</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_add_TWAPI_extension_under_AOLserver&amp;diff=5053"/>
		<updated>2007-03-06T13:52:03Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'' '''Caution:''' ''&lt;br /&gt;
According to TWAPI's author &amp;quot;TWAPI has not been tested with multiple threads so you have to be careful to call it from only one thread within a process.&amp;quot; [http://sourceforge.net/forum/forum.php?thread_id=1687562&amp;amp;forum_id=310219]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'' '''Prerequisites:''' ''&lt;br /&gt;
* TWAPI Extension [http://twapi.sourceforge.net/] (Download the zip version e.g. twapi-x.x.x.zip, where x.x.s is the major.minor version numbers)&lt;br /&gt;
&lt;br /&gt;
'' '''Instructions:''' ''&lt;br /&gt;
&lt;br /&gt;
'''Step 1.  Download and unzip TWAPI '''&lt;br /&gt;
Extract the downloaded file into AOLserver/servers/{yourserver}/modules/tcl. Now you should have  directory named twapi under your server tcl modules directory e.g. &lt;br /&gt;
&lt;br /&gt;
    AOLserver/servers/{yourserver}/modules/tcl/twapi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 2.  Modify TWAPI pkgIndex.tcl file '''&lt;br /&gt;
&lt;br /&gt;
Under this file find the line which says:&lt;br /&gt;
&lt;br /&gt;
    package ifneeded twapi $twapi::version [list source [file join $dir twapi.tcl]]&lt;br /&gt;
&lt;br /&gt;
and change it so that it looks like the following line:&lt;br /&gt;
&lt;br /&gt;
    package ifneeded twapi $twapi::version [list source [file join [ns_library private twapi] twapi.tcl]]&lt;br /&gt;
Save your changes to pkgIndex.tcl.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 3.  Configure AOLserver config file '''&lt;br /&gt;
&lt;br /&gt;
In AOLserver config file look for following lines:&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Modules to load&lt;br /&gt;
    #&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/modules&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Under modules section toward the end add the following line:&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Loading a Tcl module&lt;br /&gt;
    #&lt;br /&gt;
    ns_param twapi	tcl&lt;br /&gt;
&lt;br /&gt;
At this point configuration is complete and TWAPI will be loaded the next time server is started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Additional Step 4.  Testing '''&lt;br /&gt;
&lt;br /&gt;
In order to test if twapi package can be loaded successfully into AOLserver. Create an empty adp file named twapi.adp or your own choice under your server pages directory. And Copy the following contents into this file:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;%&lt;br /&gt;
    #&lt;br /&gt;
    # twapi.adp&lt;br /&gt;
    #&lt;br /&gt;
&lt;br /&gt;
    if { [catch {package require twapi} msg] } {&lt;br /&gt;
    &lt;br /&gt;
    	ns_adp_puts &amp;quot;ERROR loading TWAPI package. ERRMSG:$msg&amp;quot;&lt;br /&gt;
    } else {&lt;br /&gt;
    	ns_adp_puts &amp;quot;TWAPI $msg loaded successfully&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save this file and fire up you browser and point it your AOLserver/twapi.adp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category Documentation]] - [[Tutorials]]&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_add_TWAPI_extension_under_AOLserver&amp;diff=5052</id>
		<title>How to add TWAPI extension under AOLserver</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_add_TWAPI_extension_under_AOLserver&amp;diff=5052"/>
		<updated>2007-03-06T13:18:35Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'' '''Prerequisites:''' ''&lt;br /&gt;
* TWAPI Extension [http://twapi.sourceforge.net/] (Download the zip version e.g. twapi-x.x.x.zip, where x.x.s is the major.minor version numbers)&lt;br /&gt;
&lt;br /&gt;
'' '''Instructions:''' ''&lt;br /&gt;
&lt;br /&gt;
'''Step 1.  Download and unzip TWAPI '''&lt;br /&gt;
Extract the downloaded file into AOLserver/servers/{yourserver}/modules/tcl. Now you should have  directory named twapi under your server tcl modules directory e.g. &lt;br /&gt;
&lt;br /&gt;
    AOLserver/servers/{yourserver}/modules/tcl/twapi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 2.  Modify TWAPI pkgIndex.tcl file '''&lt;br /&gt;
&lt;br /&gt;
Under this file find the line which says:&lt;br /&gt;
&lt;br /&gt;
    package ifneeded twapi $twapi::version [list source [file join $dir twapi.tcl]]&lt;br /&gt;
&lt;br /&gt;
and change it so that it looks like the following line:&lt;br /&gt;
&lt;br /&gt;
    package ifneeded twapi $twapi::version [list source [file join [ns_library private twapi] twapi.tcl]]&lt;br /&gt;
Save your changes to pkgIndex.tcl.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 3.  Configure AOLserver config file '''&lt;br /&gt;
&lt;br /&gt;
In AOLserver config file look for following lines:&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Modules to load&lt;br /&gt;
    #&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/modules&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Under modules section toward the end add the following line:&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Loading a Tcl module&lt;br /&gt;
    #&lt;br /&gt;
    ns_param twapi	tcl&lt;br /&gt;
&lt;br /&gt;
At this point configuration is complete and TWAPI will be loaded the next time server is started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Additional Step 4.  Testing '''&lt;br /&gt;
&lt;br /&gt;
In order to test if twapi package can be loaded successfully into AOLserver. Create an empty adp file named twapi.adp or your own choice under your server pages directory. And Copy the following contents into this file:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;%&lt;br /&gt;
    #&lt;br /&gt;
    # twapi.adp&lt;br /&gt;
    #&lt;br /&gt;
&lt;br /&gt;
    if { [catch {package require twapi} msg] } {&lt;br /&gt;
    &lt;br /&gt;
    	ns_adp_puts &amp;quot;ERROR loading TWAPI package. ERRMSG:$msg&amp;quot;&lt;br /&gt;
    } else {&lt;br /&gt;
    	ns_adp_puts &amp;quot;TWAPI $msg loaded successfully&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save this file and fire up you browser and point it your AOLserver/twapi.adp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category Documentation]] - [[Tutorials]]&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_add_TWAPI_extension_under_AOLserver&amp;diff=5051</id>
		<title>How to add TWAPI extension under AOLserver</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_add_TWAPI_extension_under_AOLserver&amp;diff=5051"/>
		<updated>2007-03-06T13:15:54Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'' '''Prerequisites:''' ''&lt;br /&gt;
* TWAPI Extension [http://twapi.sourceforge.net/] (Download the zip version e.g. twapi-x.x.x.zip, where x.x.s is the major.minor version numbers)&lt;br /&gt;
&lt;br /&gt;
'' '''Instructions:''' ''&lt;br /&gt;
&lt;br /&gt;
'''Step 1.  Download and unzip TWAPI '''&lt;br /&gt;
Extract the downloaded file into AOLserver/servers/{yourserver}/modules/tcl. Now you should have  directory named twapi under your server tcl modules directory e.g. &lt;br /&gt;
&lt;br /&gt;
    AOLserver/servers/{yourserver}/modules/tcl/twapi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 2.  Modify TWAPI pkgIndex.tcl file '''&lt;br /&gt;
&lt;br /&gt;
Under this file find the line which says:&lt;br /&gt;
&lt;br /&gt;
    package ifneeded twapi $twapi::version [list source [file join $dir twapi.tcl]]&lt;br /&gt;
&lt;br /&gt;
and change it so that it looks like the following line:&lt;br /&gt;
&lt;br /&gt;
    package ifneeded twapi $twapi::version [list source [file join [ns_library private twapi] twapi.tcl]]&lt;br /&gt;
Save your changes to pkgIndex.tcl.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 3.  Configure AOLserver config file '''&lt;br /&gt;
&lt;br /&gt;
In AOLserver config file look for following lines:&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Modules to load&lt;br /&gt;
    #&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/modules&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Under modules section toward the end add the following line:&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Loading a Tcl module&lt;br /&gt;
    #&lt;br /&gt;
    ns_param twapi	tcl&lt;br /&gt;
&lt;br /&gt;
At this point configuration is complete and TWAPI will be loaded the next time server is started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Additional Step 4.  Testing '''&lt;br /&gt;
&lt;br /&gt;
In order to test if  twpai package can be loaded successfully into AOLserver create an empty adp file named twapi.adp or your own choice. Copy the following contents into this file:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;%&lt;br /&gt;
    #&lt;br /&gt;
    # twapi.adp&lt;br /&gt;
    #&lt;br /&gt;
&lt;br /&gt;
    if { [catch {package require twapi} msg] } {&lt;br /&gt;
    &lt;br /&gt;
    	ns_adp_puts &amp;quot;ERROR loading TWAPI package. ERRMSG:$msg&amp;quot;&lt;br /&gt;
    } else {&lt;br /&gt;
    	ns_adp_puts &amp;quot;TWAPI $msg loaded successfully&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now fire up you browser and point it your AOLserver/twapi.adp&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=Documentation&amp;diff=5050</id>
		<title>Documentation</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Documentation&amp;diff=5050"/>
		<updated>2007-03-06T12:47:28Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: /* HOWTOs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is an effort underway to update and prepare documentation for AOLserver 4.0.  This wiki will be the canonical source for documentation under revision, which will then get commited to CVS in the doc/ directory in roff format.  From there, HTML will be forward-generated from the roff and made available from http://aolserver.com/docs/.&lt;br /&gt;
&lt;br /&gt;
If there is documentation you feel is not complete, represented accurately, or is entirely omitted, please add it to the appropriate place and make a note of it on the [[Documentation Wishlist]] so that people know that someone wants it.&lt;br /&gt;
&lt;br /&gt;
== API documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[Tcl API]]&lt;br /&gt;
* [[C API]] - [http://aolserver.am.net/cvs/tcl C source for Tcl commands]&lt;br /&gt;
* [[Private C API]]&lt;br /&gt;
&lt;br /&gt;
== General documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[Modules]]&lt;br /&gt;
* [[Languages]]&lt;br /&gt;
* [[Toolkits]]&lt;br /&gt;
* [[Tutorials]]&lt;br /&gt;
* [[Administration]]&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
* [[AOLserver Tuning, Troubleshooting and Scaling]] by [[Kriston J. Rehberg]].&lt;br /&gt;
* [[Virtual Hosting]] in AOLserver.&lt;br /&gt;
* Using upvar: http://dqd.com/~mayoff/notes/tcl/upvar.html&lt;br /&gt;
* [http://www.fpx.de/fp/Software/tcl-c++/tcl-c++.html Making C++ Loadable Modules Work] in Tcl.&lt;br /&gt;
&lt;br /&gt;
== HOWTOs ==&lt;br /&gt;
&lt;br /&gt;
* [[How to set up PHP under AOLserver]]&lt;br /&gt;
* [[How to set up WiKit under AOLserver]]&lt;br /&gt;
* [http://www.rexx.com/~dkuhlman/aolserver_howto.html Beginner's How-to for AOLserver, PyWX, and PostgreSQL]&lt;br /&gt;
* [[How to build AOLserver on Win32]]&lt;br /&gt;
* [[How to set up Project Liberty (IPL) under AOLserver]]&lt;br /&gt;
* [http://www.manicai.net/comp/how/svn/ How to set up ViewCVS for Subversion under AOLserver]&lt;br /&gt;
* [[How to set up SQL-Ledger to serve from AOLserver]]&lt;br /&gt;
* [[How to generate self-signed SSL certificates]]&lt;br /&gt;
* [[How to configure single server to listen on multiple TCP ports]]&lt;br /&gt;
* [[How to add TWAPI extension under AOLserver]]&lt;br /&gt;
&lt;br /&gt;
== Community-supported documentation ==&lt;br /&gt;
&lt;br /&gt;
* Notes describing the differences between ArsDigita [[ad13 vs. 3.5.1]].&lt;br /&gt;
&lt;br /&gt;
* [http://philip.greenspun.com/tcl/ Tcl for Web Nerds] is a book by MIT professors Hal Abelson, Philip Greenspun, and Lydia Sandon which covers Tcl programming with the AOL Server&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_configure_single_server_to_listen_on_multiple_TCP_ports&amp;diff=5049</id>
		<title>How to configure single server to listen on multiple TCP ports</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_configure_single_server_to_listen_on_multiple_TCP_ports&amp;diff=5049"/>
		<updated>2007-03-06T11:36:48Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This question was asked at AOLSERVER@LISTSERV.AOL.COM mailing lists and was answered by Dossy.)&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
Single instance of AOLServer can be configured to listen on more than one TCP port simple by loading  the &amp;quot;nssock&amp;quot; module twice. Following example shows what modifications are necessary in aolserver config file.&lt;br /&gt;
&lt;br /&gt;
== Modify Socket driver module section ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Socket driver module (HTTP)  -- nssock&lt;br /&gt;
    #&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/module/'''nssock'''&amp;quot;&lt;br /&gt;
    ns_param   port            80&lt;br /&gt;
    ns_param   hostname        $hostname&lt;br /&gt;
    ns_param   address         $address&lt;br /&gt;
&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/module/'''nssock2'''&amp;quot;&lt;br /&gt;
    ns_param   port            81&lt;br /&gt;
    ns_param   hostname        $hostname&lt;br /&gt;
    ns_param   address         $address&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Modify Modules section ==&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Modules to load&lt;br /&gt;
    #&lt;br /&gt;
&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/modules&amp;quot;&lt;br /&gt;
    ns_param '''nssock''' ${bindir}/nssock.so&lt;br /&gt;
    ns_param '''nssock2''' ${bindir}/nssock.so&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Tutorial]]&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_configure_single_server_to_listen_on_multiple_TCP_ports&amp;diff=5048</id>
		<title>How to configure single server to listen on multiple TCP ports</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_configure_single_server_to_listen_on_multiple_TCP_ports&amp;diff=5048"/>
		<updated>2007-03-06T10:07:42Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This question was asked at AOLSERVER@LISTSERV.AOL.COM mailing lists and answered by Dossy.)&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
Single instance of AOLServer can be configured to listen on more than one TCP port simple by loading  the &amp;quot;nssock&amp;quot; module twice. Following example shows what modifications are necessary in aolserver config file.&lt;br /&gt;
&lt;br /&gt;
== Modify Socket driver module section ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Socket driver module (HTTP)  -- nssock&lt;br /&gt;
    #&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/module/'''nssock'''&amp;quot;&lt;br /&gt;
    ns_param   port            80&lt;br /&gt;
    ns_param   hostname        $hostname&lt;br /&gt;
    ns_param   address         $address&lt;br /&gt;
&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/module/'''nssock2'''&amp;quot;&lt;br /&gt;
    ns_param   port            81&lt;br /&gt;
    ns_param   hostname        $hostname&lt;br /&gt;
    ns_param   address         $address&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Modify Modules section ==&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Modules to load&lt;br /&gt;
    #&lt;br /&gt;
&lt;br /&gt;
    ns_section &amp;quot;ns/server/${servername}/modules&amp;quot;&lt;br /&gt;
    ns_param '''nssock''' ${bindir}/nssock.so&lt;br /&gt;
    ns_param '''nssock2''' ${bindir}/nssock.so&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Tutorial]]&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=Documentation&amp;diff=5047</id>
		<title>Documentation</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Documentation&amp;diff=5047"/>
		<updated>2007-03-06T09:50:19Z</updated>

		<summary type="html">&lt;p&gt;Jamshed: /* HOWTOs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is an effort underway to update and prepare documentation for AOLserver 4.0.  This wiki will be the canonical source for documentation under revision, which will then get commited to CVS in the doc/ directory in roff format.  From there, HTML will be forward-generated from the roff and made available from http://aolserver.com/docs/.&lt;br /&gt;
&lt;br /&gt;
If there is documentation you feel is not complete, represented accurately, or is entirely omitted, please add it to the appropriate place and make a note of it on the [[Documentation Wishlist]] so that people know that someone wants it.&lt;br /&gt;
&lt;br /&gt;
== API documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[Tcl API]]&lt;br /&gt;
* [[C API]] - [http://aolserver.am.net/cvs/tcl C source for Tcl commands]&lt;br /&gt;
* [[Private C API]]&lt;br /&gt;
&lt;br /&gt;
== General documentation ==&lt;br /&gt;
&lt;br /&gt;
* [[Modules]]&lt;br /&gt;
* [[Languages]]&lt;br /&gt;
* [[Toolkits]]&lt;br /&gt;
* [[Tutorials]]&lt;br /&gt;
* [[Administration]]&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
* [[AOLserver Tuning, Troubleshooting and Scaling]] by [[Kriston J. Rehberg]].&lt;br /&gt;
* [[Virtual Hosting]] in AOLserver.&lt;br /&gt;
* Using upvar: http://dqd.com/~mayoff/notes/tcl/upvar.html&lt;br /&gt;
* [http://www.fpx.de/fp/Software/tcl-c++/tcl-c++.html Making C++ Loadable Modules Work] in Tcl.&lt;br /&gt;
&lt;br /&gt;
== HOWTOs ==&lt;br /&gt;
&lt;br /&gt;
* [[How to set up PHP under AOLserver]]&lt;br /&gt;
* [[How to set up WiKit under AOLserver]]&lt;br /&gt;
* [http://www.rexx.com/~dkuhlman/aolserver_howto.html Beginner's How-to for AOLserver, PyWX, and PostgreSQL]&lt;br /&gt;
* [[How to build AOLserver on Win32]]&lt;br /&gt;
* [[How to set up Project Liberty (IPL) under AOLserver]]&lt;br /&gt;
* [http://www.manicai.net/comp/how/svn/ How to set up ViewCVS for Subversion under AOLserver]&lt;br /&gt;
* [[How to set up SQL-Ledger to serve from AOLserver]]&lt;br /&gt;
* [[How to generate self-signed SSL certificates]]&lt;br /&gt;
* [[How to configure single server to listen on multiple TCP ports]]&lt;br /&gt;
&lt;br /&gt;
== Community-supported documentation ==&lt;br /&gt;
&lt;br /&gt;
* Notes describing the differences between ArsDigita [[ad13 vs. 3.5.1]].&lt;br /&gt;
&lt;br /&gt;
* [http://philip.greenspun.com/tcl/ Tcl for Web Nerds] is a book by MIT professors Hal Abelson, Philip Greenspun, and Lydia Sandon which covers Tcl programming with the AOL Server&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Jamshed</name></author>
		
	</entry>
</feed>