Setting up HTTP Server

Important files for the http server :

/var/scohttp/conf/scohttpd.conf	-	Server resource file

/var/scohttp/conf/srm.conf	-	Document/Script resource file

/var/scohttp/conf/access.conf	-	Access resources file

The scohttp command will start/stop/query the http daemon process. For example to query the daemon process, type "scohttp query", to stop it type "scohttp stop" and to start it type "scohttp start".

We should create a directory named web located under the root directory while logged in as root, to store any web related information, such as our pages and graphics. This will not be writeable by user guest. This directory will also become our "document root" for our web server httpd daemon process.

As the sco is shipped, it comes with the http deamon already running as a standalone process. There are a few things that need to be done however to get it to work correctly. They follow :

first stop the daemon by typing "scohttp stop"

edit "scohttpd.conf" in /var/scohttp/conf to change the port from 457 (for sco help) to 80 (industry standard).

while still in "scohttpd.conf", change the ServerAdmin to PaulALuz@ix.netcom.com.

edit "access.conf" in /var/scohttp/conf to change the document root section to show that our directory is /web. This must also be done in the "srm.conf" file within the same directory.

Finally, restart the daemon by typing "scohttp start"