Thanks to all those that recommended the pre-compiled files available in NCSA.
Here are the initial steps to take.
# cd /usr/local
# mkdir httpd
# cd httpd
copy here the files
ftp.ncsa.uiuc.edu/Web/httpd/Unix/ncsa_httpd/httpd_1.3/httpd_decaxp.tar.Z
ftp.ncsa.uiuc.edu/Web/httpd/Unix/ncsa_httpd/httpd_1.3/httpd_docs.tar.Z
# uncompress httpd_decaxp.tar.Z
# tar -xvf httpd_decaxp.tar
# uncompress httpd_docs.tar.Z
# tar -xvf httpd_docs.tar
# cd postscript-docs
# dir
total 279
drwxr-xr-x 2 6767 auth 512 Sep 19 1994 .
drwxr-xr-x 8 11113 auth 512 Sep 16 1994 ..
-rw-r--r-- 1 6767 auth 1075 Sep 7 1994 Overview.html
-rw-r--r-- 1 6767 auth 5293 Sep 5 1994 access_conf.ps
-rw-r--r-- 1 6767 auth 125333 Sep 16 1994 install.ps
-rw-r--r-- 1 6767 auth 12669 Sep 16 1994 serverintro.ps
-rw-r--r-- 1 6767 auth 52056 Sep 16 1994 tutorial.ps
-rw-r--r-- 1 6767 auth 24715 Sep 3 1994 upgrades.ps
-rw-r--r-- 1 6767 auth 18364 Sep 16 1994 usage.ps
-rw-r--r-- 1 6767 auth 26255 Sep 3 1994 version_history.ps
Print the documentation (!)
I decidec to leave the final software in /usr/local/bin/httpd/*
# mkdir httpd
# cd httpd
# mkdir conf
# cp /usr/local/httpd/httpd_1.3/httpd .
# cd conf
# cp /usr/local/httpd/httpd_1.3/conf/httpd.conf-dist httpd.conf
# cat httpd.conf
-------------------------------------------------------------------------------
# This is the main server configuration file. It is best to
# leave the directives in this file in the order they are in, or
# things may not go the way you'd like. See URL
http://hoohoo.ncsa.uiuc.edu/
# for instructions.
# Do NOT simply read the instructions in here without understanding
# what they do, if you are unsure consult the online docs. You have been
# warned.
# Rob McCool (comments, questions to httpd_at_ncsa.uiuc.edu)
# ServerType is either inetd, or standalone.
ServerType standalone
# If you are running from inetd, go to "ServerAdmin".
# Port: The port the standalone listens to. For ports < 1023, you will
# need httpd to be run as root initially.
Port 80
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
# User/Group: The name (or #number) of the user/group to run httpd as.
User nobody
Group #-1
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.
ServerAdmin you_at_your.address
# ServerRoot: The directory the server's config, error, and log files
# are kept in
ServerRoot /usr/local/etc/httpd
# ErrorLog: The location of the error log file. If this does not start
# with /, ServerRoot is prepended to it.
ErrorLog logs/error_log
# TransferLog: The location of the transfer log file. If this does not
# start with /, ServerRoot is prepended to it.
TransferLog logs/access_log
# PidFile: The file the server should log its pid to
PidFile logs/httpd.pid
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e. use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
#ServerName new.host.name
-------------------------------------------------------------------------------
# cd ..
# mkdir logs # this is the /usr/local/bin/httpd/log directory
We edit the file "httpd.conf"
# cat conf/httpd.conf
-------------------------------------------------------------------------------
# This is the main server configuration file. It is best to
# leave the directives in this file in the order they are in, or
# things may not go the way you'd like. See URL
http://hoohoo.ncsa.uiuc.edu/
# for instructions.
# Do NOT simply read the instructions in here without understanding
# what they do, if you are unsure consult the online docs. You have been
# warned.
# Rob McCool (comments, questions to httpd_at_ncsa.uiuc.edu)
# ServerType is either inetd, or standalone.
ServerType standalone
# If you are running from inetd, go to "ServerAdmin".
# Port: The port the standalone listens to. For ports < 1023, you will
# need httpd to be run as root initially.
Port 80
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
# User/Group: The name (or #number) of the user/group to run httpd as.
### User nobody ###
### Group #-1 ###
User nobody
Group WWW
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.
### ServerAdmin you_at_your.address ###
ServerAdmin gomide_at_fapesp.br
# ServerRoot: The directory the server's config, error, and log files
# are kept in
### ServerRoot /usr/local/etc/httpd ###
ServerRoot /usr/local/bin/httpd
# ErrorLog: The location of the error log file. If this does not start
# with /, ServerRoot is prepended to it.
ErrorLog logs/error_log
# TransferLog: The location of the transfer log file. If this does not
# start with /, ServerRoot is prepended to it.
TransferLog logs/access_log
# PidFile: The file the server should log its pid to
PidFile logs/httpd.pid
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e. use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
#ServerName new.host.name
ServerName www.fapesp.br
-------------------------------------------------------------------------------
# cp /usr/local/httpd/httpd_1.3/conf/srm.conf-dist conf
# dir conf
total 8
drwxr-xr-x 2 root system 512 Mar 22 17:18 .
drwxr-xr-x 4 root system 512 Mar 22 17:13 ..
-rw-r--r-- 1 root system 2034 Mar 22 17:16 httpd.conf
-rw-r--r-- 1 root system 3367 Mar 22 17:18 srm.conf-dist
# cd conf
# cat srm.conf
-------------------------------------------------------------------------------
# With this document, you define the name space that users see of your http
# server.
# See the tutorials at
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/ for# more information.
# Rob (robm_at_ncsa.uiuc.edu)
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot /usr/local/etc/httpd/htdocs
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.
UserDir public_html
# DirectoryIndex: Name of the file to use as a pre-written HTML
# directory index
DirectoryIndex index.html
# FancyIndexing is whether you want fancy directory indexing or standard
FancyIndexing on
# AddIcon tells the server which icon to show for different files or filename
# extensions
AddIconByType (TXT,/icons/text.xbm) text/*
AddIconByType (IMG,/icons/image.xbm) image/*
AddIconByType (SND,/icons/sound.xbm) audio/*
AddIcon /icons/movie.xbm .mpg .qt
AddIcon /icons/binary.xbm .bin
AddIcon /icons/back.xbm ..
AddIcon /icons/menu.xbm ^^DIRECTORY^^
AddIcon /icons/blank.xbm ^^BLANKICON^^
# DefaultIcon is which icon to show for files which do not have an icon
# explicitly set.
DefaultIcon /icons/unknown.xbm
# AddDescription allows you to place a short description after a file in
# server-generated indexes.
# Format: AddDescription "description" filename
# ReadmeName is the name of the README file the server will look for by
# default. Format: ReadmeName name
#
# The server will first look for name.html, include it if found, and it will
# then look for name and include it as plaintext if found.
#
# HeaderName is the name of a file which should be prepended to
# directory indexes.
ReadmeName README
HeaderName HEADER
# IndexIgnore is a set of filenames which directory indexing should ignore
# Format: IndexIgnore name1 name2...
IndexIgnore */.??* *~ *# */HEADER* */README*
# AccessFileName: The name of the file to look for in each directory
# for access control information.
AccessFileName .htaccess
# DefaultType is the default MIME type for documents which the server
# cannot find the type of from filename extensions.
DefaultType text/plain
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
# Format: AddType type/subtype ext1
# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
# information on the fly. Note: Not all browsers support this.
#AddEncoding x-compress Z
#AddEncoding x-gzip gz
# Redirect allows you to tell clients about documents which used to exist in
# your server's namespace, but do not anymore. This allows you to tell the
# clients where to look for the relocated document.
# Format: Redirect fakename url
# Aliases: Add here as many aliases as you need, up to 20. The format is
# Alias fakename realname
Alias /icons/ /usr/local/etc/httpd/icons/
# ScriptAlias: This controls which directories contain server scripts.
# Format: ScriptAlias fakename realname
ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#AddType text/x-server-parsed-html .shtml
#AddType application/x-httpd-cgi .cgi
-------------------------------------------------------------------------------
Edit srm.conf
# cat srm.conf
-------------------------------------------------------------------------------
# With this document, you define the name space that users see of your http
# server.
# See the tutorials at
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/ for
# more information.
# Rob (robm_at_ncsa.uiuc.edu)
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
### DocumentRoot /usr/local/etc/httpd/htdocs ###
DocumentRoot /dka100/home/WWW-data
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.
UserDir public_html
# DirectoryIndex: Name of the file to use as a pre-written HTML
# directory index
DirectoryIndex index.html
# FancyIndexing is whether you want fancy directory indexing or standard
FancyIndexing on
# AddIcon tells the server which icon to show for different files or filename
# extensions
AddIconByType (TXT,/icons/text.xbm) text/*
AddIconByType (IMG,/icons/image.xbm) image/*
AddIconByType (SND,/icons/sound.xbm) audio/*
AddIcon /icons/movie.xbm .mpg .qt
AddIcon /icons/binary.xbm .bin
AddIcon /icons/back.xbm ..AddIcon /icons/menu.xbm ^^DIRECTORY^^
AddIcon /icons/blank.xbm ^^BLANKICON^^
# DefaultIcon is which icon to show for files which do not have an icon
# explicitly set.
DefaultIcon /icons/unknown.xbm
# AddDescription allows you to place a short description after a file in
# server-generated indexes.
# Format: AddDescription "description" filename
# ReadmeName is the name of the README file the server will look for by
# default. Format: ReadmeName name
#
# The server will first look for name.html, include it if found, and it will
# then look for name and include it as plaintext if found.
#
# HeaderName is the name of a file which should be prepended to
# directory indexes.
ReadmeName README
HeaderName HEADER
# IndexIgnore is a set of filenames which directory indexing should ignore
# Format: IndexIgnore name1 name2...
IndexIgnore */.??* *~ *# */HEADER* */README*
# AccessFileName: The name of the file to look for in each directory
# for access control information.
AccessFileName .htaccess
# DefaultType is the default MIME type for documents which the server
# cannot find the type of from filename extensions.
DefaultType text/plain
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
# Format: AddType type/subtype ext1
# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
# information on the fly. Note: Not all browsers support this.
#AddEncoding x-compress Z
#AddEncoding x-gzip gz
# Redirect allows you to tell clients about documents which used to exist in
# your server's namespace, but do not anymore. This allows you to tell the
# clients where to look for the relocated document.# Format: Redirect fakename url
# Aliases: Add here as many aliases as you need, up to 20. The format is
# Alias fakename realname
### Alias /icons/ /usr/local/etc/httpd/icons/ ###
Alias /icons/ /usr/local/bin/httpd/incons/
# ScriptAlias: This controls which directories contain server scripts.
# Format: ScriptAlias fakename realname
### ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/ ###
ScriptAlias /cgi-bin/ /usr/local/bin/httpd/cgi-bin/
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#AddType text/x-server-parsed-html .shtml
#AddType application/x-httpd-cgi .cgi
-------------------------------------------------------------------------------
# cd ..
Create the directory for icons:
# mkdir icons
# cp /usr/local/httpd/httpd_1.3/icons/* icons
Now, AcessConfiguration
# cp /usr/local/httpd/httpd_1.3/conf/access.conf-dist conf/access.conf
# cat conf /access.conf
-------------------------------------------------------------------------------
# access.conf: Global access configuration
# Online docs at
http://hoohoo.ncsa.uiuc.edu/
# I suggest you consult them; this is important and confusing stuff.
# /usr/local/etc/httpd/ should be changed to whatever you set ServerRoot to.
<Directory /usr/local/etc/httpd/cgi-bin>
Options Indexes FollowSymLinks
</Directory>
# This should be changed to whatever you set DocumentRoot to.
<Directory /usr/local/etc/httpd/htdocs>
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", or "FollowSymLinks"
Options Indexes FollowSymLinks
# This controls which options the .htaccess files in directories can
# override. Can also be "None", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
AllowOverride All
# Controls who can get stuff from this server.
<Limit GET>
order allow,deny
allow from all
</Limit>
</Directory>
# You may place any other directories you wish to have access
# information for after this one.
-------------------------------------------------------------------------------
Edit it:
# cat conf/access.conf
-------------------------------------------------------------------------------
# access.conf: Global access configuration
# Online docs at
http://hoohoo.ncsa.uiuc.edu/
# I suggest you consult them; this is important and confusing stuff.
# /usr/local/etc/httpd/ should be changed to whatever you set ServerRoot to.
### <Directory /usr/local/etc/httpd/cgi-bin> ###
<Directory /usr/local/bin/httpd/cgi-bin>
Options Indexes FollowSymLinks
</Directory>
# This should be changed to whatever you set DocumentRoot to.
### <Directory /usr/local/etc/httpd/htdocs> ###
<Directory /dka100/home/WWW-data>
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", or "FollowSymLinks"
Options Indexes FollowSymLinks
# This controls which options the .htaccess files in directories can
# override. Can also be "None", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
AllowOverride All
# Controls who can get stuff from this server.
<Limit GET>
order allow,deny
allow from all
</Limit>
</Directory>
# You may place any other directories you wish to have access
# information for after this one.
-------------------------------------------------------------------------------
Directory cgi-bin:
# mkdir cgi-bin
# cp /usr/local/httpd/httpd_1.3/cgi-bin/* cgi-bin
Include this command in your system startup routines:
-------------------------------------------------------------------------------
# cat /usr/local/systartup/systartup_mixit_110.com
-------------------------------------------------------------------------------
#!/bin/sh
echo " "
echo " --- startup do httpd"
echo " "
if [ -f /usr/local/bin/httpd/httpd ]; then
/usr/local/bin/httpd/httpd -d /dka100/home/WWW-data
fi
exit
-------------------------------------------------------------------------------
Create the group WWW
#addgroup
Enter a new group number [100004]: 86
Group WWW was added to the /etc/group file.
Create one home-page:
/dka100/home/WWW-data/index.html
# cat index.html
-------------------------------------------------------------------------------
<TITLE>FAPESP PAgina inicial (Home Page)</TITLE>
<H1>
Fundacao de Amparo a Pesquisa do Estado de Sao Paulo
</H1>
<HR>
A Fundacao de Amparo a Pesquisa e' um orgao da Secretaria de
Ciencia, Tecnologia e Desenvolvimento Economico do Estado de Sao Paulo,
dedicada a suportar e fomentar a pesquisa academica no Estado.<P>
<P>
<HR>
<UL>
<LI> <A HREF="parlatino/Overview.html">PARLATINO</A> <P>
Imagens do Parlamento Latino-Americano <P>
</UL>
Any questions should go to
<CODE>gomide_at_fapesp.br</CODE>. <P>
<HR>
-------------------------------------------------------------------------------
Then start the server. That should be it.
Received on Tue Apr 04 1995 - 16:09:32 NZST