W3C Lib

Notes About OSF/1

There are some problems with the W3C httpd running on an OSF/1 version 3.0 platform. I have got this information from Per Steinar Iversen <PerSteinar.Iversen@fi.uib.no> which will integrate the W3C httpd better into OSF/1 3.0:

The following little script eliminates this and integrates httpd better into OSF/1 V3.0:

#!/sbin/sh
#
# Start httpd.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
#
NNTPSERVER=<your.news.server>
export NNTPSERVER
#
unset ftp_proxy
unset gopher_proxy
unset http_proxy
unset news_proxy
unset wais_proxy
umask 022
#
case "$1" in
'start')
	echo "Starting HTTPD..." 
       	/usr/local/www/httpd -r /etc/httpd.conf 
        ;;
'stop')
	echo "Shutting down HTTPD..."
#	kill -9 `cat /usr/local/www/httpd-pid`
# Note: skill removes *all* httpd childen...
	/usr/local/bin/skill -9 httpd 
        ;;
*)
        echo "usage: $0 {start|stop}"
        ;;
esac
#
When the script is put into /sbin/init.d/httpd and have softlinks from /sbin/rc3.d/S97httpd and /sbin/rc3.d/K02httpd - then httpd starts/stops nicely integrated in the OSF/1 fashion, just like the DEC daemons does. "man rc3" for more info.

Note the setting/unsetting of critical variables. Also the setting of umask - httpd just uses whatever root had at start-time, annoying for log-files.


NOTE We have recently received the following information from Eric R Schott <schott@zk3.dec.com> about the script itself and where to put it:


Henrik Frystyk, libwww@w3.org, December 1995