Index: openacs-4/packages/acs-core-docs/www/maintenance-web.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/maintenance-web.html,v diff -u -r1.1.2.3 -r1.1.2.4 --- openacs-4/packages/acs-core-docs/www/maintenance-web.html 7 Apr 2003 16:59:25 -0000 1.1.2.3 +++ openacs-4/packages/acs-core-docs/www/maintenance-web.html 19 Apr 2003 20:39:32 -0000 1.1.2.4 @@ -1,10 +1,10 @@ -Hosting Web Sites

Hosting Web Sites

+Hosting Web Sites

Hosting Web Sites

by Joel Aufrecht
OpenACS docs are written by the named authors, but may be edited by OpenACS documentation staff.

This section collection of maintenance - tasks and alternate configurations for AOLserver. This section has not yet been updated for 4.6.2

AOLserver keepalive with inittab

This is an alternative method for keeping the AOLserver + tasks and alternate configurations for AOLserver. This section has not yet been updated for 4.6.2

AOLserver keepalive with inittab

This is an alternative method for keeping the AOLserver process running. The recommended method is to run AOLserver supervised.

This step should be completed as root. This can break every service @@ -61,7 +61,7 @@ joeuser:~$ killall nsd nsd: no process killed

The number 23727 indicates the process id(s) (PIDs) of the - processes being killed. It is important that no processes are killed by the second + processes being killed. It is important that no processes are killed by the second call to killall. If there are processes being killed, it means that the script is not working.

  • @@ -77,7 +77,7 @@ nss1 is unique.

     nss1:345:respawn:/usr/local/aolserver/bin/nsd-postgres -i -u nobody -g web -t /home/joeuser/web/birdnotes/nsd.tcl
  • - Important: Make sure there is a + Important: Make sure there is a newline at the end of the file. If there is not a newline at the end of the file, the system may suffer catastrophic failures. @@ -94,7 +94,7 @@ Killing 23750

  • If processes were killed, congratulations, your server is now automated for startup and shutdown. -

    Running AOLserver on Port 80

    If you want your webserver to be http://yourserver.com, it must run on port 80, the default HTTP port. You set this in the config.tcl file. You will need to start the service as +

    Running AOLserver on Port 80

    If you want your webserver to be http://yourserver.com, it must run on port 80, the default HTTP port. You set this in the config.tcl file. You will need to start the service as root. If you follow the instructions above for automating startup, this will be taken care of, but if you ever start the @@ -109,21 +109,21 @@ root. This mean that if someone was able to exploit your web server to execute a command on your server, they would not be able to gain root - access.

    Running multiple services on one machine

    Services on different ports.�To run a different service on another port but the same + access.

    Running multiple services on one machine

    Services on different ports.�To run a different service on another port but the same ip, simply repeat Install OpenACS 4.6.2 replacing service0, and change the -

    set httpport              8000
    -set httpsport             8443 
    +

    set httpport              8000
    +set httpsport             8443 

    to different values.

    Services on different host names.�For example, suppose you want to support http://foo.com and http://bar.com on the same machine. The easiest way is to assign each one a different ip address. Then you can install two services as above, but with different values for -

    set hostname               [ns_info hostname]
    -set address                127.0.0.1 
    +

    set hostname               [ns_info hostname]
    +set address                127.0.0.1 

    If you want to install two services with different host names sharing the same ip, you'll need nsvhr to redirect requests based on the contents of the tcp headers. See AOLserver Virtual Hosting with TCP by markd. -

    ($Id$)
    View comments on this page at openacs.org
    +

    ($Id$)
    View comments on this page at openacs.org