Get the source code:
ftp://www.apache.org/apache/dist/ http://www.apache.org
Extract the source:
gunzip -dc apache_1.2b6.tar.gz | tar xvf -
Move to working directory:
cd apache_1.2b6
Read fine documentation:
more README
Move to source code directory:
cd src
Read more fine documentation:
more INSTALL
Copy configuration template:
cp Configuration.tmpl Configuration
Run configuration script:
./Configure
Build executable:
make
Create local configuration files:
cd ../conf for i in `ls *-dist` do cp $i `basename $i -dist` done vi httpd.conf srm.conf access.confAt a minimum you will have to edit the following:
ServerRoot /tmp/web
Alias /icons/ /tmp/web/icons/
ScriptAlias /cgi-bin/ /tmp/web/cgi-bin/
<Directory /tmp/web/cgi-bin>
Create Web Server directories:
mkdir -p /tmp/web/{bin,conf,logs,icons,cgi-bin}
Copy core files to directories:
cp *.conf mime.types /tmp/web/conf cp ../src/httpd /tmp/web/bin cp ../icons/* /tmp/web/icons
Launch Web Server
/tmp/web/bin/httpd -f /tmp/web/conf/httpd.conf
Last Modified: 17 February 1997
St. Louis Unix Users Group - Linux SIG